:root {
    --bg-dark: #070814;
    --bg-card: rgba(18, 19, 42, 0.75);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(139, 92, 246, 0.45);
    --primary: #8b5cf6;
    --primary-gradient: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    --accent: #38bdf8;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.1) 0%, transparent 45%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

header.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 8, 20, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-logo .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 1.25rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

nav.main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

nav.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
}

nav.main-nav a:hover, nav.main-nav a.active {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
    padding: 5.5rem 0 4rem;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c084fc;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

.hero-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Portfolio Highlights */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.25rem;
    margin-bottom: 5rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-focus);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.product-badge {
    align-self: flex-start;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    background: rgba(139, 92, 246, 0.15);
    color: #c084fc;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
    color: #fff;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-meta {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Policy Content */
.policy-page {
    padding: 4rem 0 6rem;
}

.policy-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
}

.policy-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.policy-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.policy-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 3rem;
    line-height: 1.8;
}

.policy-content h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary);
    padding-left: 0.75rem;
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.policy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.callout-box {
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 2rem 0;
}

.callout-box h3 {
    font-size: 1.15rem;
    color: #c084fc;
    margin-bottom: 0.5rem;
}

/* Footer */
footer.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 3.5rem 0 2.5rem;
    margin-top: 4rem;
    background: rgba(5, 6, 15, 0.95);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-info {
    max-width: 420px;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.footer-links-group h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 0.5rem;
}

.footer-links-group a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ====================================================================
   ENTERPRISE RESPONSIVE HEADER & MOBILE NAVIGATION
   ==================================================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
    z-index: 110;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* High contrast Contact Button in Header */
.btn-header {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

/* Google Partner Badge */
.footer-badge-group {
    display: flex;
    flex-direction: column;
}

.google-partner-link {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.google-partner-link:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.25));
}

.google-partner-badge-img {
    height: 52px;
    width: auto;
    display: block;
    border-radius: 4px;
}

@media (max-width: 860px) {
    .nav-wrapper {
        height: 70px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    nav.main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 24, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.5rem;
        gap: 0.5rem;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.25s ease,
                    visibility 0.25s ease;
        z-index: 99;
    }

    nav.main-nav.is-open {
        max-height: 420px;
        opacity: 1;
        visibility: visible;
    }

    nav.main-nav a {
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
        font-size: 0.95rem;
    }

    nav.main-nav a:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    nav.main-nav .btn-header {
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    .policy-content {
        padding: 1.5rem;
    }
    
    .footer-top {
        flex-direction: column;
    }
}


.btn-primary, .btn-header {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
