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

:root {
    /* "Old Money Technical" Palette */
    --primary: #312E81;      /* Deep Royal Navy */
    --primary-light: #4338CA; 
    --secondary: #059669;    /* Emerald */
    --accent: #D97706;       /* Subtle Gold/Amber */
    
    --bg-body: #FDFCF8;      /* Warm Alabaster */
    --bg-surface: #FFFFFF;
    
    --text-main: #1F2937;
    --text-muted: #4B5563;
    
    --border: #E5E7EB;
    
    /* Spacing & Shape */
    --section-padding: 96px;
    --radius: 6px;           
    --radius-lg: 12px;
    --shadow-soft: 0 20px 40px -10px rgba(49, 46, 129, 0.1);

    /* iMessage Specific Colors */
    --imessage-blue: #007AFF;
    --imessage-gray: #E9E9EB;
}

/* --- Resets & Base --- */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    color: var(--text-main); 
    line-height: 1.6; 
    /* Elegant Mesh Gradient Background */
    background: 
        radial-gradient(circle at 15% 50%, rgba(49, 46, 129, 0.03), transparent 25%), 
        radial-gradient(circle at 85% 30%, rgba(217, 119, 6, 0.04), transparent 25%),
        var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 { 
    font-family: 'Playfair Display', serif; 
    font-weight: 700; 
    line-height: 1.1; 
    margin-bottom: 1rem; 
    color: #111827;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }
ul { list-style: none; }
li { margin-bottom: 0.5rem; }

a { text-decoration: none; color: inherit; transition: color 0.2s; }
button { cursor: pointer; font-family: inherit; transition: all 0.2s ease; }

/* --- Layout Utilities --- */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
    width: 100%;
}

/* --- Components --- */
.btn-primary { 
    background: var(--primary); 
    color: white; 
    padding: 14px 28px; 
    border-radius: var(--radius); 
    border: 1px solid transparent; 
    font-weight: 500; 
    font-size: 1rem;
    letter-spacing: 0.01em;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn-primary:hover { 
    background: var(--primary-light); 
    transform: translateY(-1px); 
    box-shadow: 0 10px 15px -3px rgba(49, 46, 129, 0.15); 
}

.btn-secondary { 
    background: transparent; 
    border: 1px solid var(--border); 
    color: var(--text-main);
    padding: 10px 24px; 
    border-radius: var(--radius); 
    font-weight: 500;
}

.btn-secondary:hover { 
    border-color: var(--primary); 
    color: var(--primary); 
}

.btn-secondary.active { 
    background: var(--primary); 
    color: white; 
    border-color: var(--primary); 
}

.btn-text { 
    background: none; 
    border: none; 
    color: var(--primary); 
    font-weight: 600; 
    padding: 0 16px; 
    font-size: 1rem;
}

.btn-text:hover { text-decoration: underline; }

/* --- Navigation --- */
nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 90px; 
    position: sticky;
    top: 0;
    background: rgba(253, 252, 248, 0.95); 
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

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

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

/* --- Hero Section --- */
.hero { 
    display: flex; 
    align-items: center; 
    padding: 80px 24px 120px; 
    gap: 60px; 
}

.hero-content { flex: 1; }

.hero-subhead { 
    font-size: 1.25rem; 
    margin-bottom: 40px; 
    max-width: 90%; 
    color: var(--text-muted); 
}

.cta-group { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    margin-bottom: 16px; 
}

.micro-copy { 
    font-size: 0.875rem; 
    color: #9CA3AF; 
    font-family: 'Inter', sans-serif; 
}

/* Hero Slideshow */
.hero-visual { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
    position: relative;
    height: 400px; 
    max-width: 550px;
}

.hero-slide { 
    width: 100%; 
    height: 100%;
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-soft); 
    border: 1px solid rgba(255,255,255,0.5);
    position: absolute;
    top: 0; 
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
}

.hero-slide.active { opacity: 1; }

/* --- Benefits Section --- */
.benefits { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 48px; 
    padding: var(--section-padding) 24px;
}

.benefit-item h3 { 
    font-size: 1.25rem; 
    margin-bottom: 12px; 
    color: var(--primary); 
}

/* --- HOST DEMO Section --- */
.demo-section { 
    background: rgba(255,255,255,0.5); 
    padding: var(--section-padding) 24px; 
}

.demo-header { 
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 40px; 
    gap: 20px;
}

.demo-controls { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
}

.demo-controls .btn-sm {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: white;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.demo-controls .btn-sm.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.demo-wrapper { 
    display: flex; 
    background: var(--bg-surface); 
    border-radius: var(--radius-lg); 
    overflow: hidden; 
    box-shadow: var(--shadow-soft); 
    height: 600px; 
    border: 1px solid var(--border); 
}

/* Demo Sidebar */
.demo-sidebar { 
    width: 280px; 
    background: #F8FAFC; 
    padding: 24px; 
    border-right: 1px solid var(--border); 
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-item h4 { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    color: var(--text-muted); 
    margin-bottom: 12px; 
    font-weight: 600; 
}

.timeline-list li { 
    font-size: 0.9rem; 
    padding-left: 12px; 
    border-left: 2px solid var(--border); 
    margin-bottom: 12px; 
}

/* Chat Interface */
.chat-interface { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    position: relative; 
    height: 100%; 
}

.chat-history { 
    flex: 1; 
    padding: 32px; 
    overflow-y: auto; 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    background: white;
}

.message { 
    max-width: 85%; 
    display: flex; 
    flex-direction: column; 
}

.message.agent { align-self: flex-start; }
.message.user { align-self: flex-end; align-items: flex-end; }
.message.status_update { align-self: center; width: 100%; max-width: 100%; }

.bubble { 
    padding: 16px 20px; 
    border-radius: 12px; 
    font-size: 1rem; 
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.agent .bubble { 
    background: #F3F4F6; 
    color: var(--text-main); 
    border-top-left-radius: 2px; 
}

.user .bubble { 
    background: var(--primary); 
    color: white; 
    border-top-right-radius: 2px; 
}

.status-bubble {
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 50px;
    text-align: center;
    border: 1px solid #FDE68A;
    display: inline-block;
    margin: 0 auto;
}

/* Ticket UI */
.ticket { 
    border: 1px solid var(--border); 
    border-radius: var(--radius); 
    padding: 20px; 
    background: white; 
    width: 100%; 
    max-width: 320px;
    margin-top: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.ticket-header { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 12px; 
    font-weight: 600; 
    font-family: 'Inter', sans-serif; 
}

.ticket-details { 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    margin-bottom: 16px; 
    background: #F9FAFB; 
    padding: 10px; 
    border-radius: 4px; 
}

.ticket-details div { margin-bottom: 4px; }

.ticket-actions { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
}

.ticket-actions button { 
    padding: 10px; 
    border-radius: var(--radius); 
    border: none; 
    font-weight: 500; 
    font-size: 0.9rem; 
}

.btn-approve { background: var(--secondary); color: white; }
.btn-modify { background: #F3F4F6; color: var(--text-main); }

/* Chat Input Area */
/* Update .chat-input-area to align items properly when growing */
.chat-input-area { 
    padding: 24px; 
    border-top: 1px solid var(--border); 
    display: flex; 
    gap: 16px; 
    background: white; 
    align-items: flex-end; /* Aligns button to bottom of text block */
}

/* Switch from Input styling to Textarea styling */
#chat-input { 
    flex: 1; 
    padding: 14px 16px; /* Adjusted padding */
    border: 1px solid var(--border); 
    border-radius: 24px; /* Slightly less rounded corners for textarea */
    font-size: 1rem; 
    outline: none; 
    transition: border-color 0.2s;
    background: #FAFAFA;
    resize: none; /* Disable manual resize */
    overflow: hidden; /* Hide scrollbar */
    min-height: 50px;
    height: 50px;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

#chat-input:focus { 
    border-color: var(--primary); 
    background: white; 
}

#send-btn { 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    background: var(--primary); 
    color: white; 
    border: none; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.1s, background 0.1s;
}

#send-btn.clicked { 
    transform: scale(0.9); 
    background: var(--primary-dark); 
}

.input-field { color: #000; }

/* Speed Controller */
.speed-control-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
}

.speed-control-wrapper label { 
    font-size: 0.8rem; 
    font-weight: 600; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
}

.speed-control-wrapper select { 
    padding: 6px 10px; 
    border: 1px solid var(--border); 
    border-radius: 4px; 
    font-size: 0.85rem; 
    background: white; 
    cursor: pointer; 
}

/* --- GUEST DEMO Section (iPhone) --- */
.guest-demo-section {
    padding: var(--section-padding) 24px;
    background: #F3F4F6;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.guest-layout { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 60px; 
    flex-wrap: wrap; 
}

.guest-text { flex: 1; min-width: 300px; }

.guest-controls { 
    margin-top: 24px; 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
}

.iphone-wrapper { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
    min-width: 300px; 
}

/* CSS iPhone Frame */
.iphone-frame {
    width: 320px; 
    height: 640px;
    background: #111; 
    border-radius: 40px; 
    padding: 6px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    position: relative; 
    border: 4px solid #333;
}

.notch {
    width: 105px; 
    height: 24px; 
    background: #111;
    position: absolute; 
    top: 12px; 
    left: 50%; 
    transform: translateX(-50%);
    border-bottom-left-radius: 12px; 
    border-bottom-right-radius: 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    z-index: 20;
}

.iphone-screen {
    background: white; 
    width: 100%; 
    height: 100%;
    border-radius: 30px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative; 
    z-index: 10;
}

/* App Views (Switching Logic) */
.app-view {
    width: 100%; 
    height: 100%; 
    display: flex; 
    flex-direction: column;
    position: absolute; 
    top: 0; 
    left: 0;
    transition: opacity 0.3s ease; 
    background: white;
}

.app-view.hidden { 
    opacity: 0; 
    pointer-events: none; 
    z-index: -1; 
}

/* iMessage UI */
.imessage-header {
    background: rgba(245,245,245,0.9); 
    backdrop-filter: blur(10px);
    height: 80px; 
    padding-top: 30px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-bottom: 1px solid #ddd; 
    position: relative;
}

.back-arrow { 
    position: absolute; 
    left: 15px; 
    color: var(--imessage-blue); 
    font-size: 24px; 
    top: 42px; 
}

.contact-info { 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
}

.contact-info .name { font-weight: 600; font-size: 0.9rem; }
.contact-info .status { font-size: 0.7rem; color: #888; }

.imessage-body { 
    flex: 1; 
    background: white; 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    overflow-y: auto; 
}

.msg-bubble { 
    max-width: 75%; 
    padding: 10px 16px; 
    font-size: 0.9rem; 
    line-height: 1.4; 
    border-radius: 20px; 
    margin-bottom: 4px; 
}

.msg-guest { 
    align-self: flex-end; 
    background: var(--imessage-blue); 
    color: white; 
    border-bottom-right-radius: 4px; 
}

.msg-bot { 
    align-self: flex-start; 
    background: var(--imessage-gray); 
    color: black; 
    border-bottom-left-radius: 4px; 
}

/* Allow container to grow vertically */
.imessage-input { 
    min-height: 50px; /* Changed from height to min-height */
    height: auto;
    padding: 10px 15px; 
    display: flex; 
    align-items: flex-end; /* Align button to bottom */
    gap: 10px; 
    background: #eee; 
}

/* Allow text div to wrap */
.input-field {
    flex: 1; 
    background: white; 
    border-radius: 18px; 
    min-height: 32px; /* Changed from fixed height */
    height: auto;
    border: 1px solid #ddd; 
    padding: 6px 12px; 
    font-size: 0.9rem; /* Increased slightly for readability */
    color: #ccc;
    display: block; /* Changed from flex to block */
    white-space: pre-wrap; /* Enables wrapping */
    word-wrap: break-word;
    line-height: 1.3;
    padding-top: 7px; /* Visual alignment */
}

.send-circle {
    width: 28px; 
    height: 28px; 
    background: var(--imessage-blue);
    border-radius: 50%; 
    color: white; 
    font-size: 14px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 800;
}

/* Browser UI */
.browser-header {
    height: auto;
    min-height: 40px;
    background: #f1f1f1; 
    border-top: 1px solid #ccc;
    border-bottom: none;
    display: flex; 
    align-items: flex-start; 
    padding-top: 15px; 
    justify-content: center; 
    padding-bottom: 15px;
    order: 2;
    z-index: 20;
}

.browser-header .url {
    background: #e1e1e1; 
    padding: 6px 40px; 
    border-radius: 8px; 
    font-size: 0.7rem; 
    color: #555;
    display: flex; 
    align-items: center;
}

.browser-header .url::before { 
    content: '🔒'; 
    font-size: 0.6rem; 
    margin-right: 5px; 
}

.browser-content { 
    flex: 1; 
    overflow-y: auto; 
    background: #111; 
    color: white; 
    padding: 20px; 
    padding-top: 50px;
    text-align: center; 
    order: 1;
}

/* Fake Landing Page Elements (Neon Theme) */
.lp-hero { margin-bottom: 20px; }

.lp-title {
    font-family: 'Playfair Display', serif; 
    font-size: 1.8rem;
    color: #ff00ff; 
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.7); 
    margin-bottom: 10px;
}

.lp-details { 
    font-size: 0.9rem; 
    color: #ccc; 
    margin-bottom: 20px; 
}

.btn-rsvp {
    background: #00ffcc; 
    color: black; 
    border: none; 
    padding: 12px 30px;
    border-radius: 50px; 
    font-weight: 800; 
    text-transform: uppercase;
    font-size: 0.9rem; 
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5); 
    margin-bottom: 30px;
}

.btn-rsvp.done { 
    background: #222; 
    color: #00ffcc; 
    border: 2px solid #00ffcc; 
    box-shadow: none; 
}

.hype-wall { 
    text-align: left; 
    background: #222; 
    padding: 15px; 
    border-radius: 12px; 
}

.hype-wall h5 { 
    color: #888; 
    text-transform: uppercase; 
    font-size: 0.7rem; 
    margin-bottom: 10px; 
}

.comment { 
    font-size: 0.8rem; 
    margin-bottom: 8px; 
    border-bottom: 1px solid #333; 
    padding-bottom: 5px; 
}

.comment strong { 
    color: #fff; 
    margin-right: 5px; 
}

/* Founder Section */
.founder-section { 
    padding: var(--section-padding) 24px; 
    display: flex; 
    justify-content: center; 
}

.founder-card {
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    background: white;
    padding: 40px; 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border); 
    max-width: 900px; 
    gap: 40px;
}

.founder-img {
    width: 180px; 
    height: 180px; 
    border-radius: 50%; 
    object-fit: cover;
    border: 4px solid var(--bg-body); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.founder-content { 
    flex: 1; 
    min-width: 300px; 
}

.founder-content h3 { 
    font-size: 1.75rem; 
    color: var(--primary); 
    margin-bottom: 4px; 
}

.founder-content .role { 
    color: var(--accent); 
    font-weight: 600; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    display: block; 
    margin-bottom: 16px; 
}

.founder-content p { 
    font-size: 1.1rem; 
    font-style: italic; 
    color: var(--text-muted); 
}

/* --- Feature & Layout Grids --- */
.features-grid, .steps-grid, .pricing-grid, .testimonials-grid { 
    display: grid; 
    gap: 32px; 
    margin-top: 48px; 
}

.features-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Cards */
.card { 
    padding: 40px; 
    border: 1px solid var(--border); 
    border-radius: var(--radius); 
    background: var(--bg-surface); 
    transition: transform 0.2s, box-shadow 0.2s; 
}

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

.pricing-card.highlight { 
    border: 2px solid var(--primary); 
    background: #ffffff; 
    position: relative; 
    transform: scale(1.02); 
}

.price { 
    font-size: 3rem; 
    font-weight: 800; 
    color: var(--primary); 
    display: block; 
    margin: 24px 0; 
    font-family: 'Inter', sans-serif; 
}

.pricing-card ul li { 
    margin-bottom: 12px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

/* Steps */
.step-card { 
    text-align: center; 
    padding: 20px; 
}

.step-card h4 { 
    color: var(--primary); 
    text-transform: uppercase; 
    font-size: 0.9rem; 
    letter-spacing: 0.1em; 
    margin-bottom: 16px; 
}

/* FAQ */
.faq-item { margin-bottom: 24px; }

.faq-item strong { 
    display: block; 
    font-size: 1.15rem; 
    margin-bottom: 8px; 
    color: var(--primary); 
    font-family: 'Playfair Display', serif; 
}

.faq-item p { margin-bottom: 0; }
.faq-list { max-width: 800px; margin: 40px auto 0; }

#pricing-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto; /* Centers text and pushes grid down */
}

.metrics-strip {
    text-align: center;
    margin-bottom: 60px;
    padding: 32px;
    background: white; /* Card-like background */
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
}

.metrics-strip span {
    display: inline-block;
    margin: 0 10px;
}

/* Ensure these sections specifically have top spacing */
.pricing, .social-proof {
    padding-top: 120px !important; /* Force breathing room */
}

/* --- Footer --- */
footer { 
    background: #111827; 
    color: #9CA3AF; 
    padding: 80px 0; 
    border-top: 1px solid var(--border); 
}

.footer-content { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 60px; 
    padding: 0 24px; 
}

.footer-col h3 { color: white; margin-bottom: 24px; }

.footer-col h4 { 
    color: white; 
    margin-bottom: 24px; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
}

.footer-col a { 
    display: block; 
    margin-bottom: 12px; 
    transition: color 0.2s; 
}

.footer-col a:hover { color: white; }

.footer-col input { 
    padding: 12px; 
    border-radius: 4px; 
    border: none; 
    width: 100%; 
    margin-bottom: 12px; 
    background: #1F2937; 
    color: white; 
}

.footer-col button { 
    width: 100%; 
    padding: 12px; 
    background: var(--primary); 
    color: white; 
    border: none; 
    border-radius: 4px; 
    font-weight: 600; 
}

/* --- Modals --- */
.modal-backdrop { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    background: rgba(17, 24, 39, 0.4); 
    backdrop-filter: blur(5px); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease; 
    z-index: 9999; 
}

.modal-backdrop.open { opacity: 1; pointer-events: all; }

.modal { 
    background: var(--bg-surface); 
    padding: 48px; 
    border-radius: var(--radius-lg); 
    width: 90%; 
    max-width: 480px; 
    position: relative; 
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); 
    border: 1px solid rgba(255,255,255,1); 
}

.modal h3 { margin-bottom: 8px; font-size: 1.75rem; color: var(--primary); }
.modal p { margin-bottom: 24px; font-size: 0.95rem; }

#lead-form { display: flex; flex-direction: column; gap: 16px; }

.modal label { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    font-weight: 600; 
    color: var(--text-muted); 
    margin-bottom: 4px; 
    display: block; 
}

.modal input, .modal select { 
    width: 100%; 
    padding: 12px 16px; 
    border: 1px solid var(--border); 
    border-radius: var(--radius); 
    background: #FAFAFA; 
    font-size: 1rem; 
    font-family: 'Inter', sans-serif; 
    transition: all 0.2s; 
}

.modal input:focus, .modal select:focus { 
    background: white; 
    border-color: var(--primary); 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(49, 46, 129, 0.1); 
}

.checkbox-group { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.checkbox-group input { width: auto; }
.checkbox-group label { margin: 0; text-transform: none; }
.full-width { width: 100%; margin-top: 10px; }

.close-modal { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    background: transparent; 
    border: none; 
    font-size: 1.5rem; 
    color: var(--text-muted); 
    cursor: pointer; 
}

.close-modal:hover { color: var(--primary); }

/* --- Utils --- */
.overlay-btn { 
    position: absolute; 
    bottom: 100px; 
    left: 50%; 
    transform: translateX(-50%); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); 
    z-index: 10; 
}

/* Screen Reader Only - SEO & Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 32px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

#toast { 
    position: fixed; 
    bottom: 24px; 
    right: 24px; 
    background: var(--secondary); 
    color: white; 
    padding: 16px 24px; 
    border-radius: var(--radius); 
    transform: translateY(150px); 
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    z-index: 10000; 
    font-weight: 500; 
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); 
}

#toast.show { transform: translateY(0); }

/* --- Mobile / Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    
    .hero { 
        flex-direction: column; 
        padding: 60px 24px; 
        text-align: center; 
    }

    .hero-subhead { margin: 0 auto 30px; }
    
    .cta-group { justify-content: center; flex-wrap: wrap; }
    
    .demo-sidebar { display: none; }
    .demo-wrapper { height: 500px; }
    
    .pricing-card.highlight { transform: none; }
    
    /* Navigation Slim Row */
    nav { 
        height: 70px; 
        padding: 0 24px; 
        flex-direction: row; 
        justify-content: space-between; 
        gap: 0; 
    }
    
    .nav-links a { display: none; }
    
    .container { padding: 0 24px; }
    
    .features, .how-it-works, .pricing, .social-proof, .faq, .guest-demo-section {
        padding-top: 100px !important; 
        padding-bottom: 80px;
        padding-left: 24px;
        padding-right: 24px;
    }
    
    /* Stack metrics on mobile */
    .metrics-strip span {
        display: block;
        margin: 8px 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 8px;
    }
    .metrics-strip span:last-child { border: none; }
    
    .step-card h4 { font-size: 1rem; }
    
    .founder-card { 
        flex-direction: column; 
        text-align: center; 
        padding: 30px; 
    }
}

@media (min-width: 769px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}