/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
    --bg: #F8F9FA;
    --surface: #FFFFFF;
    --ink: #101828;
    --muted: #475467;
    
    --accent: #2551CC;
    --accent-glow: rgba(37, 81, 204, 0.15);
    --accent-soft: #F0F4FF;
    --purple: #6366F1;
    --purple-soft: #EEF2FF;
    --gold: #F59E0B;
    --border-light: #F2F4F7;
    --border-hover: #EAECF0;
    --border-active: #D0D5DD;
    
    --font-heading: 'Unbounded', sans-serif;
    --font-body: 'Golos Text', sans-serif;

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --container-w: 1120px;
    --block-gap: 120px;
    --block-gap-mobile: 80px;

    --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.06), 0 2px 4px -2px rgba(16, 24, 40, 0.04);
    --shadow-lg: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
    --shadow-premium: 0 20px 24px -4px rgba(16, 24, 40, 0.06), 0 8px 8px -4px rgba(16, 24, 40, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Decorative Background */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle, rgba(16, 24, 40, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: -3;
    pointer-events: none;
}

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    opacity: 0.55;
    pointer-events: none;
}

.bg-glow-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

.bg-glow-2 {
    top: 600px;
    left: -200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

/* Layout Container */
.page-container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography & Headers
   ========================================================================== */
h1, h2, h3 {
    color: var(--ink);
}

h1 {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #101828 0%, #2551CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background-color: var(--accent-soft);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

/* ==========================================================================
   Floating Navigation
   ========================================================================== */
.top-nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16, 24, 40, 0.05);
}

.nav-container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    color: var(--ink);
}

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

.nav-badge {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    border: 1px solid var(--accent-glow);
    padding: 4px 12px;
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-sm);
    height: 54px;
    padding: 0 28px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #1f44a3 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(37, 81, 204, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 81, 204, 0.35);
}

.btn-secondary {
    background-color: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border-active);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--border-light);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 0 100px 0;
}

.hero-header {
    max-width: 800px;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid rgba(16, 24, 40, 0.06);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px var(--accent);
}

.hero .subtitle {
    font-size: 20px;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 32px auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Interactive Split Mockup */
.hero-mockup-container {
    width: 100%;
    max-width: 960px;
    position: relative;
    display: flex;
    justify-content: center;
}

.profi-split-mockup {
    display: flex;
    gap: 24px;
    width: 100%;
}

.profi-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    height: 440px;
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(16, 24, 40, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(16, 24, 40, 0.01);
}

.subject-tag {
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    background-color: var(--border-hover);
    padding: 6px 14px;
    border-radius: 20px;
}

.more-options {
    color: var(--muted);
    font-size: 16px;
    cursor: pointer;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
}

.detail-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.detail-val {
    font-size: 15px;
    color: var(--ink);
    line-height: 1.5;
}

/* Right Side: Response Card */
.response-header {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(16, 24, 40, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(16, 24, 40, 0.01);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
}

.client-meta {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.2;
}

.client-status {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.close-btn {
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
}

.response-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
    position: relative;
}

/* Glassmorphic AI Draft Overlay Card */
.ai-draft-overlay {
    position: absolute;
    bottom: 110px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 81, 204, 0.25);
    box-shadow: var(--shadow-premium);
    border-radius: var(--radius-md);
    padding: 16px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;
}

.ai-draft-overlay.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

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

.ai-draft-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.ai-draft-body {
    font-size: 13px;
    color: var(--ink);
    line-height: 1.45;
}

.ai-draft-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.btn-draft-action {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-draft-edit {
    background-color: transparent;
    color: var(--muted);
    border: 1px solid var(--border-active);
}

.btn-draft-edit:hover {
    background-color: rgba(16, 24, 40, 0.02);
}

.btn-draft-insert {
    background-color: var(--accent);
    color: #FFFFFF;
}

.btn-draft-insert:hover {
    background-color: #1f44a3;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.field-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
}

.field-label .required {
    color: #FF5F56;
}

.textarea-mockup {
    border: 1px solid var(--border-active);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    background: var(--bg);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink);
    position: relative;
    overflow: hidden;
}

.textarea-placeholder {
    color: #9AA6B2;
    position: absolute;
    top: 12px;
    left: 14px;
    right: 14px;
    pointer-events: none;
}

.textarea-content {
    white-space: pre-wrap;
    word-break: break-word;
}

.templates-mockup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.templates-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.templates-edit {
    font-size: 12px;
    color: var(--accent);
    cursor: pointer;
    font-weight: 500;
}

.commission-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.commission-col, .balance-col {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comm-label, .balance-val {
    font-size: 13px;
    color: var(--muted);
}

.comm-val {
    font-weight: 600;
    font-size: 13px;
    color: var(--ink);
}

.balance-icon {
    font-size: 14px;
}

.btn-submit-mockup {
    width: 100%;
    height: 48px;
    background-color: var(--ink);
    color: #FFFFFF;
    border-radius: var(--radius-sm);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

/* Floating 3D Elements */
.floating-3d {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 15px 20px rgba(16, 24, 40, 0.12));
}

.floating-notif-card {
    position: absolute;
    right: -45px;
    top: 80px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-premium);
    animation: floatingEffect 4s ease-in-out infinite alternate;
    z-index: 10;
}

.notif-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.notif-icon-wrapper img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.notif-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.notif-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.notif-time {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.2;
    margin-top: 2px;
}

@keyframes floatingEffect {
    0% { transform: translateY(0px) rotate(2deg); }
    100% { transform: translateY(-12px) rotate(-2deg); }
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Pain Points Section
   ========================================================================== */
.pain-points {
    margin: var(--block-gap) auto;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.pain-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

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

.pain-card-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.pain-card h3 {
    margin-bottom: 8px;
}

.pain-card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

.pain-conclusion-card {
    background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 100%);
    color: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.pain-conclusion-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.pain-conclusion-card p {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   Features Section (Bento Grid)
   ========================================================================== */
.features {
    margin: var(--block-gap) auto;
}

.features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(320px, auto);
    gap: 24px;
}

.feature-card {
    background-color: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

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

.feature-card.f-large {
    grid-column: span 2;
}

.feature-card.f-small {
    grid-column: span 1;
}

.feature-card-visual {
    margin-top: 16px;
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
}

/* Mini Chat Visual inside card */
.mini-chat-preview {
    background-color: var(--bg);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    width: 100%;
    max-width: 320px;
    box-shadow: var(--shadow-sm);
}

.visual-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.mini-bubble {
    font-size: 13px;
    background-color: var(--surface);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

/* Stages funnel visual */
.stages-tracker {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 280px;
}

.stage-step {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    background-color: var(--bg);
    border-left: 3px solid var(--border-active);
}

.stage-step.active {
    color: var(--ink);
    background-color: var(--accent-soft);
    border-left-color: var(--accent);
}

.stage-step.current {
    font-weight: 600;
    color: #FFFFFF;
    background-color: var(--accent);
    border-left-color: var(--purple);
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.feature-card-header h3 {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.3;
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-icon-wrapper img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.feature-icon-wrapper .emoji-icon {
    font-size: 20px;
}

.feature-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Scheduler Widget */
.mini-schedule-widget {
    background-color: var(--bg);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    padding: 16px;
    width: 100%;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-days {
    display: flex;
    gap: 8px;
}

.day-slot {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 0;
    border-radius: 6px;
    background-color: var(--surface);
    border: 1px solid var(--border-light);
    color: var(--muted);
}

.day-slot.active {
    background-color: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

.widget-hours {
    display: flex;
    gap: 6px;
}

.hour-chip {
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 0;
    border-radius: 6px;
    background-color: var(--surface);
    border: 1px solid var(--border-light);
    color: var(--ink);
}

.hour-chip.active {
    background-color: var(--accent-soft);
    color: var(--accent);
    border-color: rgba(37, 81, 204, 0.3);
}

/* ==========================================================================
   Control Banner
   ========================================================================== */
.control-banner {
    margin: var(--block-gap) auto;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 64px;
}

.control-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.control-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple);
    background-color: var(--purple-soft);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.control-text h2 {
    margin-bottom: 16px;
}

.control-text p {
    color: var(--muted);
}

.control-visual {
    display: flex;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-premium);
    border-radius: var(--radius-md);
    padding: 24px;
    width: 100%;
    max-width: 320px;
}

.mockup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mockup-label {
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
}

.mockup-divider {
    height: 1px;
    background-color: rgba(16, 24, 40, 0.06);
    margin-bottom: 16px;
}

.mockup-subtext {
    font-size: 13px;
    color: var(--muted);
}

/* Toggle Switch Styling */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-active);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--accent);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* ==========================================================================
   Form Section
   ========================================================================== */
.form-section {
    margin: var(--block-gap) auto;
    display: flex;
    justify-content: center;
}

.form-card-container {
    background-color: var(--surface);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    padding: 64px 48px;
    max-width: 580px;
    width: 100%;
    text-align: center;
    position: relative;
}

.form-visual-accent {
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--purple) 100%);
    border-radius: 0 0 4px 4px;
}

.form-card-container h2 {
    margin-bottom: 12px;
}

.form-desc {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 40px;
}

.early-access-form {
    text-align: left;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--ink);
}

.form-group input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    font-family: var(--font-body);
    font-size: 16px;
    border: 1px solid var(--border-active);
    border-radius: var(--radius-sm);
    background-color: var(--surface);
    color: var(--ink);
    transition: all 0.2s ease;
}

.form-group input::placeholder {
    color: #9AA6B2;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37, 81, 204, 0.1);
}

.form-disclaimer {
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid rgba(16, 24, 40, 0.05);
    background-color: var(--surface);
    padding: 40px 0;
    margin-top: 120px;
}

.footer-container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--muted);
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* typing indicators for chat simulator */
.typing-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    height: 10px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background-color: var(--muted);
    border-radius: 50%;
    animation: typing 1s infinite alternate;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    from { opacity: 0.3; transform: translateY(0); }
    to { opacity: 1; transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    .scroll-fade-up {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Responsive Constraints
   ========================================================================== */
@media (max-width: 991px) {
    .features-bento {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(260px, auto);
    }
    
    .feature-card.f-large,
    .feature-card.f-small {
        grid-column: span 2;
    }
    
    .control-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --block-gap: var(--block-gap-mobile);
    }
    
    h1 {
        font-size: 34px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    .hero {
        padding: 48px 0;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
    }
    .profi-split-mockup {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .profi-card {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    .floating-3d, .floating-notif-card {
        display: none;
    }
    
    .form-card-container {
        padding: 40px 24px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 30px;
    }
}
