* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
    line-height: 1.6;
    color: #0A2540;
    background: #ffffff;
    font-size: 16px;
}

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

/* Header - Stripe Style */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #E3E8EE;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: all 0.2s ease;
}

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

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #0A2540;
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: #425466;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: #0A2540;
}

.nav-cta {
    background: #635BFF;
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.nav-cta:hover {
    background: #5A52E8;
    transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: #0A2540;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section - Stripe Style */
.hero {
    padding: 160px 0 120px;
    background: linear-gradient(150deg, #ffffff 15%, #f8fafc 70%, #f1f5f9 94%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 91, 255, 0.15), transparent 60%);
    pointer-events: none;
}

/* Integration Artwork */
.integration-artwork {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.4;
    overflow: hidden;
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(99, 91, 255, 0.3), transparent);
    animation: pulse 3s ease-in-out infinite;
}

.api-node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #635BFF, #7C3AED);
    box-shadow: 0 0 20px rgba(99, 91, 255, 0.4);
    animation: glow 2s ease-in-out infinite alternate;
}

.api-node.large {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
}

.floating-icon {
    position: absolute;
    font-size: 18px;
    color: rgba(99, 91, 255, 0.2);
    animation: float 4s ease-in-out infinite;
}

.code-snippet {
    position: absolute;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 10px;
    color: rgba(66, 84, 102, 0.3);
    font-weight: 400;
    letter-spacing: 0.5px;
}

@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.8; } }
@keyframes glow { 0% { transform: scale(1); box-shadow: 0 0 20px rgba(99, 91, 255, 0.4);} 100% { transform: scale(1.1); box-shadow: 0 0 30px rgba(99, 91, 255, 0.6);} }
@keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg);} 25% { transform: translateY(-10px) rotate(2deg);} 50% { transform: translateY(-5px) rotate(0deg);} 75% { transform: translateY(-15px) rotate(-2deg);} }

.hero-content { text-align: center; position: relative; z-index: 2; }
.hero h1 { font-size: 72px; font-weight: 600; margin-bottom: 24px; line-height: 1.1; letter-spacing: -0.025em; color: #0A2540; max-width: 900px; margin-left: auto; margin-right: auto; }
.hero-subtitle { font-size: 21px; color: #425466; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; font-weight: 400; line-height: 1.5; }
.hero-cta { display: inline-flex; align-items: center; gap: 8px; background: #635BFF; color: white; padding: 14px 24px; border-radius: 6px; font-weight: 500; text-decoration: none; font-size: 16px; transition: all 0.15s ease; box-shadow: 0 4px 14px 0 rgba(99, 91, 255, 0.2); }
.hero-cta:hover { background: #5A52E8; transform: translateY(-2px); box-shadow: 0 8px 25px 0 rgba(99, 91, 255, 0.3); }

/* Section Styling */
.section { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-size: 48px; font-weight: 600; margin-bottom: 16px; color: #0A2540; letter-spacing: -0.025em; line-height: 1.2; }
.section-header p { font-size: 20px; color: #425466; max-width: 640px; margin: 0 auto; line-height: 1.5; }

/* Problem Section */
.problem { background: linear-gradient(150deg, #f8fafc 15%, #ffffff 70%, #f8fafc 94%); }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.problem-card { background: white; padding: 40px 32px; border-radius: 12px; border: 1px solid #E3E8EE; transition: all 0.15s ease; position: relative; }
.problem-card:hover { border-color: #C7D2FE; box-shadow: 0 8px 32px rgba(99, 91, 255, 0.08); transform: translateY(-2px); }
.problem-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: #0A2540; letter-spacing: -0.01em; }
.problem-card p { color: #425466; line-height: 1.6; font-size: 16px; }

/* How It Works */
.how-it-works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; max-width: 900px; margin: 0 auto; }
.step { text-align: center; }
.step-number { width: 56px; height: 56px; background: linear-gradient(135deg, #635BFF, #7C3AED); color: white; border-radius: 100%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 20px; margin: 0 auto 24px; }
.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: #0A2540; letter-spacing: -0.01em; }
.step p { color: #425466; line-height: 1.6; }

/* Features Section */
.features { background: linear-gradient(150deg, #ffffff 15%, #f8fafc 70%, #ffffff 94%); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.feature-card { background: white; padding: 40px; border-radius: 12px; border: 1px solid #E3E8EE; transition: all 0.15s ease; }
.feature-card:hover { border-color: #C7D2FE; box-shadow: 0 8px 32px rgba(99, 91, 255, 0.08); transform: translateY(-2px); }
.feature-icon { width: 48px; height: 48px; background: linear-gradient(135deg, #635BFF, #7C3AED); border-radius: 100%; display: flex; align-items: center; justify-content: center; float: left; margin-right: 6%; font-size: 20px; color: white; margin-bottom: 10%; }
.feature-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: #0A2540; letter-spacing: -0.01em; }
.feature-card p { color: #425466; line-height: 1.6; }

/* Audience Section */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.audience-card { background: white; padding: 32px; border-radius: 12px; border: 1px solid #E3E8EE; text-align: center; transition: all 0.15s ease; }
.audience-card:hover { border-color: #C7D2FE; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99, 91, 255, 0.08); }
.audience-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: #0A2540; letter-spacing: -0.01em; }
.audience-card p { color: #425466; font-size: 14px; line-height: 1.5; }

/* Why Different */
.why-different { background: linear-gradient(150deg, #f8fafc 15%, #ffffff 70%, #f8fafc 94%); }
.differentiators { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.diff-card { text-align: center; }
.diff-icon { width: 72px; height: 72px; background: linear-gradient(135deg, #635bff, #059669); border-radius: 100%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 28px; color: white; }
.diff-card h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; color: #0A2540; letter-spacing: -0.01em; }
.diff-card p { color: #425466; line-height: 1.6; font-size: 16px; }

/* Final CTA */
.final-cta { background: linear-gradient(135deg, #0A2540 0%, #1A365D 100%); color: white; text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(99, 91, 255, 0.15), transparent 70%); pointer-events: none; }
.final-cta .container { position: relative; z-index: 2; }
.final-cta h2 { font-size: 48px; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.025em; line-height: 1.2; }
.final-cta p { font-size: 20px; margin-bottom: 40px; opacity: 0.9; color: #CBD5E1; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-primary-alt { display: inline-flex; align-items: center; gap: 8px; background: white; color: #0A2540; padding: 14px 24px; border-radius: 6px; font-weight: 500; text-decoration: none; font-size: 16px; transition: all 0.15s ease; }
.cta-primary-alt:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2); }
.cta-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: white; padding: 14px 24px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 6px; font-weight: 500; text-decoration: none; font-size: 16px; transition: all 0.15s ease; }
.cta-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); transform: translateY(-1px); }

/* Code Block Styling (Stripe-inspired) */
.code-preview { background: #0F172A; border-radius: 12px; padding: 28px; margin: 48px auto 24px; max-width: 960px; font-family: 'Monaco', 'Menlo', monospace; font-size: 15px; color: #E2E8F0; border: 1px solid #1E293B; }
.code-line { margin-bottom: 4px; }
.code-comment { color: #64748B; }
.code-string { color: #34D399; }
.code-keyword { color: #60A5FA; }

/* Responsive sizing for code preview */
@media (min-width: 1280px) {
    .code-preview { max-width: 1100px; font-size: 16px; }
}
@media (max-width: 900px) {
    .code-preview { max-width: 100%; padding: 20px; margin: 32px auto 16px; font-size: 13px; }
}

/* Pricing Section */
.pricing-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: stretch; }
.pricing-copy .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #425466; background: #EEF2FF; border: 1px solid #E3E8EE; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.pricing-copy h2 { font-size: 48px; font-weight: 600; margin-bottom: 16px; color: #0A2540; letter-spacing: -0.025em; line-height: 1.2; }
.pricing-copy p { font-size: 18px; color: #425466; max-width: 640px; }
.pricing-badges { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.pricing-badge { display: inline-flex; align-items: center; gap: 8px; background: #EEF2FF; border: 1px solid #E3E8EE; color: #0A2540; padding: 12px 16px; border-radius: 12px; font-weight: 500; font-size: 14px; }
.pricing-card { background: #F6F8FF; border: 1px solid #E3E8EE; border-radius: 16px; padding: 28px; box-shadow: 0 8px 40px rgba(99, 91, 255, 0.08); }
.pricing-card h3 { font-size: 22px; color: #0A2540; font-weight: 600; margin-bottom: 16px; }
.plan-tabs { display: flex; gap: 6px; background: #EAEFFF; border: 1px solid #E3E8EE; padding: 8px; border-radius: 12px; margin-bottom: 24px; }
.plan-tab { flex: 1; background: transparent; border: none; padding: 10px 14px; border-radius: 8px; font-weight: 600; color: #425466; cursor: pointer; }
.plan-tab.active { background: #FFFFFF; color: #0A2540; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.price-row { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 10px; }
.price-amount { font-size: 56px; font-weight: 700; color: #0A2540; letter-spacing: -0.03em; }
.price-amount .currency { display: inline-block; margin-right: 6px; line-height: 1; }
span.currency.long {
    font-size: 0.7em;
}
.price-per { color: #425466; font-weight: 600; }
.plan-desc { color: #425466; margin-bottom: 16px; }
.feature-list { list-style: none; display: grid; gap: 12px; margin: 18px 0 24px; padding: 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; color: #0A2540; }
.feature-list li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #635BFF, #7C3AED); color: white; font-size: 12px; line-height: 1; margin-top: 2px; flex: 0 0 20px; }
.pricing-cta { display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 8px; background: #0A2540; color: white; padding: 16px 20px; border-radius: 12px; text-decoration: none; font-weight: 600; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.pricing-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15); }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .pricing-copy h2 { font-size: 36px; } }

/* Price responsiveness */
@media (max-width: 768px) {
    .price-amount { font-size: 40px; }
    .price-amount .currency.long { font-size: 0.6em; }
}
@media (max-width: 480px) {
    .price-amount { font-size: 34px; }
}

/* Responsive Design */
@media (max-width: 1024px) { .features-grid { grid-template-columns: 1fr; } .how-it-works-grid { grid-template-columns: 1fr; gap: 40px; } .differentiators { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 768px) {
    .hero h1 { font-size: 33px; }
    .hero-subtitle { font-size: 16px; }
    .section-header h2 { font-size: 36px; }
    .mobile-menu-btn { display: flex; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); flex-direction: column; justify-content: flex-start; align-items: flex-start; padding: 100px 40px 40px; gap: 24px; transition: right 0.3s ease; box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1); z-index: 100; }
    .nav-links.active { right: 0; }
    .nav-links li { width: 100%; }
    .nav-links a { font-size: 18px; padding: 12px 0; display: block; width: 100%; border-bottom: 1px solid #E3E8EE; }
    .nav-cta { margin-top: 16px; text-align: center; padding: 12px 24px; }
    .audience-grid { grid-template-columns: 1fr; }
    .problem-grid { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
    .section { padding: 80px 0; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

/* Subtle animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; animation: fadeInUp 0.6s ease-out forwards; }

/* Shimmer Effect */
@keyframes shimmer { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.shimmer-card { position: relative; overflow: hidden; }
.shimmer-card::before { content: ''; position: absolute; top: -3px; left: -3px; right: -3px; bottom: -3px; background: linear-gradient(90deg, #635BFF, #7C3AED, #10B981, #059669, #F59E0B, #D97706, #EF4444, #DC2626, #8B5CF6, #7C3AED, #635BFF, #7C3AED); background-size: 200% 200%; border-radius: 16px; z-index: -1; animation: shimmer 30s linear infinite; }
.shimmer-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: white; border-radius: 12px; z-index: -1; }
.problem-card.shimmer-card::after, .feature-card.shimmer-card::after, .audience-card.shimmer-card::after, .diff-card.shimmer-card::after { background: white; }
.hero-cta.shimmer-card::before { background: linear-gradient(45deg, #635BFF, #7C3AED, #10B981, #059669, #F59E0B, #D97706, #EF4444, #DC2626, #8B5CF6, #7C3AED, #635BFF); }
.hero-cta.shimmer-card::after { background: #635BFF; }
.cta-primary-alt.shimmer-card::after { background: white; }
.cta-secondary.shimmer-card::after { background: transparent; }

/* Back to Top Button */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: #635BFF; color: white; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 20px rgba(99, 91, 255, 0.3); transition: all 0.3s ease; z-index: 99; opacity: 0; transform: translateY(20px); pointer-events: none; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: #5A52E8; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(99, 91, 255, 0.4); }
.back-to-top:active { transform: translateY(-1px); }
@media (max-width: 768px) { .back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; font-size: 18px; } }

/* Footer */
footer { background: #ffffff; border-top: 1px solid #E3E8EE; }
.footer-inner { padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 40px; align-items: start; }
.footer-logo { font-size: 36px; font-weight: 700; color: #0A2540; letter-spacing: -0.025em; }
.footer-col h4 { font-size: 18px; font-weight: 600; color: #0A2540; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #425466; text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: #0A2540; }
.footer-divider { margin: 32px 0 16px; height: 1px; background: #E3E8EE; border: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #425466; font-size: 14px; padding-bottom: 8px; }
.footer-bottom a { color: #0A2540; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 1200px) { .footer-grid { gap: 28px; } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } .footer-logo { font-size: 28px; } .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; } .footer-inner { padding: 32px 7% 16px; } .footer-legal { gap: 16px; } }
@media (max-width: 600px) { .footer-logo { font-size: 24px; } .footer-inner { padding: 28px 7% 12px; } .footer-bottom { font-size: 13px; } }

/* Pricing controls */
.pricing-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.billing-toggle { display: inline-flex; background: #EAEFFF; border: 1px solid #E3E8EE; border-radius: 10px; padding: 4px; gap: 4px; }
.billing-btn { background: transparent; border: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; color: #425466; cursor: pointer; }
.billing-btn.active { background: #FFFFFF; color: #0A2540; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.billing-note { color: #059669; font-size: 12px; font-weight: 600; margin-left: 8px; }
.currency-select { display: inline-flex; align-items: center; gap: 8px; }
.currency-select select { border: 1px solid #E3E8EE; background: #FFFFFF; border-radius: 8px; padding: 8px 10px; color: #0A2540; font-weight: 600; }

/* Code review layout */
.code-review { display: block; max-width: 1100px; margin: 0 auto; }
.code-review .code-preview { margin: 32px auto 0; }

/* Anchor offset for fixed header */
.anchor-offset { scroll-margin-top: 100px; }

/* Gradient text for hero keywords */
.gradient-text {
    background: linear-gradient(-90deg, #fab000, #ff5996, #635bff, #635bff, #ff5996, #fab000);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Add to styles.css */
.nav-links li {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0.5em 0;
    min-width: 180px;
    z-index: 10;
}

.nav-links li:hover > .submenu,
.nav-links li:focus-within > .submenu {
    display: block;
}

.submenu li {
    display: block;
}

.submenu a {
    padding: 0.5em 1em;
    display: block;
    color: #0A2540;
    text-decoration: none;
}

.submenu a:hover {
    background: rgba(99, 91, 255, 0.1);
}


