/* CSS Custom Properties mapped from screenshots */
:root {
    --bg-color: #F8FAFC;
    /* App background base */
    --surface-color: #FFFFFF;
    /* Cards, modals */
    --primary-blue: #3B82F6;
    /* Primary buttons, active states */
    --primary-hover: #2563EB;
    --secondary-blue: #EFF6FF;
    /* Light blue backgrounds, nav */

    --text-main: #1F2937;
    /* Main dark text */
    --text-muted: #6B7280;
    /* Secondary text */
    --text-light: #9CA3AF;

    --border-color: #E5E7EB;
    /* Dividers */
    --input-bg: #F3F4F6;
    /* Form fields */

    --success-bg: #D1FAE5;
    /* Completed tasks bg */
    --success-text: #065F46;
    /* Completed tasks text */
    --warn-bg: #FEF3C7;
    --warn-text: #92400E;
    --danger-bg: #FEE2E2;
    --danger-text: #991B1B;

    --max-width: 1200px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

/* Typography — fluid with clamp() */
h1 {
    font-size: clamp(2rem, 1rem + 3.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: clamp(1rem, 0.5rem + 1.5vw, 1.5rem);
}

h2 {
    font-size: clamp(1.75rem, 1rem + 2.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 1rem + 0.75vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-muted);
    font-size: clamp(1rem, 0.9rem + 0.35vw, 1.125rem);
    margin-bottom: 1.5rem;
}

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

.text-sm {
    font-size: 0.875rem;
}

.text-dark {
    color: var(--text-main);
    font-weight: 500;
}

.text-blue {
    color: var(--primary-blue);
    font-weight: 500;
}

/* Layout Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(1rem, 0.5rem + 2vw, 1.5rem);
}

.section-bg {
    background-color: var(--surface-color);
}

section {
    padding: clamp(3rem, 2rem + 4vw, 6rem) 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

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

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

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Utility classes */
.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.p-4 {
    padding: 1.5rem;
}

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

.btn-primary {
    background-color: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(59, 130, 246, 0.5);
    color: #fff;
}

.btn-secondary {
    background-color: var(--surface-color);
    color: var(--primary-blue);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

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

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

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: var(--secondary-blue);
    color: var(--primary-blue);
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-blue);
}

.logo span {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    border-color: var(--primary-blue);
}

.lang-switch span.active {
    color: var(--primary-blue);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 18px; /* 3 * 2px bars + 2 * 6px gaps = 18px */
    padding: 0;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-btn .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 0;
    transform-origin: center;
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding-top: clamp(6rem, 4rem + 5vw, 10rem);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(2rem, 1rem + 3vw, 4rem);
    align-items: center;
}

.hero-title {
    background: linear-gradient(135deg, #1F2937 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem);
    max-width: min(500px, 100%);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 0.25rem + 0.5vw, 1rem);
    margin-top: clamp(1rem, 0.5rem + 1.5vw, 2rem);
}

/* Mockups / Abstract UI for Visuals */
.hero-visual {
    position: relative;
    width: 100%;
    min-width: 0;
    /* prevent grid blowout */
}

.mockup-window {
    background: var(--surface-color);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    height: clamp(260px, 20vw + 140px, 400px);
}

.mockup-header {
    height: 32px;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #EF4444;
}

.dot.yellow {
    background: #F59E0B;
}

.dot.green {
    background: #10B981;
}

.mockup-body {
    display: flex;
    height: calc(100% - 32px);
}

.mockup-sidebar {
    width: 100px;
    background: #F9FAFB;
    border-right: 1px solid var(--border-color);
    padding: 1rem;
}

.sidebar-item {
    height: 16px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.sidebar-item.active {
    background: var(--secondary-blue);
    position: relative;
}

.sidebar-item.active::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-blue);
    border-radius: 0 4px 4px 0;
}

.mockup-content {
    flex: 1;
    padding: 1.5rem;
    background: var(--bg-color);
}

.mockup-header-bar {
    height: 24px;
    width: 200px;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mockup-progress {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.mockup-progress::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 60%;
    background: var(--primary-blue);
}

.mockup-cards {
    display: flex;
    gap: 1rem;
}

.mockup-card {
    background: #fff;
    height: 100px;
    flex: 1;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

/* Pain Points */
.card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    background: var(--surface-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.error-icon {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.warn-icon {
    background: var(--warn-bg);
    color: var(--warn-text);
}

.alert-icon {
    background: var(--secondary-blue);
    color: var(--primary-blue);
}

/* Features */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

.feature-row.reverse .feature-text {
    order: 2;
}

.feature-row.reverse .feature-image {
    order: 1;
}

.feature-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    background: #E0E7FF;
    color: #4F46E5;
}

.feature-tag.blue {
    background: var(--secondary-blue);
    color: var(--primary-blue);
}

.feature-tag.purple {
    background: #F3E8FF;
    color: #9333EA;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    background: var(--secondary-blue);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.feature-image {
    position: relative;
    border-radius: 16px;
    padding: 3rem;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-image.dashboard-theme {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

.feature-image.auth-theme {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

.feature-image.cal-theme {
    background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
}

/* Feature Cards Mockups */
.mock-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mock-header {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.mock-progress-bar {
    height: 8px;
    background: var(--input-bg);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.mock-progress-bar .fill {
    height: 100%;
    background: var(--primary-blue);
    border-radius: 4px;
}

.mock-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth-card {
    background: var(--surface-color);
    border-radius: 12px;
    width: 320px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.blue-bg {
    background: var(--primary-blue);
    color: white;
    padding: 1rem;
    margin-bottom: 0;
}

.mock-input {
    background: var(--input-bg);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.mock-textarea {
    background: var(--input-bg);
    border-radius: 8px;
    height: 80px;
}

.mock-btn {
    background: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
}

.mock-calendar {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mock-cal-tabs span {
    padding: 0.5rem 2rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.mock-cal-tabs span.active {
    background: var(--secondary-blue);
    color: var(--primary-blue);
    border-radius: 4px;
}

.mock-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.mock-grid div {
    padding: 1rem 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
}

.mock-grid .has-event {
    background: #F9FAFB;
}

.event-pill {
    position: absolute;
    bottom: 2px;
    left: 2px;
    right: 2px;
    background: var(--secondary-blue);
    color: var(--primary-blue);
    font-size: 0.6rem;
    padding: 2px;
    border-radius: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mock Themes */
.feature-image.tasks-theme {
    background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
}

.feature-image.team-theme {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

.feature-image.defects-theme {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
}

.feature-image.finance-theme {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

/* Feature specific mockups */
.mock-task-card,
.mock-team-card,
.mock-finance-card,
.mock-finance-mini-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.mock-finance-mini-card {
    padding: 1rem;
    flex: 1;
}

.badge-status {
    padding: 0.25rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-status.success {
    background: var(--success-bg);
    color: var(--success-text);
}

.badge-status.progress {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-status.danger {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.badge-status.purple {
    background: #F3E8FF;
    color: #7E22CE;
}

.font-600 {
    font-weight: 600;
}

.font-700 {
    font-weight: 700;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-red {
    color: #DC2626;
}

.text-orange {
    color: #D97706;
}

.text-green {
    color: #10B981;
}

.bg-green {
    background: #10B981 !important;
}

.border-top {
    border-top: 1px solid var(--border-color);
}

.pt-2 {
    padding-top: 0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.border-left-red {
    border-left: 4px solid #DC2626;
}

.border-left-orange {
    border-left: 4px solid #F59E0B;
}

.dot-small {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-small.orange {
    background: #F59E0B;
}

.dot-small.blue {
    background: #3B82F6;
}

.dot-small.green {
    background: #10B981;
}

/* CTA */
.cta {
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
}

.cta-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Footer */
.footer {
    background: #111827;
    color: #fff;
    padding: 6rem 0 2rem 0;
}

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

.footer-brand .logo {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-brand .logo span {
    color: #fff;
}

.footer-desc {
    color: #9CA3AF;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: #9CA3AF;
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 1.5rem auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-row.reverse .feature-text {
        order: 1;
    }

    .feature-row.reverse .feature-image {
        order: 2;
    }

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

/* Waitlist Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--surface-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.checkbox-group a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    font-family: inherit;
    font-size: 1rem;
}

.legal-content {
    padding-top: 120px;
    padding-bottom: 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    color: var(--text-main);
    margin-bottom: 2rem;
}

.legal-section {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.legal-section p {
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

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

@media (max-width: 768px) {

    .nav-actions .btn {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-actions {
        margin-left: auto;
    }

    .mobile-menu-btn {
        display: flex;
        margin-left: 0.75rem;
    }

    .feature-image {
        padding: clamp(1rem, 0.5rem + 1.5vw, 1.5rem);
    }

    .auth-card {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .mock-cal-tabs span {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .mock-grid {
        font-size: 0.75rem;
    }

    .mock-grid div {
        min-width: 0;
    }

    .mockup-sidebar {
        width: 60px;
        padding: 0.5rem;
    }
}

.demo-section {
    padding: 6rem 0;
    background: var(--surface-color);
}

.demo-embed-wrapper {
    position: relative;
    padding-bottom: calc(56.25% + 41px);
    height: 0;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
    border: 1px solid var(--border-color);
}

.demo-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color-scheme: light;
}

.demo-cta-block {
    margin-top: 3rem;
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.demo-cta-block p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.demo-cta-block small {
    display: block;
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}