/* =============================================
   ROOT & RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #1A6BFF;
    --primary-dark: #1050D0;
    --primary-light: #80AFFF;
    --accent: #fe3280;
    --accent2: #6bb5ff;
    --dark: #060A14;
    --dark-2: #08101E;
    --dark-3: #0D1828;
    --surface: #0C1525;
    --surface-2: #101E32;
    --text-main: #EEF3FF;
    --text-muted: #7A90B0;
    --text-subtle: #4A607A;
    --border: rgba(255,255,255,0.07);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --shadow: 0 20px 60px rgba(0,0,0,0.55);
    --glow: 0 0 40px rgba(26,107,255,0.28);
    --ff: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--ff);
    background: var(--dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 6px; }

/* =============================================
   TYPOGRAPHY HELPERS
   ============================================= */
.gradient-text {
    background: linear-gradient(135deg, #1A6BFF 0%, #fe3280 50%, #6bb5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   CONTAINER
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.navbar.scrolled {
    background: rgba(10,10,20,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
    padding: 14px 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    white-space: nowrap;
}
.logo-accent { color: var(--primary); }
.logo-dot { color: var(--accent); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 8px;
    color: var(--text-muted);
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text-main); background: rgba(255,255,255,0.05); }
.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   HERO
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--dark);
    padding: 120px 0 80px;
}
.hero-blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
}
.blob-1 {
    width: 600px; height: 600px;
    background: var(--primary);
    top: -200px; left: -200px;
    animation: blobFloat 12s ease-in-out infinite;
}
.blob-2 {
    width: 400px; height: 400px;
    background: var(--accent);
    bottom: -150px; right: 5%;
    animation: blobFloat 15s ease-in-out infinite reverse;
}
.blob-3 {
    width: 300px; height: 300px;
    background: var(--accent2);
    top: 30%; left: 50%;
    animation: blobFloat 18s ease-in-out infinite 3s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(40px,-30px) scale(1.05); }
    66% { transform: translate(-20px,30px) scale(0.96); }
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(26,107,255,0.12);
    border: 1px solid rgba(26,107,255,0.3);
    color: var(--primary-light);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    width: fit-content;
    letter-spacing: 0.3px;
}
.badge-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    box-shadow: 0 0 0 0 rgba(76,175,80,0.7);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76,175,80,0.7); }
    70% { box-shadow: 0 0 0 8px rgba(76,175,80,0); }
    100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}
.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.13;
    letter-spacing: -1.5px;
}
.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 420px;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 30px rgba(26,107,255,0.4);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(26,107,255,0.5);
}
.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid rgba(255,255,255,0.18);
}
.btn-secondary:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.04);
    transform: translateY(-2px);
}
.hero-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}
.proof-avatars { display: flex; }
.avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: -10px;
    color: #fff;
}
.avatar:first-child { margin-left: 0; }
.proof-text { font-size: 0.85rem; color: var(--text-muted); }
.proof-text strong { color: var(--text-main); }

/* -- HERO VISUAL -- */
.hero-visual { position: relative; }
.browser-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at center, rgba(26,107,255,0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.browser-mockup {
    background: var(--surface-2);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow: var(--shadow), var(--glow);
    position: relative;
    z-index: 1;
    animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.browser-chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }
.browser-addressbar {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.7rem;
    color: var(--text-subtle);
    display: flex;
    align-items: center;
    gap: 6px;
}
.browser-actions { display: flex; gap: 6px; }
.browser-actions span { width: 20px; height: 3px; background: rgba(255,255,255,0.12); border-radius: 2px; }
.browser-screen { padding: 0; background: #0e0e1c; }

/* -- MOCK SITE INSIDE BROWSER -- */
.mock-site { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.mock-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.mock-logo { width: 50px; height: 8px; background: var(--primary); border-radius: 4px; opacity: 0.8; }
.mock-navitems { display: flex; gap: 6px; }
.mock-navitem { width: 28px; height: 6px; background: rgba(255,255,255,0.12); border-radius: 3px; }
.mock-navbtn { width: 50px; height: 10px; background: var(--primary); border-radius: 10px; opacity: 0.7; }
.mock-hero-section {
    background: linear-gradient(135deg, #12123A 0%, #1A1A4A 100%);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.mock-badge { width: 80px; height: 8px; background: rgba(26,107,255,0.4); border-radius: 10px; }
.mock-h1 { height: 10px; background: rgba(255,255,255,0.25); border-radius: 5px; }
.mock-p { height: 7px; background: rgba(255,255,255,0.1); border-radius: 3px; }
.w100 { width: 100%; }
.w90 { width: 90%; }
.w85 { width: 85%; }
.w80 { width: 80%; }
.w75 { width: 75%; }
.w70 { width: 70%; }
.w60 { width: 60%; }
.mock-btnrow { display: flex; gap: 6px; margin-top: 4px; }
.mock-btn-filled { width: 60px; height: 12px; background: var(--primary); border-radius: 10px; opacity: 0.8; }
.mock-btn-ghost { width: 60px; height: 12px; background: rgba(255,255,255,0.1); border-radius: 10px; }
.mock-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mock-feat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.mock-feat-icon {
    width: 20px; height: 20px;
    border-radius: 5px;
    background: rgba(26,107,255,0.5);
    flex-shrink: 0;
}
.mock-feat-icon.yellow { background: rgba(255,217,61,0.5); }
.mock-feat-icon.pink { background: rgba(255,107,107,0.5); }
.mock-feat-text { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mock-feat-title { height: 7px; background: rgba(255,255,255,0.2); border-radius: 3px; width: 60%; }
.mock-feat-desc { height: 5px; background: rgba(255,255,255,0.08); border-radius: 2px; }

/* FLOATING BADGES */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 10px 16px;
    z-index: 2;
}
.floating-badge div { display: flex; flex-direction: column; }
.floating-badge strong { font-size: 0.9rem; font-weight: 700; line-height: 1.2; }
.floating-badge span { font-size: 0.68rem; color: var(--text-muted); }
.fb-icon { display: none; }
.fb-1 { top: -20px; right: -20px; animation: floatBadge1 4s ease-in-out infinite; }
.fb-2 { bottom: 30px; left: -30px; animation: floatBadge2 5s ease-in-out infinite 1s; }
@keyframes floatBadge1 {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes floatBadge2 {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(8px) rotate(-2deg); }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
}
.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}
.stat-num {
    font-size: 2.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-sym {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 50px; background: var(--border); }

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 14px;
    background: rgba(26,107,255,0.1);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(26,107,255,0.25);
}
.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-subtitle { color: var(--text-muted); font-size: 1rem; line-height: 1.75; }

/* =============================================
   SERVICES
   ============================================= */
.services { padding: 120px 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,107,255,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(26,107,255,0.4); box-shadow: 0 20px 50px rgba(26,107,255,0.12); }
.service-card:hover::before { opacity: 1; }
.service-icon-wrap {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(26,107,255,0.2), rgba(26,107,255,0.05));
    border: 1px solid rgba(26,107,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-light);
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio {
    padding: 120px 0;
    background: var(--dark-2);
}
.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.1);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--ff);
    cursor: pointer;
    transition: all 0.25s;
}
.tab-btn:hover { border-color: rgba(26,107,255,0.4); color: var(--text-main); }
.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 6px 24px rgba(26,107,255,0.4);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s, opacity 0.35s;
    cursor: pointer;
}
.portfolio-card.hidden { display: none; }
.portfolio-card:hover { transform: translateY(-6px); }

/* CARD PREVIEW AREA */
.card-preview {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--cg, var(--surface));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.preview-mockup {
    position: absolute;
    inset: 12px 10px 0;
    background: rgba(10,10,20,0.65);
    backdrop-filter: blur(4px);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
}
.pm-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pm-logo { width: 40px; height: 6px; background: rgba(255,255,255,0.5); border-radius: 3px; }
.pm-logo.bright { background: rgba(255,255,255,0.9); }
.pm-logo.dark-el { background: rgba(255,255,255,0.7); }
.pm-links { display: flex; gap: 5px; }
.pm-links span { width: 22px; height: 5px; background: rgba(255,255,255,0.2); border-radius: 2px; display: block; }
.pm-links.dark-el span, .pm-links.bright span { background: rgba(255,255,255,0.5); }
.pm-btn { width: 38px; height: 9px; background: rgba(255,255,255,0.3); border-radius: 8px; }
.pm-btn.bright { background: rgba(255,255,255,0.85); }
.pm-btn.dark-el { background: rgba(255,255,255,0.5); }
.pm-body { display: flex; gap: 10px; align-items: flex-start; flex: 1; }
.pm-text-col { flex: 1.2; display: flex; flex-direction: column; gap: 6px; }
.pm-h1 { height: 9px; background: rgba(255,255,255,0.45); border-radius: 4px; }
.pm-h1.bright { background: rgba(255,255,255,0.9); }
.pm-h1.dark-el { background: rgba(255,255,255,0.6); }
.pm-p { height: 6px; background: rgba(255,255,255,0.18); border-radius: 3px; }
.pm-p.bright { background: rgba(255,255,255,0.5); }
.pm-cta { width: 60px; height: 12px; background: rgba(255,255,255,0.8); border-radius: 8px; margin-top: 4px; }
.pm-cta.bright-cta { background: #fff; }
.pm-cta.dark-el { background: rgba(255,255,255,0.9); }
.pm-cta.ghost { background: transparent; border: 1px solid rgba(255,255,255,0.5); }
.pm-img-col {
    flex: 1;
    border-radius: 6px;
    background: rgba(255,255,255,0.12);
    min-height: 70px;
}
.pm-img-col.warm { background: rgba(255,255,255,0.2); box-shadow: 0 4px 20px rgba(255,107,53,0.3); }
.pm-img-col.blue { background: rgba(100,150,255,0.25); box-shadow: 0 4px 20px rgba(46,49,146,0.4); }
.pm-img-col.teal { background: rgba(0,201,167,0.25); box-shadow: 0 4px 20px rgba(0,150,136,0.3); }
.pm-img-col.pink { background: rgba(255,110,199,0.25); box-shadow: 0 4px 20px rgba(233,30,140,0.3); }
.pm-img-col.yellow { background: rgba(255,210,0,0.25); box-shadow: 0 4px 20px rgba(230,81,0,0.3); }
.centered-body { justify-content: center; align-items: center; }
.wide-col { max-width: 80%; align-items: center; }
.wide-col .pm-h1, .wide-col .pm-p { align-self: stretch; }
.pm-badge-pill { width: 60px; height: 8px; background: rgba(255,255,255,0.4); border-radius: 10px; margin-bottom: 4px; }
.pm-btn-row { display: flex; gap: 6px; }
.full { width: 100%; }
.centered { align-self: center; }

/* CARD OVERLAY */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    /* NO backdrop-filter here — it blurs even at opacity 0 */
}
.card-preview:hover .card-overlay {
    opacity: 1;
    background: rgba(0,0,0,0.45);
}
.overlay-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #0A0A14;
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.2s;
}
.overlay-cta:hover { transform: scale(1.04); }
.overlay-cta span { font-size: 1rem; }

/* CARD META & TEXT */
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px 6px;
    background: var(--surface);
}
.card-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}
.real-badge { background: rgba(0,201,150,0.12); color: #00C996; border: 1px solid rgba(0,201,150,0.2); }
.example-badge { background: rgba(26,107,255,0.12); color: var(--primary-light); border: 1px solid rgba(26,107,255,0.2); }
.card-year { font-size: 0.75rem; color: var(--text-subtle); }
.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0 16px 4px;
    background: var(--surface);
}
.card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0 16px 18px;
    background: var(--surface);
    line-height: 1.6;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border: 1px solid var(--border);
    border-top: none;
}
.card-title, .card-meta, .card-badge { border-left: 1px solid var(--border); border-right: 1px solid var(--border); }

/* =============================================
   PROCESS
   ============================================= */
.process { padding: 120px 0; background: var(--dark); }
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.step-num-wrap {
    position: relative;
    margin-bottom: 20px;
}
.step-num {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-subtle);
}
.step-connector-line {
    position: absolute;
    top: 0;
    left: calc(50% + 40px);
    right: -50%;
    height: 1px;
    background: linear-gradient(to right, rgba(26,107,255,0.5), rgba(255,255,255,0.06));
    transform: translateY(30px);
}
.step-connector-line.last { display: none; }
.step-icon-circle {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 1.5px solid rgba(26,107,255,0.4);
    background: rgba(26,107,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-light);
    transition: all 0.3s;
}
.process-step:hover .step-icon-circle {
    background: rgba(26,107,255,0.2);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(26,107,255,0.25);
    transform: scale(1.05);
}
.step-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; max-width: 280px; margin: 0 auto; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { padding: 120px 0; background: var(--dark-2); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(26,107,255,0.3); }
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(26,107,255,0.12);
    line-height: 1;
}
.stars { color: #FFD93D; font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-quote {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; }
.author-info strong { font-size: 0.9rem; font-weight: 700; }
.author-info span { font-size: 0.78rem; color: var(--text-muted); }

/* =============================================
   PRICING
   ============================================= */
.pricing { padding: 120px 0; background: var(--dark); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    transition: transform 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.featured-card {
    background: linear-gradient(160deg, rgba(26,107,255,0.15) 0%, var(--surface-2) 100%);
    border: 2px solid rgba(26,107,255,0.5);
    box-shadow: 0 0 50px rgba(26,107,255,0.15);
    transform: scale(1.04);
}
.featured-card:hover { transform: scale(1.04) translateY(-4px); }
.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 16px;
    border-radius: 50px;
    white-space: nowrap;
    text-transform: uppercase;
}
.pricing-name { font-size: 0.88rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.pricing-price { font-size: 3rem; font-weight: 900; letter-spacing: -2px; line-height: 1; margin-bottom: 4px; }
.currency { font-size: 1.4rem; font-weight: 700; vertical-align: top; margin-top: 8px; display: inline-block; }
.pricing-period { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.pricing-features li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.has::before { background: #00C996; }
.has-not { color: var(--text-subtle); text-decoration: line-through; }
.has-not::before { background: var(--text-subtle); }
.btn-price {
    display: block;
    text-align: center;
    padding: 13px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--ff);
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}
.primary-price {
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 8px 30px rgba(26,107,255,0.35);
}
.primary-price:hover { background: var(--primary-dark); transform: translateY(-2px); }
.outline-price {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid rgba(255,255,255,0.16);
}
.outline-price:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.04); }

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
    padding: 120px 0;
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
}
.contact-blob {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.06;
    filter: blur(100px);
    top: -150px; right: -150px;
    pointer-events: none;
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.contact-left { display: flex; flex-direction: column; gap: 20px; }
.contact-left h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -1px; line-height: 1.25; }
.contact-left p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; }
.contact-perks { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.perk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.perk span { color: #00C996; font-weight: 700; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.form-group input,
.form-group textarea {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 0.92rem;
    font-family: var(--ff);
    color: var(--text-main);
    transition: border-color 0.25s, box-shadow 0.25s;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(26,107,255,0.5);
    box-shadow: 0 0 0 3px rgba(26,107,255,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-subtle); }
.submit-btn { align-self: flex-start; }
.form-success {
    display: none;
    background: rgba(0,201,150,0.08);
    border: 1px solid rgba(0,201,150,0.25);
    border-radius: 12px;
    padding: 16px 20px;
    color: #00C996;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 70px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-top: 14px;
    max-width: 260px;
}
.footer-logo { font-size: 1.4rem; }
.footer-col h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 20px; color: var(--text-main); letter-spacing: 0.3px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text-main); }
.footer-contact-item { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 8px; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: lowercase;
    color: var(--text-muted);
    transition: all 0.2s;
}
.social-btn:hover { background: rgba(26,107,255,0.15); border-color: rgba(26,107,255,0.4); color: var(--primary-light); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-subtle);
}

/* =============================================
   SCROLL REVEAL ANIMATION
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 60px; }
    .hero-visual { max-width: 540px; margin: 0 auto; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { gap: 16px; }
    .featured-card { transform: scale(1); }
    .featured-card:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
    .nav-links { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--dark-3); flex-direction: column; align-items: flex-start; padding: 90px 28px 40px; gap: 6px; border-left: 1px solid var(--border); transform: translateX(100%); transition: transform 0.3s; z-index: 999; }
    .nav-links.open { transform: translateX(0); display: flex; }
    .nav-link { width: 100%; padding: 12px 16px; font-size: 1rem; }
    .hamburger { display: flex; z-index: 1001; }
    .hero-title { font-size: 2.2rem; }
    .hero-inner { gap: 40px; }
    .stats-grid { flex-direction: column; gap: 32px; }
    .stat-divider { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; gap: 40px; }
    .step-connector-line { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .fb-1, .fb-2 { display: none; }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.8rem; }
    .hero-title { font-size: 1.95rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .btn { padding: 13px 24px; font-size: 0.9rem; }
}

/* =============================================
   PROCESS — 5-STEP GRID OVERRIDE
   ============================================= */
.process-steps-5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.process-steps-5 .step-body p {
    font-size: 0.82rem;
}
.process-steps-5 .step-body h3 {
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .process-steps-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .process-steps-5 { grid-template-columns: 1fr; }
}

/* =============================================
   SINGLE PRICING LAYOUT
   ============================================= */
.pricing-single-wrap {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.pricing-single {
    transform: none !important;
    padding: 40px;
}
.pricing-single:hover { transform: translateY(-4px) !important; }
.pricing-single-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 24px;
}
.pricing-price-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}
.pricing-split-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(26,107,255,0.08);
    border: 1px solid rgba(26,107,255,0.2);
    border-radius: 14px;
    padding: 16px 20px;
    width: fit-content;
}
.split-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.split-num {
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.split-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}
.split-divider {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-subtle);
}

/* CONDITIONS GRID */
.pricing-conditions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.condition-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color 0.3s;
}
.condition-item:hover { border-color: rgba(26,107,255,0.3); }
.cond-icon { display: none; }
.condition-item strong { font-size: 0.92rem; font-weight: 700; display: block; margin-bottom: 4px; }
.condition-item p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

@media (max-width: 768px) {
    .pricing-single-inner { grid-template-columns: 1fr; gap: 24px; }
    .pricing-conditions { grid-template-columns: 1fr; }
    .pricing-single { padding: 28px 20px; }
}

/* =============================================
   IFRAME PREVIEW CARDS
   ============================================= */
.iframe-card {
    background: #f0f0f0;
    padding: 0;
    overflow: hidden;
    position: relative;
    /* aspect-ratio drives the height — 4:3 looks best */
    aspect-ratio: 4 / 3;
}

/* Skeleton shimmer shown while iframe loads */
.iframe-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #1a1a2e 0%, #2a2a45 40%, #1a1a2e 80%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    z-index: 1;
    transition: opacity 0.5s;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.iframe-skeleton.hidden { opacity: 0; pointer-events: none; }
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* The iframe — scaled down so the full desktop site fits inside the card */
.site-iframe {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    /* Rendered at full 1280px desktop width, then scaled down */
    width: 1280px;
    height: 960px;
    transform-origin: top left;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
}
.site-iframe.loaded { opacity: 1; }

.iframe-card .card-overlay {
    z-index: 3;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Screenshot card styles (kept for fallback) */
.screenshot-card {
    background: #0a0a14;
    padding: 0;
    overflow: hidden;
}
.card-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.screenshot-card:hover .card-screenshot { transform: scale(1.03); }
.screenshot-card .card-overlay { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
