/* ============================================
   BeGeorgian v4.0 - Elegant & Minimal Design
   Inspired by: Apple, Stripe, Linear
   ============================================ */

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

:root {
    /* Colors - Clean Palette */
    --primary: #DC2626;
    --primary-hover: #B91C1C;
    --secondary: #475569;
    --accent: #F59E0B;

    /* Neutrals */
    --bg: #FAFAFA;
    --surface: #FFFFFF;
    --border: #E5E7EB;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --text-tertiary: #94A3B8;

    /* Shadows - Elegant & Subtle */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.10);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.6, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   Elegant Loader
   ============================================ */
.elegant-loader {
    position: fixed;
    inset: 0;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.elegant-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.loader-spinner {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.spinner-ring {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.spinner-ring:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* ============================================
   Minimal Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s var(--ease);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.2s var(--ease);
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s var(--ease);
    position: relative;
}

.nav-item:hover {
    color: var(--text-primary);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s var(--ease);
}

.nav-item:hover::after {
    width: 100%;
}

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

.btn-text {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: color 0.2s var(--ease);
}

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

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* ============================================
   Hero Section - Spacious & Clean
   ============================================ */
.hero {
    padding: 10rem 2rem 6rem;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-container {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    animation: fade-in-up 0.6s var(--ease);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fade-in-up 0.6s var(--ease) 0.1s both;
}

.highlight {
    font-family: 'Noto Sans Georgian', sans-serif;
    color: var(--primary);
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    animation: fade-in-up 0.6s var(--ease) 0.2s both;
}


.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fade-in-up 0.6s var(--ease) 0.4s both;
}

.btn-large {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-large:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--text-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-footer {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    animation: fade-in-up 0.6s var(--ease) 0.5s both;
}

.dot {
    color: var(--border);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Hero Visual - Floating Cards
   ============================================ */
.hero-visual {
    position: relative;
    height: 500px;
    animation: fade-in 0.6s var(--ease) 0.6s both;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.visual-card {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s var(--ease);
    opacity: 0;
}

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

.card-1 {
    top: 10%;
    left: 5%;
    width: 220px;
    animation: slideInLeft 0.8s var(--ease) 0.6s forwards, gentleFloat 8s ease-in-out 1.4s infinite;
}

.card-2 {
    top: 35%;
    right: 5%;
    width: 200px;
    animation: slideInRight 0.8s var(--ease) 0.9s forwards, gentleFloat 8s ease-in-out 1.7s infinite;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    width: 210px;
    animation: slideInLeft 0.8s var(--ease) 1.2s forwards, gentleFloat 8s ease-in-out 2s infinite;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-15px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 1s var(--ease);
}

.card-progress span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ============================================
   Demo Section
   ============================================ */
.demo-section {
    padding: 3rem 2rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-container {
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-label {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.demo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

/* Demo Tabs */
.demo-tabs {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.demo-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.demo-tab:hover {
    border-color: var(--text-tertiary);
    transform: translateY(-2px);
}

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

.tab-icon {
    font-size: 1.125rem;
}

.tab-name {
    font-size: 0.875rem;
}

/* Questions Container */
.demo-questions {
    position: relative;
    min-height: 350px;
}

.demo-question-wrap {
    display: none;
    animation: fade-in-question 0.3s var(--ease);
}

.demo-question-wrap.active {
    display: block;
}

@keyframes fade-in-question {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-question h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.demo-options {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.125rem;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    position: relative;
}

.option:hover {
    border-color: var(--text-tertiary);
    transform: translateX(4px);
}

.option-letter {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
}

.option-text {
    font-size: 0.9375rem;
    font-weight: 500;
}

.option-check {
    opacity: 0;
    color: var(--primary);
    font-size: 1.125rem;
    transition: opacity 0.2s var(--ease);
}

.option.correct {
    background: #DCFCE7;
    border-color: #10B981;
}

.option.correct .option-check {
    opacity: 1;
    color: #10B981;
}

.option.incorrect {
    background: #FEE2E2;
    border-color: var(--primary);
}

.demo-result {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: var(--bg);
    border-radius: 12px;
    animation: fade-in-up 0.4s var(--ease);
}

.demo-result.hidden {
    display: none;
}

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

.result-icon {
    font-size: 2.5rem;
    margin-bottom: 0.625rem;
}

.result-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.result-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Demo CTA */
.demo-cta {
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.btn-result {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.btn-result:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Features Grid
   ============================================ */
.features {
    padding: 4rem 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card {
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s var(--ease);
}

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

.feature-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* ============================================
   Timeline
   ============================================ */
.how-section {
    padding: 4rem 2rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.marker-number {
    font-weight: 700;
    color: var(--text-secondary);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-item:hover .timeline-marker {
    border-color: var(--primary);
    background: var(--primary);
}

.timeline-item:hover .marker-number {
    color: white;
}

/* Timeline CTA */
.timeline-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.btn-timeline-cta {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    box-shadow: var(--shadow-md);
}

.btn-timeline-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.timeline-cta-note {
    margin-top: 1.25rem;
    font-size: 0.9375rem;
    color: var(--text-tertiary);
}


/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 6rem 2rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.btn-cta {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.btn-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 3rem 2rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.footer-main {
    margin-bottom: 2rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-name {
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s var(--ease);
}

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

.footer-links span {
    color: var(--border);
}

.footer-copy {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* ============================================
   Modals
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--surface);
    border-radius: 20px;
    padding: 2rem;
    max-width: 440px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-xl);
    animation: modal-appear 0.3s var(--ease);
}

.modal-dialog {
    background: var(--surface);
    border-radius: 20px;
    padding: 2rem;
    max-width: 440px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-xl);
    animation: modal-appear 0.3s var(--ease);
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: var(--border);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-form input {
    padding: 0.875rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: all 0.2s var(--ease);
}

.modal-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface);
}

.btn-modal {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    margin-top: 0.5rem;
}

.btn-modal:hover {
    background: var(--primary-hover);
}

.modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.modal-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* ============================================
   Form Groups & Labels
   ============================================ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    padding: 0.875rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: all 0.2s var(--ease);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Checkbox Group */
.checkbox-group {
    margin: 0.5rem 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Forgot Password */
.forgot-password-link {
    text-align: center;
    margin-top: 0.5rem;
}

.forgot-password-link a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s var(--ease);
}

.forgot-password-link a:hover {
    color: var(--primary);
}

.forgot-password-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Success/Error Messages */
.success-message,
.error-message {
    text-align: center;
    padding: 2rem;
}

.success-icon,
.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-message h3,
.error-message h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.success-message p,
.error-message p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Legal Modals */
.legal-modal-dialog {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.legal-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

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

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Success Notification */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Welcome User */
.welcome-user {
    display: inline-block;
}

/* Modal Title */
.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .nav-menu {
        display: none;
    }

    .menu-btn {
        display: flex;
    }


    .hero-actions {
        flex-direction: column;
    }

    .cta-title {
        font-size: 2rem;
    }

    .demo-tabs {
        flex-direction: column;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.hidden {
    display: none !important;
}
