:root {
    --teal: #15645e;
    --teal-light: #1a7a72;
    --teal-dark: #0d4a45;
    --orange: #f97316;
    --orange-glow: rgba(249, 115, 22, 0.35);
    --bg-dark: #0a1219;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --text: #f0f4f8;
    --text-muted: #94a3b8;
    --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(21, 100, 94, 0.45), transparent),
                     radial-gradient(ellipse 50% 40% at 90% 20%, rgba(249, 115, 22, 0.12), transparent);
    --radius: 16px;
    --radius-lg: 24px;
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body.v3-body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.v3-nav-open {
    overflow: hidden;
}

.v3-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ── Header ── */
.v3-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: max(16px, env(safe-area-inset-top)) 0 16px;
    transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

.v3-header.scrolled {
    background: rgba(10, 18, 25, 0.85);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}

.v3-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.v3-logo img { height: 40px; width: auto; }

.v3-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.v3-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.v3-nav a:hover { color: var(--text); }

.v3-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v3-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.v3-btn:hover { transform: translateY(-1px); }

.v3-btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 24px var(--orange-glow);
}

.v3-btn-primary:hover {
    box-shadow: 0 8px 32px var(--orange-glow);
}

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

.v3-btn-outline:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.v3-btn-teal {
    background: var(--teal);
    color: #fff;
}

.v3-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

/* ── Hero ── */
.v3-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.v3-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
    pointer-events: none;
}

.v3-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.v3-hero-grid > * {
    min-width: 0;
}

.v3-hero-aside {
    width: 100%;
    min-width: 0;
}

/* ── Developer terminal (MCP) ── */
.v3-terminal {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.v3-terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid var(--border);
}

.v3-terminal-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

.v3-terminal-dot.red { background: #ff5f57; }
.v3-terminal-dot.yellow { background: #febc2e; }
.v3-terminal-dot.green { background: #28c840; }

.v3-terminal-title {
    margin-left: 6px;
    min-width: 0;
    flex: 1;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v3-terminal-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 6px 2px 5px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.v3-terminal-live-bars {
    display: flex;
    align-items: flex-end;
    gap: 1.5px;
    height: 9px;
    padding-bottom: 0;
}

.v3-terminal-live-bars i {
    display: block;
    width: 1.5px;
    border-radius: 1px;
    background: #22c55e;
    transform-origin: bottom;
    animation: v3LiveBar 1.1s ease-in-out infinite;
}

.v3-terminal-live-bars i:nth-child(1) {
    height: 4px;
    animation-delay: 0s;
}

.v3-terminal-live-bars i:nth-child(2) {
    height: 7px;
    animation-delay: 0.18s;
}

.v3-terminal-live-bars i:nth-child(3) {
    height: 5px;
    animation-delay: 0.36s;
}

@keyframes v3LiveBar {
    0%, 100% { transform: scaleY(0.45); opacity: 0.45; }
    50% { transform: scaleY(1); opacity: 1; }
}

.v3-terminal-live-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.58rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.01em;
}

.v3-terminal-live-text::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 4px rgba(34, 197, 94, 0.5);
}

.v3-terminal.is-typing .v3-terminal-live {
    border-color: rgba(34, 197, 94, 0.22);
    background: rgba(34, 197, 94, 0.08);
}

.v3-terminal.is-typing .v3-terminal-live-text {
    color: #bbf7d0;
}

.v3-terminal.is-typing .v3-terminal-live-text::before {
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.85);
    animation: v3LiveDotPulse 1s ease-in-out infinite;
}

.v3-terminal.is-typing .v3-terminal-live-bars i {
    background: #4ade80;
}

@keyframes v3LiveDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.85); }
}

.v3-terminal-body {
    padding: 22px 20px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.78rem;
    line-height: 1.75;
    height: 340px;
    max-height: 340px;
    overflow-x: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.v3-terminal-body.is-typing {
    scroll-behavior: auto;
}

.v3-terminal-body .comment { color: #64748b; }
.v3-terminal-body .keyword { color: #c084fc; }
.v3-terminal-body .string { color: #86efac; }
.v3-terminal-body .fn { color: #67e8f9; }
.v3-terminal-body .num { color: #fbbf24; }

.v3-terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: var(--orange);
    animation: v3CursorBlink 1s step-end infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

@keyframes v3CursorBlink {
    50% { opacity: 0; }
}

.v3-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 24px;
}

.v3-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.v3-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
}

.v3-hero h1 .highlight {
    background: linear-gradient(135deg, var(--teal-light), #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v3-hero h1 .accent {
    background: linear-gradient(135deg, var(--orange), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v3-hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 0 36px;
}

.v3-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.v3-hero-stats {
    display: flex;
    gap: 40px;
}

.v3-stat-item h4 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.02em;
}

.v3-stat-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 4px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* ── Section shared ── */
.v3-section {
    padding: 100px 0;
}

.v3-section--flush-top {
    padding-top: 0;
}

[id="products"],
[id="agentic"],
[id="features"],
[id="media"],
[id="contact"],
[id="faq"],
[id="developers"] {
    scroll-margin-top: 88px;
}

.v3-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    margin-bottom: 12px;
}

.v3-section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 16px;
}

.v3-section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 0 48px;
}

.v3-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.v3-section-header .v3-section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ── Agentic Payment (featured) ── */
.v3-agentic {
    background: linear-gradient(180deg, transparent, rgba(21, 100, 94, 0.08), transparent);
}

.v3-agentic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.v3-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.v3-flow-step {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: background 0.2s, border-color 0.2s;
}

.v3-flow-step:hover {
    background: var(--bg-card-hover);
    border-color: rgba(21, 100, 94, 0.4);
}

.v3-flow-step + .v3-flow-step { margin-top: -1px; border-radius: 0; }
.v3-flow-step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.v3-flow-step:last-child { border-radius: 0 0 var(--radius) var(--radius); }

.v3-flow-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

.v3-flow-step h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
}

.v3-flow-step p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.v3-agent-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.v3-agent-feature {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.v3-agent-feature-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.v3-agent-feature h5 {
    margin: 0 0 6px;
    font-size: 0.9rem;
    font-weight: 700;
}

.v3-agent-feature p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Products bento grid ── */
.v3-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.v3-bento-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.25s, background 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}

.v3-bento-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.v3-bento-card.span-2 { grid-column: span 2; }

.v3-bento-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(21, 100, 94, 0.15), transparent 70%);
    pointer-events: none;
}

.v3-bento-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 100, 94, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.v3-bento-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.v3-bento-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 20px;
}

.v3-bento-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s;
}

.v3-bento-link:hover { gap: 10px; }

.v3-bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.v3-tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ── Features grid ── */
.v3-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.v3-feature-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.v3-feature-card:hover { border-color: rgba(21, 100, 94, 0.35); }

.v3-feature-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
}

.v3-feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    text-transform: capitalize;
}

.v3-feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── Stats band ── */
.v3-stats-band {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    border-radius: var(--radius-lg);
    margin: 0 24px;
}

.v3-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.v3-stats-grid h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.v3-stats-grid p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 8px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Onboarding ── */
.v3-onboarding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.v3-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.v3-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.v3-step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--teal);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 800;
    color: var(--teal-light);
}

.v3-step h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.v3-step p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ── Media ── */
.v3-media-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 45% at 0% 0%, rgba(21, 100, 94, 0.22), transparent 70%),
        radial-gradient(ellipse 40% 40% at 100% 100%, rgba(21, 100, 94, 0.1), transparent 70%);
}

.v3-media-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
    pointer-events: none;
}

.v3-media-top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 32px;
    align-items: end;
    margin-bottom: 28px;
}

.v3-media-intro .v3-section-title {
    max-width: 640px;
    margin-bottom: 12px;
}

.v3-media-intro .v3-section-title .highlight {
    background: linear-gradient(135deg, var(--teal-light), #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v3-media-intro .v3-section-desc {
    margin: 0;
    max-width: 520px;
}

.v3-media-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-width: 320px;
}

.v3-media-stat {
    padding: 16px 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(21, 100, 94, 0.3);
    background: rgba(21, 100, 94, 0.12);
    text-align: center;
}

.v3-media-stat strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.v3-media-stat span {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.v3-media-marquee {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    padding: 14px 0;
    border-block: 1px solid var(--border);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.v3-media-marquee-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    animation: v3MediaMarquee 28s linear infinite;
}

.v3-media-marquee-track span {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.v3-media-marquee-track i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.8;
    flex-shrink: 0;
}

@keyframes v3MediaMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Press carousel */
.v3-press-carousel {
    position: relative;
    z-index: 1;
}

.v3-press-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.v3-press-carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.v3-press-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.v3-press-carousel-dot.is-active {
    width: 28px;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--teal-light), var(--orange));
}

.v3-press-carousel-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.v3-press-carousel-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.v3-press-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.v3-press-carousel-btn:active {
    transform: translateY(0);
}

.v3-press-carousel-viewport {
    overflow: hidden;
    margin-inline: -24px;
    padding-inline: 24px;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.v3-press-carousel-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 0 12px;
}

.v3-press-carousel-track::-webkit-scrollbar {
    display: none;
}

.v3-press-card--slide {
    flex: 0 0 260px;
    scroll-snap-align: start;
    min-height: 0;
    opacity: 0.78;
    transform: scale(0.98);
    transition:
        opacity 0.3s ease,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.v3-press-card--slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.v3-press-card--slide.v3-press-card--hero {
    flex-basis: 280px;
}

.v3-press-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(21, 100, 94, 0.35);
    background: rgba(21, 100, 94, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 8px 32px rgba(0, 0, 0, 0.18);
    color: inherit;
    overflow: hidden;
    isolation: isolate;
    cursor: default;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        opacity 0.3s ease;
}

.v3-press-card-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.65;
    background:
        radial-gradient(ellipse 90% 70% at 0% 0%, rgba(21, 100, 94, 0.55), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(26, 122, 114, 0.25), transparent 50%);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.v3-press-card-index {
    position: absolute;
    top: 4px;
    right: 10px;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
    user-select: none;
}

.v3-press-card--slide.is-active {
    border-color: rgba(26, 122, 114, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 16px 48px rgba(13, 74, 69, 0.35);
}

.v3-press-card--slide.is-active .v3-press-card-bg {
    opacity: 0.85;
}

.v3-press-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.v3-press-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-muted);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.v3-press-badge--featured {
    border-color: rgba(249, 115, 22, 0.35);
    background: rgba(249, 115, 22, 0.12);
    color: #fdba74;
}

.v3-press-badge--featured i {
    font-size: 0.55rem;
}

.v3-press-card-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.v3-press-kicker {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.v3-press-card-main h3 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.018em;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v3-press-card--hero .v3-press-card-main h3 {
    font-size: 0.88rem;
    -webkit-line-clamp: 5;
}

.v3-press-deck {
    display: none;
}

.v3-press-card--hero.v3-press-card--slide {
    padding: 16px;
    border-color: rgba(21, 100, 94, 0.5);
    background: rgba(21, 100, 94, 0.2);
}

.v3-media-logo {
    flex-shrink: 0;
    width: 96px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.v3-media-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 22px;
    object-fit: contain;
}

.v3-media-logo--da { background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.v3-media-logo--techarena { background: linear-gradient(180deg, #fff 0%, #faf5ff 100%); }
.v3-media-logo--ats { background: linear-gradient(180deg, #fff 0%, #fff7ed 100%); }
.v3-media-logo--tuko { background: linear-gradient(180deg, #fff 0%, #fef2f2 100%); }
.v3-media-logo--celo { background: linear-gradient(180deg, #fff 0%, #ecfdf5 100%); }

.v3-press-card--hero .v3-media-logo {
    width: 104px;
    height: 36px;
}

@media (max-width: 768px) {
    .v3-press-carousel-viewport {
        margin-inline: -16px;
        padding-inline: 16px;
    }

    .v3-press-card--slide {
        flex-basis: min(240px, calc(100vw - 48px));
    }

    .v3-press-card--slide.v3-press-card--hero {
        flex-basis: min(260px, calc(100vw - 48px));
    }

    .v3-press-carousel-header {
        margin-bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v3-media-marquee-track {
        animation: none;
    }

    .v3-press-card--slide {
        transform: none;
    }

    .v3-press-card--slide.is-active {
        transform: none;
    }

    .v3-press-carousel-track {
        scroll-behavior: auto;
    }
}

/* ── Contact ── */
.v3-contact-section {
    padding-top: 80px;
}

.v3-contact-head {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 40px;
}

.v3-contact-head .v3-section-title {
    margin-bottom: 12px;
}

.v3-contact-sub {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.v3-contact-panel {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.v3-contact-support {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    background:
        radial-gradient(ellipse 70% 100% at 0% 50%, rgba(21, 100, 94, 0.12), transparent 60%),
        rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.v3-contact-support img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.v3-contact-support-copy strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.v3-contact-support-copy > span {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--orange);
    margin-bottom: 6px;
}

.v3-contact-support-copy p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: 480px;
}

.v3-contact-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.v3-channel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 28px 24px;
    background: rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
    transition: background 0.25s, transform 0.25s;
    min-height: 200px;
}

.v3-channel:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.v3-channel-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.v3-channel--telegram .v3-channel-icon {
    background: rgba(42, 171, 238, 0.15);
    color: #2aabee;
}

.v3-channel--whatsapp .v3-channel-icon {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.v3-channel--email .v3-channel-icon {
    background: rgba(249, 115, 22, 0.12);
    color: var(--orange);
}

.v3-channel strong {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.v3-channel-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
    flex: 1;
}

.v3-channel-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    margin-top: auto;
    transition: gap 0.2s, color 0.2s;
}

.v3-channel--telegram:hover .v3-channel-cta { color: #2aabee; }
.v3-channel--whatsapp:hover .v3-channel-cta { color: #25d366; }
.v3-channel--email:hover .v3-channel-cta { color: var(--orange); }

.v3-channel:hover .v3-channel-cta {
    gap: 12px;
}

/* Footer / shared social icon row */
.v3-social-links {
    display: flex;
    gap: 12px;
}

.v3-social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 11px;
    color: var(--text);
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.v3-social-links a:hover {
    background: var(--teal);
    border-color: var(--teal);
}

/* ── FAQ ── */
.v3-faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.v3-faq-item {
    border-bottom: 1px solid var(--border);
}

.v3-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.v3-faq-question i {
    flex-shrink: 0;
    color: var(--orange);
    transition: transform 0.3s;
}

.v3-faq-item.open .v3-faq-question i { transform: rotate(45deg); }

.v3-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.v3-faq-item.open .v3-faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.v3-faq-answer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── Footer ── */
.v3-footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.v3-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.v3-footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 16px 0 0;
    max-width: 280px;
}

.v3-footer-stores {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.v3-footer-stores a,
.v3-footer-store-badge {
    display: inline-flex;
    line-height: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.v3-footer-stores a:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.v3-footer-stores img {
    height: 40px;
    width: auto;
    display: block;
}

.v3-footer-store-badge {
    opacity: 0.85;
}

.v3-footer-col h5 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 16px;
}

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

.v3-footer-col li { margin-bottom: 10px; }

.v3-footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    cursor: pointer;
}

.v3-footer-col a:hover { color: var(--text); }

.v3-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Mobile nav ── */
.v3-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 18, 25, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding:
        max(24px, env(safe-area-inset-top))
        max(24px, env(safe-area-inset-right))
        max(24px, env(safe-area-inset-bottom))
        max(24px, env(safe-area-inset-left));
    overflow-y: auto;
}

.v3-mobile-nav.open { display: flex; }

.v3-mobile-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
}

.v3-mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .v3-section { padding: 80px 0; }

    .v3-hero-grid,
    .v3-agentic-grid,
    .v3-onboarding-grid { grid-template-columns: 1fr; }

    .v3-agentic-grid,
    .v3-onboarding-grid { gap: 40px; }

    .v3-agent-features { margin-top: 0; }

    .v3-contact-channels { grid-template-columns: 1fr; }

    .v3-media-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .v3-media-stats {
        min-width: 0;
        width: 100%;
    }

    .v3-hero-aside {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .v3-bento { grid-template-columns: 1fr 1fr; }
    .v3-bento-card.span-2 { grid-column: span 2; }

    .v3-features-grid { grid-template-columns: 1fr 1fr; }
    .v3-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .v3-footer-grid { grid-template-columns: 1fr 1fr; }
    .v3-section-header { margin-bottom: 48px; }
}

@media (max-width: 992px) {
    .v3-nav,
    .v3-header-actions { display: none; }

    .v3-mobile-toggle { display: block; }
}

@media (max-width: 768px) {
    .v3-container { padding: 0 16px; }

    .v3-section { padding: 64px 0; }
    .v3-section-header { margin-bottom: 36px; }

    .v3-hero {
        min-height: auto;
        padding: 96px 0 56px;
    }

    .v3-hero-grid { gap: 40px; }

    .v3-hero-desc {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .v3-hero-actions {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 36px;
    }

    .v3-hero-actions .v3-btn {
        width: 100%;
        justify-content: center;
    }

    .v3-hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px 12px;
    }

    .v3-stat-item h4 { font-size: 1.35rem; }

    .v3-stat-item p { font-size: 0.72rem; }

    .v3-terminal-body {
        height: 280px;
        max-height: 280px;
        padding: 16px 14px;
        font-size: 0.68rem;
        line-height: 1.65;
    }

    .v3-terminal-bar { padding: 10px 12px; }

    .v3-terminal-title { font-size: 0.68rem; }

    .v3-bento { grid-template-columns: 1fr; }
    .v3-bento-card.span-2 { grid-column: span 1; }
    .v3-bento-card { padding: 24px; }

    .v3-features-grid,
    .v3-agent-features { grid-template-columns: 1fr; }

    .v3-feature-card { padding: 22px; }

    .v3-stats-band {
        margin: 0 16px;
        padding: 48px 0;
        border-radius: var(--radius);
    }

    .v3-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .v3-stats-grid h3 { font-size: 2rem; }

    .v3-flow-step { padding: 18px; gap: 16px; }

    .v3-step { gap: 16px; }

    .v3-step-num {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }

    .v3-contact-section { padding-top: 64px; }

    .v3-contact-head { margin-bottom: 28px; }

    .v3-contact-support {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
    }

    .v3-channel {
        min-height: auto;
        padding: 22px 20px;
    }

    .v3-faq-question {
        font-size: 0.95rem;
        padding: 20px 0;
    }

    .v3-footer {
        padding: 48px 0 24px;
        margin-top: 24px;
    }

    .v3-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

    .v3-footer-brand p { max-width: none; }

    .v3-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .v3-container { padding: 0 14px; }

    .v3-section { padding: 52px 0; }

    .v3-hero { padding: 88px 0 48px; }

    .v3-hero h1 {
        font-size: clamp(1.85rem, 8.5vw, 2.35rem);
        margin-bottom: 18px;
    }

    .v3-badge {
        font-size: 0.72rem;
        margin-bottom: 16px;
    }

    .v3-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v3-hero-stats .v3-stat-item:last-child {
        grid-column: 1 / -1;
    }

    .v3-section-title { font-size: clamp(1.65rem, 6.5vw, 2rem); }

    .v3-section-desc {
        font-size: 0.92rem;
        margin-bottom: 28px;
    }

    .v3-terminal-body {
        height: 240px;
        max-height: 240px;
        font-size: 0.62rem;
    }

    .v3-stats-band {
        margin: 0 14px;
        padding: 40px 0;
    }

    .v3-stats-grid h3 { font-size: 1.75rem; }

    .v3-stats-grid p { font-size: 0.78rem; }

    .v3-bento-card { padding: 20px; }

    .v3-bento-card h3 { font-size: 1.1rem; }

    .v3-onboarding-grid .v3-btn { width: 100%; justify-content: center; }

    .v3-media-stats {
        grid-template-columns: 1fr;
    }

    .v3-media-stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .v3-media-stat strong {
        margin: 0;
    }

    .v3-footer-stores img { height: 36px; }

    .v3-mobile-nav a { font-size: 1.1rem; }

    .v3-mobile-nav .v3-btn {
        width: min(100%, 280px);
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .v3-hero-stats { grid-template-columns: 1fr; }

    .v3-hero-stats .v3-stat-item:last-child { grid-column: auto; }

    .v3-stats-grid { grid-template-columns: 1fr; }

    .v3-hero-actions .v3-btn,
    .v3-btn {
        padding: 13px 18px;
        font-size: 0.85rem;
    }
}
