/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #22223a;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a80;
    --accent-1: #7c3aed;
    --accent-2: #06b6d4;
    --accent-gradient: linear-gradient(135deg, #7c3aed, #06b6d4);
    --accent-glow: rgba(124, 58, 237, 0.3);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ===== Typography ===== */
h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-2);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 100px;
    background: rgba(6, 182, 212, 0.08);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 16px auto 0;
}

.section {
    padding: 100px 0;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    border-bottom-color: var(--border-color);
    background: rgba(10, 10, 15, 0.9);
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.logo-icon {
    font-size: 1.6rem;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}

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

.nav-cta {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 100px;
    background: var(--accent-gradient);
    color: white !important;
    transition: transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 100px;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.25);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.proof-item {
    display: flex;
    flex-direction: column;
}

.proof-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proof-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Floating code snippets */
.hero-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-code {
    position: absolute;
    padding: 12px 18px;
    background: rgba(26, 26, 46, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.floating-code-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.floating-code-2 {
    top: 60%;
    right: 3%;
    animation-delay: 2s;
}

.floating-code-3 {
    bottom: 15%;
    left: 8%;
    animation-delay: 4s;
}

/* ===== Problem Section ===== */
.problem-section {
    background: var(--bg-secondary);
}

.problem-section h2 {
    text-align: center;
    margin-bottom: 56px;
}

.problem-section .section-label {
    display: block;
    text-align: center;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.problem-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.problem-card h3 {
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== How It Works ===== */
.how-section {
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
    text-align: left;
}

.step-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    position: relative;
    transition: all var(--transition);
}

.step-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.step-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.6;
    margin-bottom: 16px;
}

.step-card h3 {
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.step-time {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-2);
}

/* ===== Tiers ===== */
.tiers-section {
    background: var(--bg-secondary);
    text-align: center;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
    text-align: left;
}

.tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

.tier-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.tier-popular {
    border-color: var(--accent-1);
    box-shadow: var(--shadow-glow);
}

.tier-popular:hover {
    border-color: var(--accent-1);
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.25);
}

.tier-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tier-header {
    padding: 32px 28px 24px;
    border-bottom: 1px solid var(--border-color);
}

.tier-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tier-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tier-body {
    padding: 28px;
}

.tier-body ul {
    margin-bottom: 24px;
}

.tier-body li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tier-body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-2);
    font-weight: 700;
}

.tier-best {
    padding: 12px 16px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--accent-2);
    font-weight: 500;
}

/* ===== Pricing ===== */
.pricing-section {
    text-align: center;
}

.pricing-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 56px;
    text-align: left;
}

.pricing-main {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
}

.price-tag {
    margin-bottom: 12px;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-unit {
    font-size: 1.3rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-note {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pricing-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pricing-feature .check {
    font-size: 1.2rem;
    color: var(--accent-2);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-feature strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
}

.pricing-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.pricing-example {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-example h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.example-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    transition: all var(--transition);
}

.example-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.example-label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.example-details {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.example-price {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.example-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ===== Testimonials ===== */
.testimonials-section {
    background: var(--bg-secondary);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    text-align: left;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.stars {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-text em {
    color: var(--accent-2);
    font-style: normal;
    font-weight: 600;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.author-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-result {
    padding: 10px 14px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-1);
}

/* ===== Founder ===== */
.founder-section {
    text-align: center;
}

.founder-content {
    max-width: 720px;
    margin: 48px auto 0;
    text-align: left;
}

.founder-info h3 {
    font-size: 1.8rem;
    margin-bottom: 4px;
    text-align: center;
}

.founder-role {
    color: var(--accent-2);
    font-weight: 500;
    margin-bottom: 24px;
    text-align: center;
}

.founder-info > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.founder-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 36px 0;
    padding: 28px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.founder-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.founder-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.founder-link {
    font-weight: 600;
    color: var(--accent-2) !important;
    transition: opacity var(--transition);
}

.founder-link:hover {
    opacity: 0.8;
}

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-form {
    max-width: 640px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-input {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition);
    width: 100%;
}

.form-input:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 16px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ===== Footer ===== */
.footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll-triggered animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

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

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-proof {
        flex-direction: column;
        gap: 24px;
    }

    .proof-divider {
        width: 40px;
        height: 1px;
    }

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

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

    .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .founder-stats {
        gap: 24px;
    }

    .section {
        padding: 72px 0;
    }

    .floating-code {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }
}
