/* ====================================
   DocAide - Landing Page Styles
   Matches dashboard design system
   ==================================== */

:root {
    --primary: #76BDE9;
    --primary-dark: #5BA5D1;
    --primary-light: #A8D5F2;
    --primary-glow: rgba(118, 189, 233, 0.3);
    --secondary: #3b82f6;
    --success: #22c55e;
    --dark: #0f172a;
    --darker: #020617;
    --surface: #ffffff;
    --bg: #f0f4f8;
    --bg-alt: #f8fafc;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
    --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.08), 0 2px 6px -2px rgb(0 0 0 / 0.06);
    --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.1), 0 4px 8px -4px rgb(0 0 0 / 0.06);
    --shadow-xl: 0 25px 50px -6px rgb(0 0 0 / 0.12);
    --shadow-blue: 0 8px 24px rgba(118, 189, 233, 0.25);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====================================
   Base
   ==================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ====================================
   Navigation
   ==================================== */
.landing-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 0 2rem;
    transition: var(--transition);
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.3px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-500);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-dark);
    background: rgba(118, 189, 233, 0.08);
}

.nav-links .mobile-cta { display: none; }

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #76BDE9 0%, #5BA5D1 100%);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(118, 189, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-blue);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-dark);
    border: 1.5px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary-light);
    background: rgba(118, 189, 233, 0.04);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    border: 1.5px solid var(--gray-200);
}

.btn-ghost:hover {
    background: var(--gray-100);
    border-color: var(--gray-200);
}

.btn-lg {
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
}

.btn-full { width: 100%; }

.btn-nav { width: 100%; text-align: center; }

/* ====================================
   Hero
   ==================================== */
.hero {
    padding: 7.5rem 2rem 5rem;
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(118, 189, 233, 0.12) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { max-width: 520px; }

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(118, 189, 233, 0.1);
    border: 1px solid rgba(118, 189, 233, 0.2);
    padding: 0.3rem 0.85rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--darker);
    letter-spacing: -1.2px;
    margin: 0 0 1.25rem;
}

.gradient-text {
    background: linear-gradient(135deg, #76BDE9, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0 0 2rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    max-width: fit-content;
}

.metric { text-align: center; }

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.metric-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.15rem;
}

.metric-divider {
    width: 1px;
    height: 32px;
    background: var(--gray-200);
}

/* ====================================
   Dashboard Demo (Hero)
   ==================================== */
.hero-demo {
    perspective: 1200px;
}

.demo-window {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.02);
    overflow: hidden;
    transform: rotateY(-2deg) rotateX(1deg);
    transition: transform 0.5s ease;
}

.demo-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.demo-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--gray-200);
}

.demo-dots { display: flex; gap: 6px; }

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.demo-url {
    font-size: 0.7rem;
    color: var(--gray-400);
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 0.2rem 0.75rem;
    border-radius: 6px;
    flex: 1;
    text-align: center;
}

.demo-body {
    display: flex;
    min-height: 380px;
}

/* Demo Sidebar */
.demo-sidebar {
    width: 52px;
    background: var(--bg-alt);
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0;
    gap: 0.35rem;
    flex-shrink: 0;
}

.demo-sidebar-logo {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.demo-nav-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: default;
    transition: var(--transition);
}

.demo-nav-item.active {
    background: rgba(118, 189, 233, 0.12);
    box-shadow: inset 0 0 0 1.5px rgba(118, 189, 233, 0.25);
}

/* Demo Main */
.demo-main {
    flex: 1;
    padding: 1rem 1.25rem;
    overflow: hidden;
}

.demo-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}

.demo-page-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.3px;
}

.demo-page-sub {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-top: 0.1rem;
}

.demo-date-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.demo-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: var(--white);
}

.demo-today {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(118, 189, 233, 0.1);
    border: 1px solid rgba(118, 189, 233, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

/* Demo Stats */
.demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.demo-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.65rem;
    background: var(--bg-alt);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
}

.demo-stat-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    background: rgba(118, 189, 233, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.demo-stat-icon.confirmed { background: rgba(34, 197, 94, 0.1); }
.demo-stat-icon.pending { background: rgba(245, 158, 11, 0.1); }

.demo-stat-info { display: flex; flex-direction: column; min-width: 0; }

.demo-stat-label {
    font-size: 0.6rem;
    color: var(--gray-400);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-stat-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

/* Demo Section Title */
.demo-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dark);
}

.demo-add-btn {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, #76BDE9, #5BA5D1);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

/* Demo Appointments */
.demo-appointments {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.demo-appt {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    transition: var(--transition);
}

.demo-appt:hover {
    border-color: rgba(118, 189, 233, 0.3);
    box-shadow: 0 2px 8px rgba(118, 189, 233, 0.08);
}

.demo-appt-time {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-dark);
    min-width: 32px;
}

.demo-appt-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.demo-appt-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-appt-reason {
    font-size: 0.6rem;
    color: var(--gray-400);
}

.demo-appt-status {
    font-size: 0.55rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.demo-appt-status.confirmed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.demo-appt-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

/* ====================================
   Section Common
   ==================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(118, 189, 233, 0.1);
    border: 1px solid rgba(118, 189, 233, 0.2);
    padding: 0.25rem 0.85rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.85rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--darker);
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ====================================
   Features
   ==================================== */
.features {
    padding: 6rem 2rem;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #76BDE9, #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(118, 189, 233, 0.25);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(118, 189, 233, 0.1);
    border: 1px solid rgba(118, 189, 233, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.35rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #76BDE9, #3b82f6);
    border-color: transparent;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--darker);
    letter-spacing: -0.2px;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.6;
}

/* ====================================
   How It Works
   ==================================== */
.how-it-works {
    padding: 6rem 2rem;
    background: var(--bg);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    text-align: center;
    padding: 2rem 1.75rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex: 1;
    max-width: 320px;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(118, 189, 233, 0.25);
}

.step-connector {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--gray-200), var(--primary-light), var(--gray-200));
    margin-top: 3.5rem;
    flex-shrink: 0;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #76BDE9, #5BA5D1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--darker);
}

.step-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ====================================
   Pricing
   ==================================== */
.pricing {
    padding: 6rem 2rem;
    background: var(--white);
}

.pricing-wrapper {
    max-width: 440px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 2px solid rgba(118, 189, 233, 0.35);
    box-shadow: 0 8px 32px rgba(118, 189, 233, 0.12);
    overflow: hidden;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(118, 189, 233, 0.2);
}

.pricing-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(180deg, rgba(118, 189, 233, 0.04), transparent);
}

.pricing-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--darker);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0;
}

.pricing-header p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0;
}

.pricing-features {
    list-style: none;
    padding: 1.5rem 2rem;
    margin: 0;
}

.pricing-features li {
    padding: 0.55rem 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child { border-bottom: none; }

.check {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.pricing-card .btn {
    margin: 0 2rem 1.5rem;
    width: calc(100% - 4rem);
    padding: 0.85rem;
}

.pricing-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin: 0 0 1.5rem;
}

/* ====================================
   FAQ
   ==================================== */
.faq {
    padding: 6rem 2rem;
    background: var(--bg);
}

.faq-container { max-width: 720px; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(118, 189, 233, 0.25);
}

.faq-item.active {
    border-color: rgba(118, 189, 233, 0.35);
    box-shadow: 0 2px 12px rgba(118, 189, 233, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.15rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--darker);
    font-family: inherit;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover { color: var(--primary-dark); }

.faq-icon {
    width: 26px;
    height: 26px;
    background: rgba(118, 189, 233, 0.1);
    border: 1px solid rgba(118, 189, 233, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-style: normal;
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
    padding: 0 1.25rem 1.15rem;
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

.faq-item.active .faq-answer { max-height: 300px; }

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    border-color: transparent;
    color: var(--white);
}

/* ====================================
   CTA
   ==================================== */
.cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(118, 189, 233, 0.1) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.8px;
    margin: 0 0 0.75rem;
    position: relative;
    z-index: 1;
}

.cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    margin: 0 0 2rem;
    position: relative;
    z-index: 1;
}

.cta-actions {
    position: relative;
    z-index: 1;
}

/* ====================================
   Footer
   ==================================== */
footer {
    background: var(--darker);
    color: rgba(255, 255, 255, 0.6);
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--primary-light); }

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

/* ====================================
   Animations
   ==================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   Menu Toggle
   ==================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ====================================
   Responsive: Tablet (1024px)
   ==================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-actions { justify-content: center; }

    .hero-metrics { margin: 0 auto; }

    .hero-content h1 { font-size: 2.6rem; }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-actions { display: none; }

    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: 0.25rem;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
        transition: right 0.35s ease;
        z-index: 999;
        border-left: 1px solid var(--gray-200);
    }

    .nav-links.active { right: 0; }

    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 1rem;
    }

    .nav-links .mobile-cta {
        display: block;
        margin-top: 0.75rem;
    }
}

/* ====================================
   Responsive: Mobile (768px)
   ==================================== */
@media (max-width: 768px) {
    .landing-nav { padding: 0 1.25rem; }

    .hero {
        padding: 6rem 1.25rem 3.5rem;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.1rem;
        letter-spacing: -0.8px;
    }

    .hero-subtitle { font-size: 0.95rem; }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn { width: 100%; }

    .hero-metrics {
        gap: 1rem;
        padding: 0.85rem 1.15rem;
        width: 100%;
        justify-content: center;
    }

    .metric-value { font-size: 1.3rem; }

    .demo-window {
        transform: none;
    }

    .demo-window:hover { transform: none; }

    .demo-body { min-height: 320px; }

    .demo-sidebar { width: 44px; }

    .demo-nav-item { width: 30px; height: 30px; font-size: 0.75rem; }

    .demo-main { padding: 0.75rem 0.85rem; }

    .demo-page-title { font-size: 0.95rem; }

    .demo-stats { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }

    .demo-stat { padding: 0.45rem 0.4rem; gap: 0.35rem; }

    .demo-stat-icon { width: 24px; height: 24px; font-size: 0.7rem; }

    .demo-stat-value { font-size: 0.85rem; }

    .demo-stat-label { font-size: 0.52rem; }

    .demo-appt { padding: 0.45rem 0.5rem; gap: 0.4rem; }

    .demo-appt-time { font-size: 0.65rem; min-width: 28px; }

    .demo-appt-name { font-size: 0.65rem; }

    .demo-appt-reason { font-size: 0.55rem; }

    .demo-appt-status { font-size: 0.5rem; padding: 0.12rem 0.35rem; }

    .features,
    .how-it-works,
    .pricing,
    .faq { padding: 4rem 1.25rem; }

    .section-header { margin-bottom: 2.5rem; }

    .section-header h2 { font-size: 1.75rem; }

    .section-header p { font-size: 0.95rem; }

    .features-grid { grid-template-columns: 1fr; }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .step-connector {
        width: 2px;
        height: 24px;
        margin: 0;
        background: linear-gradient(180deg, var(--gray-200), var(--primary-light), var(--gray-200));
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .cta { padding: 4rem 1.25rem; }

    .cta h2 { font-size: 1.75rem; }

    .footer-container {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* ====================================
   Responsive: Small (480px)
   ==================================== */
@media (max-width: 480px) {
    .landing-nav { padding: 0 0.85rem; }

    .logo { font-size: 1.15rem; }

    .logo-icon { width: 30px; height: 30px; }

    .hero { padding: 5.5rem 1rem 2.5rem; }

    .hero-content h1 { font-size: 1.75rem; }

    .hero-subtitle { font-size: 0.9rem; }

    .hero-badge-top { font-size: 0.7rem; }

    .hero-metrics { flex-wrap: wrap; gap: 0.75rem; }

    .metric-divider { display: none; }

    .metric { flex: 1 1 calc(33% - 0.5rem); }

    .demo-sidebar { display: none; }

    .demo-main { padding: 0.65rem; }

    .demo-header-row { flex-direction: column; gap: 0.4rem; }

    .demo-date-nav { align-self: flex-end; }

    .demo-stats { grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }

    .demo-stat { flex-direction: column; text-align: center; padding: 0.4rem 0.3rem; gap: 0.2rem; }

    .section-header h2 { font-size: 1.5rem; }

    .section-header p { font-size: 0.88rem; }

    .feature-card { padding: 1.5rem; }

    .feature-icon { width: 42px; height: 42px; font-size: 1.15rem; }

    .step-card { padding: 1.5rem; }

    .step-number { width: 48px; height: 48px; font-size: 1.3rem; }

    .pricing-header { padding: 1.5rem 1.5rem 1.25rem; }

    .price { font-size: 2.5rem; }

    .pricing-features { padding: 1.25rem 1.5rem; }

    .pricing-card .btn { margin: 0 1.5rem 1.25rem; width: calc(100% - 3rem); }

    .cta h2 { font-size: 1.45rem; }

    .cta p { font-size: 0.9rem; }

    footer { padding: 2rem 1rem; }
}