/* ============================================================
   AR Developers — Premium Theme
   Palette: navy #0a0e27, royal blue #2563eb, purple #7c3aed
   ============================================================ */

:root {
    --navy-950: #05081a;
    --navy-900: #0a0e27;
    --navy-800: #0f1535;
    --navy-700: #161d47;
    --navy-600: #1e2757;
    --royal: #2563eb;
    --royal-light: #3b82f6;
    --purple: #7c3aed;
    --purple-light: #a78bfa;
    --cyan: #06b6d4;
    --text: #e5e9f5;
    --text-muted: #9aa3bd;
    --text-dim: #6b7392;
    --border: rgba(148, 163, 184, 0.12);
    --glass-bg: rgba(15, 21, 53, 0.55);
    --glass-bg-strong: rgba(15, 21, 53, 0.85);
    --gradient-brand: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-brand-soft: linear-gradient(135deg, rgba(37, 99, 235, .15), rgba(124, 58, 237, .15));
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .25);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, .35);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, .35);
    --radius: 14px;
    --radius-lg: 20px;
    --transition: 0.28s cubic-bezier(.4, 0, .2, 1);
}


/* Light theme (data-theme="light") */

[data-theme="light"] {
    --navy-950: #f8fafc;
    --navy-900: #ffffff;
    --navy-800: #f1f5f9;
    --navy-700: #e2e8f0;
    --navy-600: #cbd5e1;
    --text: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    --border: rgba(15, 23, 42, 0.10);
    --glass-bg: rgba(255, 255, 255, .7);
    --glass-bg-strong: rgba(255, 255, 255, .95);
}


/* ---------- Base ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--navy-900);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
    color: var(--text-muted);
}

a {
    color: var(--royal-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--purple-light);
}

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

.container {
    max-width: 1240px;
}


/* ---------- Gradient text ---------- */

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ---------- Buttons ---------- */

.btn {
    font-weight: 600;
    border-radius: 10px;
    padding: 0.7rem 1.6rem;
    transition: all var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 4px 18px rgba(37, 99, 235, .35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(124, 58, 237, .5);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text);
}

.btn-outline-light:hover {
    border-color: var(--royal);
    background: rgba(37, 99, 235, .08);
    color: var(--text);
}


/* ---------- Navbar ---------- */

.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}

.site-navbar.scrolled {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--border);
    padding: 0.65rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text) !important;
    letter-spacing: -0.02em;
}

.navbar-brand .brand-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(124, 58, 237, .4);
}

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0.15rem;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

.navbar-toggler {
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.4rem 0.7rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}


/* Theme toggle */

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    transition: all var(--transition);
    cursor: pointer;
}

.theme-toggle:hover {
    color: var(--text);
    border-color: var(--royal);
}


/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 12rem 0 7rem;
    /* Increased top padding for navbar */
    overflow: hidden;
    background: var(--navy-900);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 20% 20%, rgba(37, 99, 235, .22), transparent 70%), radial-gradient(ellipse 50% 50% at 85% 30%, rgba(124, 58, 237, .22), transparent 70%), radial-gradient(ellipse 40% 40% at 50% 100%, rgba(6, 182, 212, .12), transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-text-col {
    z-index: 2;
}

.hero-image-col {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    width: 100%;
    height: 420px;
    /* Perfect height for laptops */
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--glass-bg);
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image never stretches */
    animation: zoomEffect 12s infinite alternate;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    background: var(--navy-800);
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    background: var(--glass-bg);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
    margin-bottom: 1.75rem;
}

.hero-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease-out both;
}

.hero p.lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 2.25rem;
    animation: fadeUp 0.8s ease-out 0.1s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    animation: fadeUp 0.8s ease-out 0.3s both;
}

.hero-stat h3 {
    font-size: 2.5rem;
    margin: 0;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------- Section ---------- */

.section {
    padding: 6rem 0;
    position: relative;
}

.section-alt {
    background: var(--navy-800);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-head h2 {
    margin-bottom: 1rem;
}

.section-head p {
    font-size: 1.05rem;
}


/* ---------- Cards ---------- */

.card-premium {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    height: 100%;
    transition: all var(--transition);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-brand-soft);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.card-premium:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, .4);
    box-shadow: var(--shadow-glow);
}

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

.card-premium>* {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 20px rgba(124, 58, 237, .4);
}

.card-premium h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.card-premium p {
    font-size: 0.95rem;
    margin-bottom: 0;
}


/* ---------- Footer ---------- */

.site-footer {
    background: var(--navy-950);
    border-top: 1px solid var(--border);
    padding: 4rem 0 1.5rem;
    color: var(--text-muted);
}

.site-footer h5 {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 0.6rem;
}

.site-footer a {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.site-footer a:hover {
    color: var(--royal-light);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--text-dim);
    text-align: center;
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1rem;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}


/* ---------- Back to top ---------- */

.back-to-top {
    position: fixed;
    bottom: 1.75rem;
    left: 1.75rem;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(10px);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
}


/* ---------- WhatsApp float ---------- */

.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
    z-index: 999;
    transition: transform var(--transition);
    animation: waPulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

@keyframes waPulse {
    0%,
    100% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
    }
    50% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, .8), 0 0 0 12px rgba(37, 211, 102, .1);
    }
}


/* ---------- Utility ---------- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(.2, .8, .2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ---------- Responsive ---------- */

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--glass-bg-strong);
        backdrop-filter: blur(14px);
        border-radius: 14px;
        padding: 1rem;
        margin-top: 0.75rem;
        border: 1px solid var(--border);
    }
    .hero {
        padding: 8rem 0 5rem;
        text-align: center;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-image-wrapper {
        height: 300px;
        /* Shorter on mobile */
        margin-top: 2rem;
    }
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
    }
    .hero-cta .btn {
        width: 100%;
    }
    .back-to-top {
        bottom: 1rem;
        left: 1rem;
        width: 42px;
        height: 42px;
    }
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}


/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}