:root {
    --font-main: 'Inter', sans-serif;
    
    /* Colors - Tailwind Slate */
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;

    /* Colors - Tailwind Sky (shades for accents/backgrounds) */
    --color-sky-50: #f0f9ff;
    --color-sky-100: #e0f2fe;
    --color-sky-500: #0ea5e9;

    /* Main Brand Color */
    --color-primary: oklch(68.5% 0.169 237.323);
    /* Hover state approximated manually for oklch or using slightly different lightness */
    --color-primary-hover: oklch(60% 0.169 237.323);
    --color-primary-light: oklch(96% 0.03 237.323);

    --base-bg: var(--color-slate-50);
    --base-text: var(--color-slate-600);
    --heading-text: var(--color-slate-900);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--base-bg);
    color: var(--base-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-text);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

input, textarea, select {
    width: 100%; 
    padding: 0.75rem 1rem; 
    border-radius: 12px; 
    border: 1px solid var(--color-slate-200); 
    background-color: var(--color-slate-50); 
    color: var(--color-slate-900); 
    font-family: inherit; 
    font-size: 1rem; 
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    outline: none !important;
    border-color: var(--color-primary) !important;
    background-color: white !important;
    box-shadow: 0 0 0 4px var(--color-primary-light) !important;
}

input[aria-invalid="true"] {
    background-color: rgb(250, 231, 231);
    border-color: red
}

form .helptext {
    font-size: 12px;
    color: var(--color-slate-400);
    padding-left:0;
    padding-bottom:0.5rem
}

form .helptext ul {
    padding-left: 1rem;
}

form .errorlist{
    list-style: none;
    color: red;
    font-size: 12px;
    margin-bottom: 1rem;
}

/* Responsive grid */
@media (max-width: 768px) {
    section div[style*="grid-template-columns: 1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

label {
    display: block; 
    font-size: 0.875rem; 
    font-weight: 600;
    color: var(--color-slate-700); 
    margin-bottom: 0.5rem;
    }

/* Utilities */

.alert {
    padding:0.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1rem;
}

.alert.error {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #b91c1c;
}

.alert.success {
    background-color: rgba(225, 255, 217, 0.8);;
    color: #166534; 
    border: 1px solid #166534;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px; /* Pill */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-secondary {
    background-color: white;
    color: var(--color-slate-700);
    border: 1px solid var(--color-slate-200);
}
.btn-secondary:hover {
    background-color: var(--color-slate-50);
    border-color: var(--color-slate-300);
    color: var(--color-slate-900);
}

.text-primary {
    color: var(--color-primary) !important; 
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}
nav .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    font-weight: 800;
    color: var(--heading-text);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo img {
    height: 44px;
    width: auto;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    color: var(--color-slate-600);
}
.nav-links a:hover {
    color: var(--color-primary);
}

/* Hero */
.hero {
    padding-top: 160px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}
/* Background decorative blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}
.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
    opacity: 0.15;
}
.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--color-sky-500);
    bottom: 0;
    left: -50px;
    opacity: 0.10;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-slate-900) 0%, var(--color-slate-700) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.25rem;
    color: var(--color-slate-500);
    margin-bottom: 2.5rem;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}
.hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--color-slate-200);
    margin: 0 auto;
    position: relative;
    background: var(--color-slate-100);
}
.placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-slate-400);
    font-weight: 500;
}

/* Sections */
section {
    padding: 6rem 0;
}
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.section-header p {
    font-size: 1.125rem;
    color: var(--color-slate-500);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--color-slate-100);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--color-primary-light);
}
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.icon-box svg {
    width: 24px;
    height: 24px;
}
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.feature-card p {
    color: var(--color-slate-500);
}

/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.split-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.split-content p {
    font-size: 1.125rem;
    color: var(--color-slate-500);
    margin-bottom: 2rem;
}
.split-image {
    background: white;
    padding: 10px 0 0 10px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}
.split-section.reverse .split-content {
    order: 2;
}
.split-section.reverse .split-image {
    order: 1;
}

/* CTA */
.cta-section {
    background: var(--color-slate-900);
    border-radius: 32px;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    color: white;
    margin: 2rem 0;
}
.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.cta-section p {
    color: var(--color-slate-300);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.25rem;
}
.cta-blob {
    position: absolute;
    background: var(--color-primary);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--color-slate-200);
    background: white;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}
.footer-brand p {
    margin-top: 1rem;
    color: var(--color-slate-500);
    max-width: 300px;
}
.footer-col h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-slate-400);
    margin-bottom: 1.5rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.75rem;
}
.footer-col ul li a {
    color: var(--color-slate-600);
}
.footer-col ul li a:hover {
    color: var(--color-primary);
}

/* Responsive */
/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    z-index: 100;
    padding: 5px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-slate-800);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .split-section { grid-template-columns: 1fr; gap: 2rem; }
    .split-section.reverse .split-content { order: 0; }
    .split-section.reverse .split-image { order: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    /* Mobile Nav */
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 40; 
        box-shadow: none;
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        margin: 1rem 0;
    }
}

/* Timeline Component */
.timeline {
    position: relative;
    padding: 4rem 0;
    margin-top: 2rem;
}

.timeline-track {
    position: absolute;
    top: 110px; /* Center of the larger circle */
    left: 50px;
    right: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--color-slate-200) 0%, var(--color-slate-200) 100%);
    z-index: 1;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-step {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    position: relative;
}

.step-circle {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 25px -5px rgba(0, 0, 0, 0.05),
        0 8px 10px -6px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 3;
    color: var(--color-slate-400);
}

.step-circle svg {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.timeline-step:hover .step-circle {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--color-sky-50);
    color: var(--color-primary);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.9);
}

.step-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
    z-index: 4;
}

.step-info h4 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--heading-text);
    font-weight: 700;
}

.step-info p {
    font-size: 0.9375rem;
    color: var(--color-slate-500);
    line-height: 1.6;
    max-width: 200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .timeline-track {
        display: none;
    }
    .timeline-steps {
        flex-direction: column;
        gap: 4rem;
        align-items: flex-start;
        padding-left: 1.5rem;
    }
    .timeline-steps::before {
        content: '';
        position: absolute;
        left: 54px; /* (step-circle width 80 / 2) + padding-left 1.5rem (24px) = 40+24=64... let's adjust */
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--color-slate-200);
        z-index: 1;
    }
    .timeline-step {
        flex-direction: row;
        text-align: left;
        gap: 2.5rem;
        padding: 0;
        width: 100%;
    }
    .step-circle {
        margin-bottom: 0;
        flex-shrink: 0;
        width: 80px;
        height: 80px;
    }
    .timeline-steps::before {
        left: 54px;
    }
    .step-info p {
        max-width: none;
        margin: 0;
    }
}

/* Pricing Component */
.pricing-grid {
    display: flex;
    flex-direction: row;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

    @media (max-width: 768px) {
        .pricing-grid {
        flex-direction: column;
        }
    }

.pricing-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--color-slate-100);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    /* display: flex; */
    flex-direction: column;
    height: auto;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary-light);
}

.pricing-card.featured {
    border: 2px solid var(--color-primary);
    box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.15);
    background: linear-gradient(to bottom, white, var(--color-sky-50));
}

.badge-featured {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 1rem 0.15rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    bottom: 20px;
    width: 160px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--heading-text);
    margin: 0.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--color-slate-400);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--color-slate-600);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Checkout Page Styles */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    text-align: left;
    max-width: 100%;
}

.checkout-info h1 {
    font-size: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    background: none;
    -webkit-text-fill-color: initial;
}

.checkout-info p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-slate-500);
}

.step-indicator {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.social-proof-label {
    color: var(--color-slate-400);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.social-proof-logos {
    display: flex;
    gap: 2rem;
    opacity: 0.5;
    filter: grayscale(1);
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.social-proof-logos div {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-slate-400);
}

.testimonial-card {
    padding: 1.5rem;
    background: var(--color-sky-50);
    border-radius: 16px;
    border: 1px solid var(--color-sky-100);
}

.testimonial-text {
    font-style: italic;
    color: var(--color-slate-600);
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    background: var(--color-slate-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.author-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-slate-900);
}

.author-title {
    font-size: 0.75rem;
    color: var(--color-slate-500);
}

.payment-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--color-slate-400);
}

.payment-badge span {
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.featured-image-wrapper {
    margin-bottom:2rem;
}
.hero-image {
    max-width:100%;
    margin-top:2rem;
    margin-bottom:0.5rem;
}
/* Markdown Content Styles */
.markdown-content {
    font-family: var(--font-main);
    color: var(--color-slate-700);
    line-height: 1.8;
    font-size: 1.125rem;
}

.markdown-content h2 {
    font-size: 1.875rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--heading-text);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.markdown-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--heading-text);
    font-weight: 600;
}

.markdown-content p {
    margin-bottom: 1.5rem;
}

.markdown-content ul, .markdown-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
}

.markdown-content strong {
    color: var(--heading-text);
    font-weight: 600;
}

.markdown-content h4{
    margin: 0.5rem 0;
}

.markdown-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.markdown-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-slate-600);
    background: var(--color-slate-50);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.markdown-content pre {
    background: var(--color-slate-900);
    color: var(--color-slate-100);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    font-size: 0.9rem;
}

.markdown-content code {
    font-family: monospace;
}

/* Table Styles */
.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.markdown-content th {
    background: var(--color-slate-50);
    color: var(--heading-text);
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--color-slate-200);
}

.markdown-content td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-slate-200);
}

.markdown-content tr:last-child td {
    border-bottom: none;
}