/* =========================================
   CSS Variables & Design System Tokens (Light Theme)
   ========================================= */
:root {
    /* Colors */
    --clr-bg-dark: #f1f5f9;
    /* Slate 100 (for "darker" sections in light mode) */
    --clr-bg-darker: #f8fafc;
    /* Slate 50 (main body background) */
    --clr-bg-panel: rgba(255, 255, 255, 0.9);
    /* White panels */

    --clr-primary: #ea580c;
    /* Orange 600 */
    --clr-primary-hover: #c2410c;
    /* Orange 700 */
    --clr-secondary: #2563eb;
    /* Blue 600 */
    --clr-accent: #059669;
    /* Emerald 600 */

    --clr-text-main: #0f172a;
    /* Slate 900 (Main text) */
    --clr-text-muted: #475569;
    /* Slate 600 (Subtitle text) */

    --clr-border: rgba(0, 0, 0, 0.1);
    /* Subtle dark border */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows & Glows */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glow-primary: 0 0 20px rgba(234, 88, 12, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--clr-text-main);
    /* Ensure headings use the dark text */
}

p {
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--clr-text-main);
}

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

/* =========================================
   Layout Utilities
   ========================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--clr-primary), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-dark {
    background-color: var(--clr-bg-dark);
    /* This references Slate 100 now */
}

/* =========================================
   Components: Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: #fff;
    /* White text on primary buttons */
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--clr-border);
    color: var(--clr-text-main);
    /* Dark text for outline buttons */
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.05);
    /* Subtle dark hover */
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

.glow-effect {
    box-shadow: var(--glow-primary);
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(234, 88, 12, 0.4);
}

/* =========================================
   Components: Cards
   ========================================= */
.hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* =========================================
   Header
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(248, 250, 252, 0.8);
    /* Slate 50 transparent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
    transition: padding var(--transition-normal);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--clr-text-main);
}

.logo-accent {
    color: var(--clr-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a:not(.btn) {
    color: var(--clr-text-muted);
    font-weight: 500;
}

.main-nav a:not(.btn):hover {
    color: var(--clr-primary);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-image: url('/Users/joshuajordan/.gemini/antigravity/brain/ded84c59-a763-473f-a86a-d7577bf65a0d/hero_background_light_1772738023539.png');
    background-size: cover;
    background-position: center;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    /* Light theme overlay gradient */
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.7) 0%, rgba(248, 250, 252, 1) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    /* Blue transparent */
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--clr-secondary);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
}

.mockup-container {
    perspective: 1000px;
}

.floating {
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateX(5deg) rotateY(-5deg);
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
    }

    50% {
        transform: translateY(-20px) rotateX(8deg) rotateY(-3deg);
        filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.15));
    }

    100% {
        transform: translateY(0px) rotateX(5deg) rotateY(-5deg);
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
    }
}

/* =========================================
   Trust Bar
   ========================================= */
.trust-bar {
    background-color: var(--clr-bg-dark);
    padding: 2rem 0;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.trust-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(234, 88, 12, 0.1);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* =========================================
   Forms Grid Section
   ========================================= */
.section-header {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.form-card {
    background: var(--clr-bg-panel);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.card-subtitle {
    color: var(--clr-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* =========================================
   How It Works
   ========================================= */
.steps-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    position: relative;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), #fbbf24);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--glow-primary);
}

.step-content h3 {
    font-size: 1.25rem;
}

.step-connector {
    flex: 0 0 100px;
    height: 2px;
    background: var(--clr-border);
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    background: var(--clr-bg-panel);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--clr-border);
}

.feature-item h4 {
    color: var(--clr-text-main);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

/* =========================================
   Pricing Section
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.pricing-card {
    background: var(--clr-bg-panel);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.highlighted {
    border-color: var(--clr-primary);
    background: linear-gradient(to bottom, rgba(234, 88, 12, 0.05), var(--clr-bg-panel));
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 1rem;
    border-radius: 999px;
    box-shadow: var(--glow-primary);
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--clr-border);
}

.card-header h3 {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
}

.price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--clr-text-main);
}

.price span {
    font-size: 1rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

.features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.features li span {
    color: var(--clr-text-muted);
}

.features li span.accent-color {
    color: var(--clr-primary);
}

.pricing-note {
    font-size: 0.875rem;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: var(--clr-bg-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--clr-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    color: var(--clr-text-main);
    margin-bottom: 1.5rem;
}

.link-group a {
    display: block;
    color: var(--clr-text-muted);
    margin-bottom: 0.75rem;
}

.link-group a:hover {
    color: var(--clr-text-main);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--clr-border);
    font-size: 0.875rem;
}

/* =========================================
   Animations Classes (triggered by JS)
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step-connector {
        width: 2px;
        height: 50px;
        margin: 0;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        /* In a real app, add a hamburger menu */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}