
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #050816;
    --bg-alt: #0b1020;
    --accent: #3b82f6;
    --accent-soft: rgba(59, 130, 246, 0.1);
    --accent-strong: #2563eb;
    --text: #f9fafb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.3);
    --danger: #ef4444;
    --success: #22c55e;
    --radius-lg: 18px;
    --radius-full: 999px;
    --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.75);
    --shadow-subtle: 0 10px 35px rgba(15, 23, 42, 0.6);
    --nav-height: 72px;
    --transition-fast: 0.2s ease-out;
    --transition-med: 0.3s ease-out;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
    background: radial-gradient(circle at top, #020617 0, #020617 45%, #000 100%);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.section {
    padding: 80px 20px;
    max-width: 1120px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 42px;
}

.section-header h2 {
    font-size: 2.1rem;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* Navbar */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.7));
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.navbar {
    max-width: 1120px;
    margin: 0 auto;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -0.04em;
    font-size: 1.4rem;
}

.site-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.logo-text span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 999px;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    transform: translateY(-1px);
}

.cta-nav {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #0b1120;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
}

.cta-nav:hover {
    background: linear-gradient(135deg, var(--accent-strong), #1d4ed8);
}

.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.4rem;
}

/* Hero */

.hero {
    padding-top: 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.hero-content {
    max-width: 640px;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(2,6,23,0.6);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 3rem);
    letter-spacing: -0.05em;
    margin-bottom: 16px;
}

.hero p {
    color: var(--text-muted);
    max-width: 520px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 26px 0 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: var(--radius-full);
    font-size: 0.98rem;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #0b1120;
    font-weight: 600;
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.6);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 60px rgba(37, 99, 235, 0.7);
}

.secondary-btn {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.secondary-btn:hover {
    background: rgba(15, 23, 42, 1);
    transform: translateY(-1px);
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 520px;
    margin-bottom: 24px;
}

.trust-item {
    padding: 14px 16px;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), rgba(15, 23, 42, 0.95));
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.trust-item h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.trust-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-logos span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.logo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.client-logo {
    padding: 8px 14px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), rgba(15, 23, 42, 0.96));
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-subtle);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.2), transparent 55%);
    opacity: 0;
    transition: opacity var(--transition-med);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.service-highlights {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.service-highlights li::before {
    content: "• ";
    color: var(--accent);
}

.text-link {
    font-size: 0.9rem;
    color: var(--accent);
}

/* About */

.about-text {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98));
    border-radius: 22px;
    padding: 26px 22px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 16px 0 18px;
}

.stat {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.stat h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.stat p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.about-values h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.about-values ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-values li + li {
    margin-top: 6px;
}

/* Testimonials */

.testimonial-slider {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.testimonial-track {
    overflow: hidden;
    position: relative;
}

.testimonial {
    min-height: 180px;
    padding: 22px 24px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: var(--shadow-soft);
    display: none;
}

.testimonial.active {
    display: block;
}

.testimonial p {
    color: var(--text-muted);
    margin-bottom: 14px;
}

.testimonial-meta h3 {
    font-size: 1rem;
}

.testimonial-meta p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stars {
    font-size: 0.9rem;
    color: #facc15;
    margin-top: 6px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.95);
    color: var(--text-muted);
    cursor: pointer;
}

.slider-btn.prev {
    left: -14px;
}

.slider-btn.next {
    right: -14px;
}

/* FAQ */

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item + .faq-item {
    margin-top: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.96);
    color: var(--text);
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-med);
}

.faq-answer p {
    padding: 10px 14px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

/* Blog */

.blog-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.blog-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 18px;
    padding: 16px 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-subtle);
    border-color: rgba(59, 130, 246, 0.7);
}

.blog-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.blog-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.blog-tag {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
}

/* Blog Modal */

.blog-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
}

.blog-modal.open {
    display: flex;
}

.blog-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    z-index: 40;
}

.blog-modal-content {
    position: relative;
    max-width: 780px;
    max-height: 80vh;
    width: 100%;
    margin: 0 18px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: var(--shadow-soft);
    padding: 22px 22px 24px;
    overflow: hidden;
    z-index: 50;
}

.blog-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(2, 6, 23, 0.95);
    color: var(--text-muted);
    cursor: pointer;
}

#blogDetail {
    max-height: calc(80vh - 50px);
    overflow-y: auto;
    padding-right: 8px;
}

#blogDetail h2 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

#blogDetail .blog-meta {
    margin-bottom: 14px;
}

#blogDetail p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

#blogDetail h3 {
    font-size: 1.05rem;
    margin: 14px 0 6px;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    gap: 22px;
}

.contact-form {
    background: rgba(15, 23, 42, 0.98);
    border-radius: 20px;
    padding: 20px 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 12px;
}

label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

input,
select,
textarea {
    width: 100%;
    padding: 9px 10px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.96);
    color: var(--text);
    font-size: 0.9rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: 1px solid rgba(59, 130, 246, 0.8);
}

textarea {
    resize: vertical;
}

.full-width {
    width: 100%;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.contact-info {
    padding: 16px 2px;
}

.contact-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.contact-details {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-details li + li {
    margin-top: 4px;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */

.footer {
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    padding: 28px 20px 18px;
    margin-top: 40px;
}

.footer-grid {
    max-width: 1120px;
    margin: 0 auto 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.9fr)) minmax(0, 0.8fr);
    gap: 18px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.footer-links ul {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links li + li {
    margin-top: 4px;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.footer-bottom {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */

@media (max-width: 900px) {
    .services-grid,
    .blog-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid {
        grid-template-columns: 1fr 320px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: var(--nav-height);
        right: 14px;
        background: rgba(2, 6, 23, 0.98);
        border-radius: 16px;
        border: 1px solid rgba(148, 163, 184, 0.5);
        padding: 8px 8px 10px;
        flex-direction: column;
        min-width: 170px;
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .hero-trust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .services-grid,
    .blog-list {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-visual { order: 2; }
    .hero-content { order: 1; }

    .about-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .slider-btn.prev {
        left: 4px;
    }

    .slider-btn.next {
        right: 4px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-trust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
