/* ChurchSync Website - Stylesheet
   Generated as part of ChurchSyncWebsite rebuild */

:root {
    /* ChurchSync Dark Theme */
    --bg-0: #050B14;          /* main background */
    --bg-1: #071225;          /* section background */
    --surface: #0B1B33;       /* cards/panels */
    --surface-2: #0F2442;     /* slightly lighter surface */
    --text: #FFFFFF;
    --muted: rgba(255,255,255,0.72);

    --blue: #2F80FF;          /* primary accent */
    --teal: #29E3B6;          /* secondary accent */
    --accent: linear-gradient(90deg, #2F80FF 0%, #29E3B6 100%);
    --brand-gradient: linear-gradient(90deg, #2e9465 0%, #2b70b3 100%);

    /* Legacy variable mappings for compatibility */
    --primary-color: var(--blue);
    --primary-dark: #2566CC;
    --primary-light: #4A99FF;
    --secondary-color: var(--teal);
    --accent-color: var(--teal);
    --text-primary: var(--text);
    --text-secondary: var(--muted);
    --text-light: rgba(255,255,255,0.5);
    --bg-primary: var(--bg-0);
    --bg-secondary: var(--surface);
    --bg-dark: var(--bg-0);
    --border-color: rgba(255,255,255,0.10);
    --success-color: var(--teal);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(47,128,255,0.20), transparent 60%),
        radial-gradient(circle at bottom right, rgba(41,227,182,0.14), transparent 55%),
        linear-gradient(180deg, var(--bg-0), var(--bg-1));
    background-attachment: fixed;
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--teal);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background: rgba(5,11,20,0.60);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

header {
    padding: 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.logo span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-family: 'Pacifico', cursive;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo:hover span {
    background: linear-gradient(90deg, #2b70b3 0%, #2e9465 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.logo:hover .logo-img {
    opacity: 0.9;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav a:hover {
    color: var(--blue);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    color: var(--text);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
    text-align: center;
    box-shadow: 0 10px 30px rgba(47,128,255,0.25);
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 14px 40px rgba(41,227,182,0.18);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-secondary:hover {
    background: var(--accent);
    color: white;
    border-color: transparent;
}

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

/* Hero Section */
#hero {
    background: transparent;
    color: white;
    padding: 2rem 0 6rem 0;
    text-align: center;
}

#hero .container {
    background: rgba(11, 27, 51, 0.72);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(0,194,255,0.08);
    border-radius: 22px;
    padding: 4rem 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-right::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(0,194,255,0.18), transparent 60%);
    filter: blur(20px);
    z-index: 0;
    pointer-events: none;
}

.hero-screenshot {
    max-width: 420px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 45px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,194,255,0.12);
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero-buttons .btn {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Primary button - Join the Waitlist */
.hero-buttons .btn:not(.btn-secondary) {
    background: linear-gradient(90deg, #2D6BFF, #00E5FF);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 14px 30px rgba(0, 194, 255, 0.22);
}

.hero-buttons .btn:not(.btn-secondary):hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 194, 255, 0.28);
}

/* Secondary button - Watch Demo */
.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.hero-buttons .btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    transform: translateY(-2px);
    filter: none;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,194,255,0.08);
    flex-wrap: wrap;
    margin: 0 auto;
}

#hero h1 {
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

#hero h1 .gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 6px 18px rgba(0,194,255,0.25));
}

.hero-left .hero-subtitle {
    font-size: clamp(17px, 1.3vw, 19px) !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    max-width: 520px !important;
    margin: 16px auto 0 !important;
    text-align: center !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
    margin-bottom: 2rem !important;
    display: block;
}

/* Sections */
section {
    padding: 5rem 0;
}

#features {
    padding-top: 0;
    padding-bottom: 5rem;
    font-family: 'Poppins', sans-serif;
    margin-top: -6rem;
}

#musicians-churches {
    font-family: 'Poppins', sans-serif;
    padding-top: 0;
    margin-top: -3rem;
}

#how-it-works {
    font-family: 'Poppins', sans-serif;
}

#how-it-works .section-title {
    position: relative;
    padding-bottom: 2rem;
}

#how-it-works .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0.15) 80%, transparent);
}

#musicians-churches .section-title h2 .gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

#hero {
    padding-bottom: 0;
    margin-bottom: 0;
}

#demo {
    scroll-margin-top: 80px;
}

section:nth-child(even) {
    background: rgba(7, 18, 37, 0.3);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#features .section-title h2 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.15;
    font-family: 'Poppins', sans-serif;
}

#features .section-title h2 .gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

#features .section-title {
    position: relative;
    padding-bottom: 2rem;
}

#features .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0.15) 80%, transparent);
}

.section-title p {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    background: var(--surface-2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--blue);
}

.card h3 {
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Features Section */
.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.feature-card .card-icon {
    font-size: 3.5rem;
}

/* How It Works */
.how-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.how-step {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem;
    align-items: center;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.step-content {
    display: flex;
    flex-direction: column;
    grid-column: 1;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-content h3 {
    margin-bottom: 1rem;
    text-align: left;
    font-size: 2.25rem;
}

.step-content p {
    text-align: left;
    margin-bottom: 0;
    font-size: 1.25rem;
    line-height: 1.6;
}

.step-reverse .step-content {
    grid-column: 2;
}

.step-reverse .step-image {
    grid-column: 1;
}

.step-image {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 2;
}

.step-screenshot {
    width: 100%;
    max-width: 320px;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.10);
}

.step-screenshot:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* Musicians vs Churches */
.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.comparison-card h3 {
    color: #2b70b3;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.comparison-card:nth-child(2) h3 {
    color: #2e9465;
}

.comparison-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 110%;
    height: 2px;
    background: linear-gradient(to right, rgba(255,255,255,0.15), rgba(255,255,255,0.15) 70%, transparent 100%);
}

.comparison-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.comparison-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--muted);
}

.comparison-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

/* FAQs */
#faqs {
    font-family: 'Poppins', sans-serif;
}

#faqs .section-title h2 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.15;
    font-family: 'Poppins', sans-serif;
}

.faq-item {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
    color: var(--text);
}

.faq-question:hover {
    background-color: var(--surface-2);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--blue);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* Waitlist Form */
#waitlist {
    background: rgba(7, 18, 37, 0.3);
    font-family: 'Poppins', sans-serif;
}

.waitlist-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.waitlist-form iframe {
    width: 100%;
    border-radius: var(--radius-md);
    background: transparent;
    filter: brightness(0.85) contrast(1.1);
}

.waitlist-form {
    position: relative;
}

.waitlist-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 27, 51, 0.3);
    border-radius: var(--radius-xl);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--surface-2);
    color: var(--text);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.form-group input[type="submit"],
.form-group button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
}

/* Preview Pages */
.preview-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
}

.preview-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}

.preview-card h2 {
    margin-bottom: 1.5rem;
    color: var(--blue);
}

/* Login Form */
.login-form {
    max-width: 450px;
    margin: 3rem auto;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Listings Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.listing-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.listing-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--bg-1);
    color: var(--text);
    padding: 3rem 0 1.5rem;
    font-family: 'Poppins', sans-serif;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

footer h4 {
    color: var(--text);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--muted);
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

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

footer p {
    color: var(--muted);
    font-family: 'Poppins', sans-serif;
}

footer .copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 2rem;
    padding-top: 1.5rem;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-family: 'Poppins', sans-serif;
}

.legal-content h1 {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    text-align: center;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    position: relative;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.legal-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
}

.legal-content h2.no-divider::after {
    display: none;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    position: relative;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
}

.legal-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 100%);
}

.legal-content p {
    font-family: 'Poppins', sans-serif;
}

.legal-content ul,
.legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--muted);
    font-family: 'Poppins', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    /* Compact hero mode for mobile */
    #hero {
        padding: 0 0 3rem 0;
        margin-top: 0;
    }

    #hero .container {
        padding: 28px 18px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-left {
        padding-top: 0;
    }

    #hero h1 {
        font-size: clamp(28px, 7vw, 38px);
        line-height: 1.1;
        margin-bottom: 10px;
    }

    .hero-subtitle,
    .hero-left .hero-subtitle {
        font-size: clamp(15px, 1.1vw, 16px);
        margin-top: 10px !important;
        margin-bottom: 1rem !important;
    }

    .hero-buttons {
        flex-direction: column;
        margin-top: 14px;
        gap: 10px;
        margin-bottom: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .feature-pill {
        display: none;
    }

    .hero-right {
        display: none;
    }

    .hero-right::before {
        display: none;
    }

    .hero-screenshot {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5,11,20,0.95);
        backdrop-filter: blur(12px);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    nav ul li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 1rem 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .waitlist-form,
    .login-form {
        padding: 2rem 1.5rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    #features .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    #features .feature-card {
        padding: 1.25rem 1rem;
    }

    #features .feature-card .card-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    #features .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    #features .feature-card p {
        font-size: 0.875rem;
        line-height: 1.4;
        margin-bottom: 0;
    }

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

    .how-steps {
        gap: 1.5rem;
    }

    .how-step {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 18px;
        padding: 0.75rem 0;
        min-height: auto;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        position: relative;
    }

    .how-step::after {
        content: '';
        position: absolute;
        left: 140px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    }

    .step-content {
        text-align: left;
        flex: 1;
        margin: 0;
        padding: 0;
        padding-left: 1rem;
        order: 2;
    }

    .step-content h3 {
        text-align: left;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .step-content p {
        text-align: left;
        margin-bottom: 0;
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .step-number {
        margin-bottom: 0.5rem;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .step-image {
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
        padding: 0;
        margin: 0;
        align-self: center;
        order: 1;
    }

    .step-screenshot {
        width: auto;
        max-width: 120px;
        max-height: 240px;
        height: auto;
        margin: 0;
    }

    .step-reverse .step-image {
        order: 1;
    }

    .step-reverse .step-content {
        order: 2;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    #hero {
        padding: 4rem 0;
    }

    .hero-screenshot {
        max-width: 280px;
        max-height: 380px;
    }

    .feature-pill {
        font-size: 10px;
        padding: 5px 8px;
        gap: 4px;
        max-width: 92%;
    }

    #hero h1 {
        font-size: clamp(28px, 3.5vw, 36px);
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .card {
        padding: 1.5rem;
    }
}

