/* Landing Page - Apple-inspired Design */

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

:root {
    --stripe-primary: #635bff;
    --stripe-primary-dark: #5851ea;
    --stripe-text: #1d1d1f;
    --stripe-text-muted: #6e6e73;
    --stripe-bg: #ffffff;
    --stripe-bg-secondary: #f5f5f7;
    --stripe-border: #d2d2d7;
    --stripe-success: #00d4aa;
    --stripe-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
    box-sizing: border-box;
}

body {
    background: var(--stripe-bg);
    color: var(--stripe-text);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 36px;
}

.logo span {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.03em;
}

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

.nav-links a {
    color: var(--stripe-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--stripe-primary);
}

.nav-links .btn-primary {
    background: var(--stripe-text);
    color: white;
    padding: 10px 18px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.15s ease;
}

.nav-links .btn-primary:hover {
    background: #1a3a5c;
    transform: translateY(-1px);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-bar {
    width: 22px;
    height: 2px;
    background: var(--stripe-text);
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: white;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 91, 255, 0.1);
    color: var(--stripe-primary);
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(44px, 5.5vw, 64px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin: 0 0 20px;
    color: var(--stripe-text);
}

.hero h1 .gradient-text {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 21px;
    color: var(--stripe-text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.5;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.cta-btn svg {
    width: 18px;
    height: 18px;
}

.cta-btn-primary {
    background: var(--stripe-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 91, 255, 0.4);
}

.cta-btn-primary:hover {
    background: var(--stripe-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 91, 255, 0.5);
}

.cta-btn-secondary {
    background: white;
    color: var(--stripe-text);
    border: 1px solid var(--stripe-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cta-btn-secondary:hover {
    border-color: #c8d1dc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Trust Bar */
.privacy-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.privacy-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--stripe-text);
}

.privacy-item svg {
    width: 20px;
    height: 20px;
    color: var(--stripe-primary);
    stroke-width: 2.5;
}

/* Privacy Strip */
.privacy-strip {
    background: var(--stripe-bg-secondary);
    border-top: 1px solid var(--stripe-border);
    border-bottom: 1px solid var(--stripe-border);
    padding: 48px 0;
    margin: 0;
}

.identity-highlight {
    color: var(--stripe-primary);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--stripe-bg);
}

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

.comparison-section .section-header {
    margin-bottom: 28px;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--stripe-text);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 19px;
    color: var(--stripe-text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.glass-card {
    background: white;
    border: 1px solid var(--stripe-border);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.25s ease;
    position: relative;
}

.glass-card:hover {
    border-color: #a1a1a6;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: white;
}

.glass-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--stripe-text);
    margin-bottom: 8px;
}

.glass-card p {
    font-size: 14px;
    color: var(--stripe-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Fee Comparison Widget */
.comparison-section {
    padding: 48px 0;
    background: var(--stripe-bg-secondary);
}

.comparison-widget {
    max-width: 420px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--stripe-border);
}

.widget-header {
    text-align: center;
    margin-bottom: 32px;
}

.widget-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stripe-text-muted);
    margin-bottom: 16px;
}

.widget-amount {
    font-size: 56px;
    font-weight: 700;
    color: var(--stripe-text);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 24px;
    font-feature-settings: 'tnum';
}

.widget-slider {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #e5e5e5;
    border-radius: 100px;
    outline: none;
    cursor: pointer;
}

.widget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.05);
    transition: transform 0.15s ease;
}

.widget-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.widget-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.widget-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.fee-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fee-info {
    flex: 0 0 80px;
}

.fee-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--stripe-text);
}

.fee-rate {
    display: block;
    font-size: 11px;
    color: var(--stripe-text-muted);
}

.fee-bar-wrap {
    flex: 1;
    height: 32px;
    background: #f4f5f7;
    border-radius: 8px;
    overflow: hidden;
}

.fee-bar {
    height: 100%;
    border-radius: 8px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 4px;
}

.fee-bar-vat {
    background: linear-gradient(90deg, #ff6b6b, #ee5253);
}

.fee-bar-lp {
    background: linear-gradient(90deg, var(--stripe-primary), #7c6fff);
}

.fee-value {
    flex: 0 0 52px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    font-feature-settings: 'tnum';
}

.fee-value-vat {
    color: #e03131;
}

.fee-value-lp {
    color: var(--stripe-primary);
}

.widget-savings {
    text-align: center;
    font-size: 15px;
    color: var(--stripe-text-muted);
    padding: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.04));
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 170, 0.15);
}

.widget-savings strong {
    color: #00a67d;
    font-weight: 700;
}

.widget-savings .savings-percent {
    color: #00a67d;
    font-weight: 600;
}

/* Networks Section */
.networks {
    padding: 64px 0;
}

.networks-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.network-icon-only {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: white;
    padding: 3px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    cursor: default;
}

.network-icon-only:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    padding: 60px 0 80px;
}

.cta-card {
    background: #fafafa;
    border-radius: 24px;
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(251, 146, 60, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(236, 72, 153, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(139, 92, 246, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 70%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
    animation: gradientFlow 12s ease-in-out infinite;
    filter: blur(60px);
}

@keyframes gradientFlow {
    0%, 100% {
        transform: translate(0%, 0%) rotate(0deg);
    }
    25% {
        transform: translate(10%, -10%) rotate(90deg);
    }
    50% {
        transform: translate(0%, 10%) rotate(180deg);
    }
    75% {
        transform: translate(-10%, 0%) rotate(270deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--stripe-text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-pricing-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.cta-pricing-row > div:first-child {
    font-size: 48px;
    font-weight: 600;
    color: var(--stripe-text);
    letter-spacing: -0.02em;
}

.cta-pricing-row > div:last-child {
    font-size: 18px;
    color: var(--stripe-text-muted);
}

.cta-card .cta-btn {
    background: var(--stripe-text);
    color: white;
    margin-top: 28px;
    font-weight: 600;
}

.cta-card .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: var(--stripe-bg-secondary);
    border-top: 1px solid var(--stripe-border);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: var(--stripe-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--stripe-text);
}

/* Tablet - 2 columns for features */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--stripe-border);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .privacy-flex {
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .comparison-section {
        padding: 32px 0;
    }

    .comparison-widget {
        margin: 0 16px;
        padding: 24px;
    }

    .widget-amount {
        font-size: 44px;
    }

    .cta-section {
        padding: 40px 0 60px;
    }

    .cta-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .cta-card h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .cta-pricing-row {
        gap: 6px;
        margin-bottom: 16px;
    }

    .cta-pricing-row > div:first-child {
        font-size: 32px;
    }

    .cta-pricing-row > div:last-child {
        font-size: 14px;
    }

    .cta-card .cta-btn {
        padding: 12px 28px;
        font-size: 14px;
    }

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

/* Prevent extra space after footer */
html, body {
    overflow-x: hidden;
}

.footer {
    margin-bottom: 0;
    padding-bottom: 24px;
}

.footer:last-child {
    margin-bottom: 0;
}

/* Ambassador Program Banner */
.ambassador-banner {
    padding: 40px 0 80px;
}

.ambassador-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border-radius: 32px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.ambassador-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 50%;
    pointer-events: none;
}

.ambassador-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.ambassador-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 100px;
    color: #fbbf24;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.ambassador-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.ambassador-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.ambassador-prizes {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.prize-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.prize-place {
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
}

.prize-place.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0f172a;
}

.prize-place.silver {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #0f172a;
}

.prize-place.bronze {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #ffffff;
}

.prize-amount {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

.ambassador-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ambassador-actions .cta-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.ambassador-actions .cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .ambassador-card {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .ambassador-title {
        font-size: 1.75rem;
    }

    .ambassador-desc {
        font-size: 15px;
    }

    .ambassador-prizes {
        gap: 12px;
    }

    .prize-item {
        padding: 12px 16px;
    }

    .prize-amount {
        font-size: 16px;
    }

    .ambassador-actions {
        flex-direction: column;
        align-items: center;
    }

    .ambassador-actions .cta-btn {
        width: 100%;
        max-width: 280px;
    }
}
