/* =============================================
   VistraDev — Design System (Linear/Vercel-inspired)
   ============================================= */

:root {
    --bg:       #08080f;
    --bg-1:     #0e0e1a;
    --bg-2:     #141428;
    --border:   rgba(255,255,255,0.07);
    --border-2: rgba(255,255,255,0.12);
    --t1: #f0f0ff;
    --t2: #9090b0;
    --t3: #50506a;
    --accent:   #7c3aed;
    --accent-2: #06b6d4;
    --green:    #22c55e;
    --gold:     #fbbf24;
    --radius:   14px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--t1);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* Grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-1); }

/* ── Scroll reveal ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].visible {
    opacity: 1;
    transform: none;
}

/* ── Accent ── */
.accent-text {
    background: linear-gradient(90deg, #a78bfa, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Section labels/headings ── */
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a78bfa;
    margin-bottom: 16px;
}

.section-h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    color: var(--t2);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 56px;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 0 0 1px rgba(124,58,237,0.4), 0 8px 32px rgba(124,58,237,0.3);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-primary.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    background: rgba(255,255,255,0.04);
    color: var(--t2);
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.92rem;
    border: 1px solid var(--border-2);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--t1); transform: translateY(-2px); }
.btn-ghost.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── Navigation ── */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 14px 0;
    transition: background 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}
#nav.scrolled {
    background: rgba(8,8,15,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--border);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo img {
    height: 36px;
    width: auto;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--t2);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--t1); }

.nav-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    padding: 9px 20px !important;
    background: linear-gradient(135deg, #7c3aed, #5b21b6) !important;
    color: white !important;
    border-radius: 8px;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 16px rgba(124,58,237,0.3);
    transition: opacity 0.2s, transform 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px) !important; }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--t1);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
#hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
}
.orb-1 { width: 480px; height: 480px; background: rgba(124,58,237,0.35); top: -10%; right: -5%; }
.orb-2 { width: 380px; height: 380px; background: rgba(6,182,212,0.2); bottom: -5%; left: -5%; }

.dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-body {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    background: rgba(124,58,237,0.08);
    border: 1px solid rgba(124,58,237,0.18);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #c4b5fd;
    margin-bottom: 32px;
}

.kicker-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: kdot 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.4);
}
@keyframes kdot {
    0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50%      { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

.hero-h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--t1);
}

/* Typed: fixed height so layout doesn't shift */
.typed-line {
    display: inline-block;
    min-height: 1.15em;
    vertical-align: bottom;
}
#typed {
    background: linear-gradient(90deg, #a78bfa, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cursor-blink {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: #a78bfa;
    margin-left: 2px;
    border-radius: 2px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
    -webkit-text-fill-color: transparent;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.12rem);
    color: var(--t2);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-sub strong { color: var(--t1); font-weight: 600; }

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Social proof */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin-bottom: 64px;
}
.proof-faces { display: flex; }
.proof-faces img {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    margin-left: -9px;
    object-fit: cover;
}
.proof-faces img:first-child { margin-left: 0; }
.proof-stars { color: #fbbf24; font-size: 0.85rem; margin-bottom: 1px; }
.proof-copy { font-size: 0.82rem; color: var(--t2); text-align: left; }

/* Browser mockup */
.hero-mockup-outer {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    padding: 0 24px;
    overflow: hidden;
}

.browser-frame {
    background: var(--bg-1);
    border: 1px solid var(--border-2);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 -4px 80px rgba(124,58,237,0.15), 0 0 0 1px rgba(255,255,255,0.04);
    position: relative;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
}
.dot-r { width:10px;height:10px;border-radius:50%;background:#ff5f57;flex-shrink:0; }
.dot-y { width:10px;height:10px;border-radius:50%;background:#febc2e;flex-shrink:0; }
.dot-g { width:10px;height:10px;border-radius:50%;background:#28c840;flex-shrink:0; }
.browser-url {
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    color: var(--t3);
    font-family: monospace;
    background: var(--bg);
    padding: 3px 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    max-width: 300px;
    margin: 0 auto;
}
.browser-secure {
    font-size: 0.7rem;
    color: var(--green);
    margin-left: auto;
}

.browser-screen {
    position: relative;
    height: 400px;
    overflow: hidden;
}
.browser-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
.browser-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg-1), transparent);
}

/* Floating metric badges */
.metric-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(8,8,15,0.92);
    border: 1px solid var(--border-2);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--t1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 10;
}
.metric-1 { top: 40px; left: -16px; animation: mfloat 4s ease-in-out infinite; }
.metric-2 { top: 40px; right: -16px; animation: mfloat 4s ease-in-out infinite 1.3s; }
.metric-3 { bottom: 60px; right: -16px; animation: mfloat 4s ease-in-out infinite 2.6s; }

@keyframes mfloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ── Marquee ── */
.marquee-bar {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    background: var(--bg-1);
}
.marquee-inner {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    width: max-content;
    animation: marquee 28s linear infinite;
    align-items: center;
}
.marquee-inner span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--t3);
    font-weight: 500;
}
.marquee-inner span i { color: #7c3aed; font-size: 0.75rem; }
.m-sep { color: var(--border-2) !important; font-size: 1rem !important; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Stats section ── */
.stats-section { background: var(--bg); border-bottom: 1px solid var(--border); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--border);
    gap: 1px;
}
.stat-cell {
    background: var(--bg);
    padding: 48px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: background 0.2s;
}
.stat-cell:hover { background: var(--bg-1); }
.stat-n {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #a78bfa, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-s {
    font-size: 1.6rem;
    font-weight: 700;
    color: #a78bfa;
    line-height: 1;
}
.stat-l {
    font-size: 0.82rem;
    color: var(--t3);
    margin-top: 8px;
    font-weight: 500;
}

/* ── Features grid (Vercel-style with 1px separators) ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--border);
    gap: 1px;
    border-radius: var(--radius);
    overflow: hidden;
}
.feature-cell {
    background: var(--bg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background 0.2s;
}
.feature-cell:hover { background: var(--bg-1); }
.feat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124,58,237,0.1);
    border-radius: 10px;
    font-size: 1.1rem;
    color: #a78bfa;
    margin-bottom: 4px;
}
.feature-cell h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.feature-cell p {
    font-size: 0.86rem;
    color: var(--t2);
    line-height: 1.65;
    flex: 1;
}
.feat-price {
    font-size: 0.8rem;
    font-weight: 600;
    color: #a78bfa;
    margin-top: 4px;
}

/* ── Pricing ── */
.pricing-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
.pack-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
}
.pack-card:hover {
    border-color: rgba(124,58,237,0.25);
    transform: translateY(-6px);
}
.pack-featured {
    border-color: rgba(124,58,237,0.3);
    background: rgba(124,58,237,0.04);
}
.pack-recommended {
    text-align: center;
    padding: 8px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    font-size: 0.78rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.02em;
}
.pack-img {
    position: relative;
    height: 160px;
    overflow: hidden;
}
.pack-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.pack-card:hover .pack-img img { transform: scale(1.05); }
.pack-badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.pack-badge-gold {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #d4af37, #c9a96e);
    color: #1a1a00;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.pack-body {
    padding: 24px;
}
.pack-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.pack-desc {
    font-size: 0.8rem;
    color: var(--t3);
    margin-bottom: 16px;
}
.pack-price { margin-bottom: 20px; }
.pack-old {
    display: block;
    font-size: 0.78rem;
    color: var(--t3);
    text-decoration: line-through;
    margin-bottom: 2px;
}
.pack-amount {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #a78bfa, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.pack-amount small {
    font-size: 1rem;
    font-weight: 600;
    -webkit-text-fill-color: var(--t2);
}
.pack-features {
    margin-bottom: 20px;
}
.pack-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--t2);
    border-bottom: 1px solid var(--border);
}
.pack-features li:last-child { border: none; }
.pack-features li i { color: var(--green); font-size: 0.7rem; margin-top: 4px; flex-shrink: 0; }
.pack-features li strong { color: var(--t1); }

.pack-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-2);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--t1);
    transition: background 0.2s;
}
.pack-cta:hover { background: rgba(255,255,255,0.09); }
.pack-cta-primary {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}
.pack-cta-primary:hover { opacity: 0.88; background: linear-gradient(135deg, #7c3aed, #5b21b6); }

/* ── Process ── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--border);
    gap: 1px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 48px;
}
.process-step {
    background: var(--bg);
    padding: 32px 24px;
    transition: background 0.2s;
}
.process-step:hover { background: var(--bg-1); }
.ps-num {
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 700;
    color: #a78bfa;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.ps-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124,58,237,0.1);
    border-radius: 10px;
    font-size: 1rem;
    color: #a78bfa;
    margin-bottom: 16px;
}
.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.process-step p {
    font-size: 0.84rem;
    color: var(--t2);
    line-height: 1.65;
}

/* ── Portfolio ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}
.port-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    display: block;
    transition: border-color 0.3s, transform 0.3s;
}
.port-card:hover {
    border-color: rgba(124,58,237,0.25);
    transform: translateY(-4px);
}
.port-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.port-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.port-card:hover .port-img img { transform: scale(1.05); }
.port-hover {
    position: absolute;
    inset: 0;
    background: rgba(8,8,15,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.port-card:hover .port-hover { opacity: 1; }
.port-hover span {
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 7px;
}
.port-info {
    padding: 16px 20px;
    background: var(--bg-1);
}
.port-meta { font-size: 0.72rem; color: var(--t3); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.port-title-row { display: flex; align-items: center; justify-content: space-between; }
.port-title { font-size: 0.95rem; font-weight: 700; }
.port-stat { font-size: 0.78rem; font-weight: 700; color: var(--green); }

/* ── Portfolio Featured Card (VistraDev) ── */
.port-card-featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(6,182,212,0.06) 100%);
    border: 1px solid rgba(124,58,237,0.3);
    box-shadow: 0 0 60px rgba(124,58,237,0.1);
    position: relative; overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.port-card-featured::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,0.05), transparent, rgba(6,182,212,0.04));
    opacity: 0; transition: opacity 0.4s;
}
.port-card-featured:hover {
    border-color: rgba(124,58,237,0.55);
    transform: translateY(-4px);
    box-shadow: 0 0 80px rgba(124,58,237,0.2);
}
.port-card-featured:hover::before { opacity: 1; }

.port-featured-inner {
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: 40px; padding: 40px 48px;
    align-items: center;
}
.port-featured-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.1));
    border: 1px solid rgba(124,58,237,0.3);
    border-radius: 20px;
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: #9f5eff;
    margin-bottom: 20px;
}
.port-featured-badge i { color: var(--gold); }
.port-featured-title {
    font-size: 2.2rem; font-weight: 900;
    letter-spacing: -0.04em; line-height: 1.1;
    margin-bottom: 14px;
    background: linear-gradient(90deg, #f0f0ff, #9f5eff, #22d3ee);
    background-size: 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: featGrad 4s linear infinite;
}
@keyframes featGrad { 0%{background-position:0%} 100%{background-position:200%} }
.port-featured-desc {
    font-size: 0.9rem; color: var(--t2); line-height: 1.65;
    margin-bottom: 24px; max-width: 360px;
}
.port-featured-tags {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.port-featured-tags span {
    padding: 4px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.72rem; font-weight: 600; color: var(--t2);
}
.port-featured-cta {
    display: inline-flex;
}
.port-featured-cta span {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    border-radius: 30px;
    font-size: 0.85rem; font-weight: 700; color: white;
    box-shadow: 0 0 32px rgba(124,58,237,0.35);
    transition: box-shadow 0.3s, transform 0.2s;
}
.port-card-featured:hover .port-featured-cta span {
    box-shadow: 0 0 52px rgba(124,58,237,0.55);
    transform: translateY(-2px);
}

/* Browser mockup */
.port-featured-screen {
    border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0c0c1e;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.15);
    transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.port-card-featured:hover .port-featured-screen {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}
.port-featured-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px;
    background: #0c0c1e;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.port-featured-url {
    flex: 1; text-align: center;
    font-size: 0.72rem; color: var(--t3);
    background: rgba(255,255,255,0.04); border-radius: 6px;
    padding: 3px 10px; margin: 0 8px;
}
.port-featured-img { width: 100%; height: 220px; object-fit: cover; display: block; }

@media (max-width: 768px) {
    .port-featured-inner { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
    .port-featured-title { font-size: 1.6rem; }
    .port-featured-screen { transform: none; }
}

/* ── Testimonials Carousel ── */
.carousel-outer { position: relative; overflow: hidden; }
.carousel-track {
    display: flex;
    transition: transform 0.5s var(--ease);
    will-change: transform;
}
.carousel-slide { min-width: 33.333%; padding: 4px 8px; }
@media (max-width: 900px) { .carousel-slide { min-width: 50%; } }
@media (max-width: 600px) { .carousel-slide { min-width: 100%; } }

.tcard {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.3s;
}
.tcard:hover { border-color: rgba(124,58,237,0.2); }
.tcard-top { display: flex; align-items: center; justify-content: space-between; }
.tcard-stars { color: #fbbf24; font-size: 0.9rem; letter-spacing: 2px; }
.tcard-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.tcard-quote { font-size: 0.87rem; color: var(--t2); line-height: 1.75; flex: 1; }
.tcard-quote strong { color: var(--t1); font-weight: 500; }
.tcard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.tcard-footer strong { display: block; font-size: 0.88rem; }
.tcard-footer span { font-size: 0.76rem; color: var(--t3); }
.tcard-metric {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #a78bfa, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: right;
    line-height: 1;
}
.tcard-metric small {
    display: block;
    font-size: 0.68rem;
    font-weight: 400;
    -webkit-text-fill-color: var(--t3);
    font-family: var(--font);
}
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}
.cnav-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--t2);
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.cnav-btn:hover { background: rgba(124,58,237,0.12); color: #a78bfa; border-color: rgba(124,58,237,0.3); }
.cdots { display: flex; gap: 6px; }
.cdot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border-2);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.cdot.active { background: #a78bfa; width: 20px; border-radius: 4px; }

/* ── Guarantee ── */
.guarantee-band {
    background: var(--bg-1);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 56px 0;
}
.gband-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 36px 40px;
    background: rgba(124,58,237,0.04);
    border: 1px solid rgba(124,58,237,0.12);
    border-radius: var(--radius);
    flex-wrap: wrap;
}
.gband-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124,58,237,0.1);
    border-radius: 50%;
    font-size: 1.6rem;
    color: #a78bfa;
}
.gband-text { flex: 1; min-width: 200px; }
.gband-text h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.gband-text p { font-size: 0.86rem; color: var(--t2); line-height: 1.6; }
.gband-items { display: flex; flex-direction: column; gap: 9px; flex-shrink: 0; }
.gband-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--t2);
    white-space: nowrap;
}
.gband-item i { color: var(--green); font-size: 0.72rem; }

/* ── FAQ ── */
.faq-wrap {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: start;
}
.faq-left .section-h2 { margin-bottom: 12px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    background: none;
    border: none;
    color: var(--t1);
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}
.faq-q:hover { color: #a78bfa; }
.faq-q i {
    color: var(--t3);
    font-size: 0.8rem;
    transition: transform 0.3s, color 0.2s;
    flex-shrink: 0;
}
.faq-item.open .faq-q i { transform: rotate(45deg); color: #a78bfa; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p {
    padding-bottom: 18px;
    font-size: 0.87rem;
    color: var(--t2);
    line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    text-align: center;
}
.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.cta-body {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0 auto;
}
.cta-h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 1rem;
    color: var(--t2);
    margin-bottom: 36px;
}
.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.cta-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-trust span {
    font-size: 0.82rem;
    color: var(--t3);
    display: flex;
    align-items: center;
    gap: 6px;
}
.cta-trust i { color: var(--green); font-size: 0.72rem; }

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-logo { height: 32px; width: auto; border-radius: 6px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.84rem; color: var(--t3); line-height: 1.7; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-1); border: 1px solid var(--border);
    border-radius: 8px; color: var(--t3); font-size: 0.88rem;
    transition: all 0.2s;
}
.footer-socials a:hover { border-color: rgba(124,58,237,0.3); color: #a78bfa; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; color: var(--t1); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a {
    display: flex; align-items: center; gap: 7px;
    font-size: 0.83rem; color: var(--t3);
    margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--t1); }
.footer-col a i { font-size: 0.75rem; width: 14px; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    font-size: 0.78rem;
    color: var(--t3);
}

/* ── WhatsApp Float ── */
.wa-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.2s;
}
.wa-btn:hover { transform: scale(1.08); }
.wa-tip {
    position: absolute;
    right: 68px;
    padding: 7px 14px;
    background: white;
    color: #0a0a0a;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(6px);
    transition: all 0.25s;
    pointer-events: none;
}
.wa-btn:hover .wa-tip { opacity: 1; transform: translateX(0); }
.wa-tip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: white;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-row { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .metric-1, .metric-3 { display: none; }
    .metric-2 { right: -8px; font-size: 0.72rem; padding: 6px 10px; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    #hero { padding: 120px 0 0; }
    .hero-h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn-primary, .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
    .nav-links { display: none; position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center; padding: 80px 32px; gap: 24px; z-index: 99; }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.1rem; }
    .nav-burger { display: flex; z-index: 100; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .gband-inner { flex-direction: column; text-align: center; padding: 28px; }
    .gband-items { align-items: center; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .browser-screen { height: 240px; }
    .metric-1,.metric-2,.metric-3 { display: none; }
    .cta-btns { flex-direction: column; align-items: center; }
    .cta-btns .btn-primary, .cta-btns .btn-ghost { width: 100%; justify-content: center; }
}
