/* =================================================================
   VIFYO — World-Class One-Page Landing (Linear/Vercel/Raycast Level)
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --bg:        #06080f;
    --surface:   rgba(255,255,255,0.05);
    --surface2:  rgba(255,255,255,0.08);
    --accent:    #6366f1;
    --accent2:   #a855f7;
    --text:      #f1f5f9;
    --muted:     #64748b;
    --subtle:    #94a3b8;
    --border:    rgba(255,255,255,0.1);
    --radius:    14px;
    --radius-lg: 20px;
    --ease:      cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Background photo */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('/img/vifyo.com-template-dark.png') center/cover no-repeat;
    z-index: -2;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, rgba(3,4,14,.68) 0%, rgba(3,4,14,.58) 50%, rgba(13,11,30,.72) 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* =================================================================
   NAVIGATION
   ================================================================= */

.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 2rem;
    height: 68px;
    display: flex;
    align-items: center;
    background: rgba(6,8,15,.55);
    backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo img {
    height: 36px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 12px rgba(99,102,241,.4));
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-demo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s var(--ease);
}

.nav-demo:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.4);
    color: #c7d2fe;
    transform: translateY(-1px);
}

.nav-demo svg {
    flex-shrink: 0;
}

.nav-links a {
    color: var(--subtle);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    padding: .4rem .9rem;
    border-radius: 8px;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }

.nav-cta {
    text-decoration: none;
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(99,102,241,.15);
    border: 1px solid rgba(99,102,241,.3);
    padding: .45rem 1.1rem;
    border-radius: 8px;
    transition: all .2s var(--ease);
    white-space: nowrap;
}
.nav-cta:hover { background: rgba(99,102,241,.28); border-color: var(--accent); }

/* =================================================================
   HERO — Centered, full-viewport
   ================================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6366F1, transparent);
    top: -10%;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #A855F7, transparent);
    bottom: 10%;
    left: 5%;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #EC4899, transparent);
    top: 40%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    text-align: left;
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(99,102,241,.18) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 20px rgba(99,102,241,.5));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.25);
    padding: .35rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-gradient {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--subtle);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-glow {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.6), 0 8px 24px rgba(99, 102, 241, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.6), 0 8px 24px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 60px rgba(99, 102, 241, 0.8), 0 12px 32px rgba(99, 102, 241, 0.5); }
}

.hero-right {
    position: relative;
}

.hero-3d-scene {
    position: relative;
    width: 100%;
    height: 600px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.card-analytics {
    top: 10%;
    left: -5%;
    width: 200px;
    animation-delay: 0s;
}

.card-progress {
    top: 15%;
    right: -5%;
    width: 140px;
    animation-delay: 2s;
}

.card-start {
    bottom: 15%;
    left: 10%;
    animation-delay: 4s;
}

.card-mini-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.card-mini-icon {
    font-size: 16px;
}

.card-mini-chart {
    margin-bottom: 12px;
}

.mini-chart {
    width: 100%;
    height: 40px;
}

.card-mini-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 11px;
    color: var(--muted);
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
}

.progress-ring {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.progress-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
}

.start-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #EC4899, #A855F7);
    border: none;
    border-radius: 100px;
    color: white;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
}

.hero-3d-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 100%;
    z-index: -1;
}

.mockup-3d {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float-mockup 8s ease-in-out infinite;
}

@keyframes float-mockup {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-15px) rotateY(5deg); }
}

/* Mockup below hero text */
.hero-mockup-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.mockup-browser {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.04),
        0 40px 80px rgba(0,0,0,.6),
        0 0 60px rgba(99,102,241,.12);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.2rem;
    background: rgba(255,255,255,.03);
    border-bottom: 1px solid var(--border);
}

.browser-bar span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
}
.browser-bar span:nth-child(1) { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }

.browser-url {
    flex: 1;
    text-align: center;
    font-size: .78rem;
    color: var(--muted);
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: .3rem 1rem;
    max-width: 300px;
    margin: 0 auto;
}

.mockup-showcase {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg);
}

.mockup-image {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .9s ease;
}
.mockup-image.active { opacity: 1; }

.mockup-indicators {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 1.25rem;
}
.indicator {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    cursor: pointer;
    transition: all .3s var(--ease);
}
.indicator.active {
    width: 20px;
    border-radius: 3px;
    background: var(--accent);
}

/* =================================================================
   BUTTONS
   ================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: inherit;
    font-weight: 600;
    font-size: .95rem;
    padding: .7rem 1.6rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    box-shadow: 0 4px 16px rgba(99,102,241,.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99,102,241,.5);
}

.btn-secondary {
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.4);
    color: #c7d2fe;
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255,255,255,.06);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.18);
}

.btn-lg { padding: .9rem 2rem; font-size: 1rem; border-radius: 12px; }

/* =================================================================
   STATS BAR
   ================================================================= */

.stats-bar {
    padding: 3.5rem 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,0.025);
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 1.5rem 2rem;
}

.stat-num {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: .5rem;
}

.stat-label {
    font-size: .875rem;
    color: var(--muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}

/* =================================================================
   SECTION SHARED
   ================================================================= */

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .875rem;
}

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--subtle);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.65;
}

/* =================================================================
   SERVICES
   ================================================================= */

.services {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.services-grid--four {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    position: relative;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    transition: all .25s var(--ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(12px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    opacity: 0;
    transition: opacity .25s var(--ease);
}

.service-card:hover {
    background: var(--surface2);
    border-color: rgba(99,102,241,.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.4), 0 0 30px rgba(99,102,241,.12);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
    width: 44px; height: 44px;
    background: rgba(99,102,241,.12);
    border: 1px solid rgba(99,102,241,.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.service-card p {
    font-size: .925rem;
    color: var(--subtle);
    line-height: 1.65;
    flex: 1;
}

.card-arrow {
    font-size: 1.1rem;
    color: var(--muted);
    transition: color .2s, transform .2s;
    align-self: flex-end;
}
.service-card:hover .card-arrow { color: var(--accent); transform: translateX(4px); }

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto;
    padding-top: 1rem;
    transition: all 0.2s var(--ease);
}

.card-link:hover {
    color: var(--accent2);
    gap: 0.75rem;
}

.service-card .card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: all .3s var(--ease);
}
.service-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* =================================================================
   CASE STUDY
   ================================================================= */

.case-study { padding: 6rem 0; }

.case-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.case-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 0% 0%, rgba(99,102,241,.1), transparent 60%);
    pointer-events: none;
}

.case-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.case-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    color: var(--text);
}

.case-subtitle {
    font-size: 1rem;
    color: var(--subtle);
    line-height: 1.65;
}

.case-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.case-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.case-step-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.case-step-icon.problem  { background: rgba(239,68,68,.15);  color: #f87171; border: 1px solid rgba(239,68,68,.25); }
.case-step-icon.solution { background: rgba(234,179,8,.12);  color: #fbbf24; border: 1px solid rgba(234,179,8,.25); }
.case-step-icon.result   { background: rgba(34,197,94,.12);  color: #4ade80; border: 1px solid rgba(34,197,94,.25); }

.case-step h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .35rem;
}
.case-step p {
    font-size: .9rem;
    color: var(--subtle);
    line-height: 1.6;
}

/* =================================================================
   SEO ACCORDION
   ================================================================= */

.seo-section { padding: 6rem 0; }

.accordion {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.accordion-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
    backdrop-filter: blur(12px);
}
.accordion-item:hover { border-color: rgba(99,102,241,.3); }
.accordion-item.active {
    border-color: rgba(99,102,241,.35);
    box-shadow: 0 0 0 1px rgba(99,102,241,.12);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    user-select: none;
}

.accordion-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.accordion-icon {
    width: 26px; height: 26px;
    border-radius: 6px;
    background: rgba(99,102,241,.12);
    border: 1px solid rgba(99,102,241,.2);
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s var(--ease), background .2s;
    flex-shrink: 0;
}
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    background: rgba(99,102,241,.22);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .38s var(--ease), opacity .3s ease, padding .3s ease;
}
.accordion-item.active .accordion-content {
    max-height: 300px;
    opacity: 1;
    padding: 0 1.5rem 1.4rem;
}

.accordion-content p {
    font-size: .925rem;
    color: var(--subtle);
    line-height: 1.7;
    border-left: 2px solid rgba(99,102,241,.3);
    padding-left: 1rem;
}

/* =================================================================
   WHY
   ================================================================= */

.why { padding: 6rem 0; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: .5rem;
}

.why-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    transition: all .25s var(--ease);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.why-item:hover {
    background: var(--surface2);
    border-color: rgba(99,102,241,.3);
    transform: translateY(-3px);
}

.why-number {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, rgba(99,102,241,.6), rgba(168,85,247,.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.why-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .65rem;
}

.why-item p {
    font-size: .9rem;
    color: var(--subtle);
    line-height: 1.65;
}

/* =================================================================
   CONTACT
   ================================================================= */

.contact { padding: 6rem 0; }

.contact-card {
    position: relative;
    text-align: center;
    background: rgba(99,102,241,0.07);
    border: 1px solid rgba(99,102,241,.25);
    border-radius: 24px;
    padding: 5rem 3rem;
    overflow: hidden;
    max-width: 780px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
}

.contact-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(99,102,241,.18) 0%, transparent 70%);
    pointer-events: none;
}

.contact-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 16px rgba(99,102,241,.4));
    position: relative;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1rem;
    position: relative;
}

.contact-sub {
    font-size: 1rem;
    color: var(--subtle);
    margin-bottom: 2.5rem;
    position: relative;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* =================================================================
   FOOTER
   ================================================================= */

.site-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-logo {
    width: 110px;
    height: auto;
    opacity: .8;
}

.site-footer p {
    font-size: .825rem;
    color: var(--muted);
}

.footer-top {
    font-size: .825rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}
.footer-top:hover { color: var(--text); }

/* =================================================================
   RESPONSIVE
   ================================================================= */

@media (max-width: 900px) {
    .services-grid,
    .services-grid--four { grid-template-columns: 1fr; }
    .why-grid      { grid-template-columns: 1fr; }

    .case-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
    }

    .stats-grid { gap: 0; }
    .stat-divider { display: none; }
    .stat-item { min-width: 50%; }
}

@media (max-width: 640px) {
    .container { padding: 0 1.25rem; }

    .site-nav { padding: 0 1.25rem; }
    .nav-links { display: none; }

    .hero { padding: 90px 1.25rem 3rem; }
    .hero-content { grid-template-columns: 1fr; gap: 2rem; }
    .hero-left { text-align: center; }
    .hero-logo { width: 120px; margin: 0 auto 1.5rem; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; margin: 0 auto 2rem; }
    .hero-cta { flex-direction: column; width: 100%; justify-content: center; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-3d-scene { height: 400px; }
    .floating-card { display: none; }
    .hero-3d-mockup { width: 100%; position: static; transform: none; }

    .services { padding: 4rem 0; }
    .case-study { padding: 4rem 0; }
    .seo-section { padding: 4rem 0; }
    .why { padding: 4rem 0; }
    .contact { padding: 4rem 0; }

    .contact-card { padding: 3rem 1.5rem; }
    .contact-buttons { flex-direction: column; }
    .contact-buttons .btn { width: 100%; }

    .footer-inner { flex-direction: column; text-align: center; }

    .stat-item { min-width: 100%; }
}
