/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #09090b;
    color: #e4e4e7;
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
input, select, button { font-family: inherit; }

/* ===== Utilities ===== */
.gradient-text {
    background: linear-gradient(135deg, #818cf8, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}
.section-subtitle {
    text-align: center;
    color: #a1a1aa;
    font-size: 1.1rem;
    max-width: 540px;
    margin: 0 auto 3rem;
}
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

/* ===== Nav ===== */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 1.5rem;
    backdrop-filter: blur(16px);
    background: rgba(9,9,11,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.15rem;
}
.logo-accent { color: #818cf8; }
.logo-dot { color: #06b6d4; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: #a1a1aa;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}

/* ===== Breadcrumb ===== */
.breadcrumb-bar {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 0.5rem 1.5rem;
    background: rgba(9,9,11,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.breadcrumb-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #52525b;
}
.breadcrumb-inner a {
    color: #71717a;
    transition: color 0.2s;
}
.breadcrumb-inner a:hover { color: #a1a1aa; }
.breadcrumb-current { color: #a5b4fc; font-weight: 500; }

/* ===== Hero ===== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 1.5rem 4rem;
    overflow: hidden;
}
.hero-bg-effects { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}
.hero-orb-1 { width: 500px; height: 500px; background: #6366f1; top: -100px; left: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: #06b6d4; bottom: -50px; right: -50px; }
.hero-orb-3 { width: 300px; height: 300px; background: #8b5cf6; top: 40%; left: 50%; transform: translateX(-50%); }
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
}
.badge-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
#hero h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: #a1a1aa;
    max-width: 560px;
    margin: 0 auto 2rem;
}
.hero-subtitle strong { color: #22c55e; }
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}
.stat-label { font-size: 0.8rem; color: #71717a; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99,102,241,0.4);
}

/* ===== Chargeback Flow ===== */
#chargeback-flow {
    padding: 4rem 1.5rem 6rem;
}
.flow-container {
    max-width: 1100px;
    margin: 0 auto;
}
.flow-visualization {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
    min-height: 420px;
}
.flow-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    color: #a1a1aa;
}
.label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.label-dot.danger { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,0.5); }
.label-dot.success { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.5); }

.chargeback-stream, .resolved-stream {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 380px;
    overflow: hidden;
}

/* Chargeback card */
.chargeback-card {
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.15);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.4s ease;
}
.chargeback-card.processing {
    border-color: rgba(99,102,241,0.4);
    background: rgba(99,102,241,0.08);
    box-shadow: 0 0 20px rgba(99,102,241,0.15);
}
.chargeback-card.resolved {
    opacity: 0;
    transform: translateX(40px);
}
.cb-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(239,68,68,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.cb-details { flex: 1; min-width: 0; }
.cb-amount {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fca5a5;
    font-family: 'JetBrains Mono', monospace;
}
.cb-reason {
    font-size: 0.75rem;
    color: #71717a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cb-status {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.cb-status.new { background: rgba(239,68,68,0.15); color: #fca5a5; }
.cb-status.analyzing { background: rgba(99,102,241,0.15); color: #a5b4fc; }
.cb-status.won { background: rgba(34,197,94,0.15); color: #86efac; }

/* Resolved card */
.resolved-card {
    background: rgba(34,197,94,0.06);
    border: 1px solid rgba(34,197,94,0.15);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.resolved-card .cb-icon {
    background: rgba(34,197,94,0.15);
}
.resolved-card .cb-amount {
    color: #86efac;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Shield */
.flow-shield {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
}
.shield-container {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}
.shield-ring-outer {
    width: 180px;
    height: 180px;
    border-color: rgba(99,102,241,0.15);
    animation: ringPulse 3s ease-in-out infinite;
}
.shield-ring-middle {
    width: 140px;
    height: 140px;
    border-color: rgba(99,102,241,0.25);
    animation: ringPulse 3s ease-in-out infinite 0.5s;
}
.shield-ring-inner {
    width: 100px;
    height: 100px;
    border-color: rgba(99,102,241,0.4);
    animation: ringPulse 3s ease-in-out infinite 1s;
}
@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.08); opacity: 1; }
}
.shield-core {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    background: rgba(99,102,241,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(99,102,241,0.3);
}
.shield-label {
    position: absolute;
    bottom: -8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #818cf8;
    white-space: nowrap;
}
.shield-status {
    position: absolute;
    bottom: -28px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: #71717a;
    white-space: nowrap;
}
.status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Counters */
.flow-counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.counter {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.04);
}
.counter-label { display: block; font-size: 0.75rem; color: #71717a; margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.06em; }
.counter-value {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, #818cf8, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Steps ===== */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.step-card {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    transition: transform 0.3s, border-color 0.3s;
}
.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99,102,241,0.3);
}
.step-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
}
.step-icon { margin-bottom: 1rem; }
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: #fff; }
.step-card p { font-size: 0.875rem; color: #a1a1aa; }
.step-connector {
    display: flex;
    align-items: center;
    padding-top: 4rem;
}

/* ===== Social Proof ===== */
#social-proof {
    background: rgba(255,255,255,0.01);
}
.tweets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.tweet-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s, border-color 0.3s;
}
.tweet-card:hover {
    transform: translateY(-3px);
    border-color: rgba(29,155,240,0.3);
}
.tweet-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.tweet-avatar { width: 44px; height: 44px; border-radius: 50%; }
.tweet-name { display: flex; align-items: center; gap: 0.35rem; font-weight: 700; font-size: 0.95rem; color: #fff; }
.tweet-handle { display: block; font-size: 0.8rem; color: #71717a; }
.tweet-text { font-size: 0.9rem; line-height: 1.5; color: #d4d4d8; margin-bottom: 1rem; }
.tweet-text strong { color: #22c55e; }
.tweet-mention { color: #1d9bf0; }
.tweet-stats {
    display: flex;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: #71717a;
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.feature-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.75rem;
    transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99,102,241,0.3);
}
.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.85rem; color: #a1a1aa; }

/* ===== Signup ===== */
#signup {
    padding: 6rem 1.5rem;
}
.signup-container {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    overflow: hidden;
}
.signup-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%);
    pointer-events: none;
}
.signup-content { position: relative; z-index: 1; }
.signup-badge {
    display: inline-block;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 1rem;
}
.signup-content h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: #fff;
}
.signup-content > p {
    color: #a1a1aa;
    margin-bottom: 1.5rem;
}
.signup-perks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    text-align: left;
    margin-bottom: 1.5rem;
}
.perk {
    font-size: 0.85rem;
    color: #d4d4d8;
    padding: 0.3rem 0;
}
.signup-form { display: flex; flex-direction: column; gap: 0.75rem; }
.form-row { display: flex; gap: 0.75rem; }
.form-row input, .form-row select {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus {
    border-color: #6366f1;
}
.form-row select { color: #71717a; cursor: pointer; }
.form-row select option { background: #18181b; color: #fff; }
.signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99,102,241,0.4);
}
.form-note { font-size: 0.75rem; color: #52525b; margin-top: 0.25rem; }
.success-message { padding: 2rem 0; }
.success-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.success-message h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.success-message p { color: #a1a1aa; }

/* ===== Footer ===== */
#footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2.5rem 1.5rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-brand { margin-bottom: 1rem; }
.footer-brand .logo { justify-content: center; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.85rem; color: #52525b; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1rem; font-size: 0.8rem; color: #71717a; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.75rem; color: #3f3f46; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links a:not(.nav-cta) { display: none; }
    .flow-visualization { grid-template-columns: 1fr; gap: 1.5rem; }
    .flow-shield { padding: 1rem 0; }
    .flow-counters { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-connector { display: none; }
    .tweets-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 1rem; }
    .signup-perks { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .signup-container { padding: 2rem 1.5rem; }
}
