/* ============================================
   SIMRS AI - Landing Page Styles
   Theme: Modern Hospital, AI-Powered, Dark Mode
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    /* Primary Gradient Dark Green */
    --primary-50: #ecfdf5;
    --primary-100: #d1fae5;
    --primary-200: #a7f3d0;
    --primary-300: #6ee7b7;
    --primary-400: #34d399;
    --primary-500: #10b981;
    --primary-600: #059669;
    --primary-700: #047857;
    --primary-800: #065f46;
    --primary-900: #064e3b;
    --primary-950: #022c22;

    /* Accent - Teal/Cyan for AI feel */
    --accent-50: #f0fdfa;
    --accent-100: #ccfbf1;
    --accent-200: #99f6e4;
    --accent-300: #5eead4;
    --accent-400: #2dd4bf;
    --accent-500: #14b8a6;
    --accent-600: #0d9488;
    --accent-700: #0f766e;
    --accent-800: #115e59;
    --accent-900: #134e4a;

    /* Dark Mode Colors */
    --dark-50: #f8fafc;
    --dark-100: #f1f5f9;
    --dark-200: #e2e8f0;
    --dark-300: #cbd5e1;
    --dark-400: #94a3b8;
    --dark-500: #64748b;
    --dark-600: #475569;
    --dark-700: #334155;
    --dark-800: #1e293b;
    --dark-900: #0f172a;
    --dark-950: #020617;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 50%, var(--accent-800) 100%);
    --gradient-hero: linear-gradient(180deg, var(--dark-950) 0%, var(--primary-950) 50%, var(--dark-900) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --gradient-glow: radial-gradient(ellipse at center, var(--primary-500) 0%, transparent 70%);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-padding: 6rem;
    --container-max: 1280px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.3);
    --shadow-glow-lg: 0 0 80px rgba(16, 185, 129, 0.4);
}

/* ===== Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background: var(--dark-950);
    color: var(--dark-200);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-900);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-600);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-50);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    color: var(--dark-400);
}

a {
    color: var(--primary-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-300);
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-lg);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--dark-200);
    border: 1px solid var(--dark-600);
}

.btn-outline:hover {
    background: var(--dark-800);
    border-color: var(--primary-500);
    color: var(--primary-400);
}

.btn-icon {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border-radius: 0.625rem;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(2, 6, 23, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(2, 6, 23, 0.95);
    border-bottom-color: var(--dark-800);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.navbar-logo svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.navbar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-50);
}

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

.navbar-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-400);
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width var(--transition-base);
}

.navbar-link:hover {
    color: var(--primary-400);
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-200);
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-950);
    z-index: 999;
    padding: 5rem 1.5rem 2rem;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-size: 1.125rem;
    padding: 1rem;
    border-radius: 0.5rem;
    color: var(--dark-200);
}

.mobile-menu a:hover {
    background: var(--dark-800);
    color: var(--primary-400);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 70%, transparent 110%);
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 70%, transparent 110%);
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: -300px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-400);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--accent-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--dark-400);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-800);
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-50);
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--dark-500);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-dashboard {
    position: relative;
    background: var(--dark-900);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border: 1px solid var(--dark-700);
}

.hero-dashboard-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--dark-700);
    margin-bottom: 1rem;
}

.hero-dashboard-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.hero-dashboard-dot.red { background: #ef4444; }
.hero-dashboard-dot.yellow { background: #eab308; }
.hero-dashboard-dot.green { background: #22c55e; }

.hero-dashboard-title {
    font-size: 0.75rem;
    color: var(--dark-500);
    margin-left: 0.5rem;
}

.hero-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-dashboard-card {
    background: var(--dark-800);
    border-radius: 0.75rem;
    padding: 1rem;
}

.hero-dashboard-card-label {
    font-size: 0.75rem;
    color: var(--dark-500);
    margin-bottom: 0.25rem;
}

.hero-dashboard-card-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-dashboard-card-value.primary { color: var(--primary-400); }
.hero-dashboard-card-value.accent { color: var(--accent-400); }
.hero-dashboard-card-value.success { color: #22c55e; }

.hero-dashboard-chart {
    background: var(--dark-800);
    border-radius: 0.75rem;
    padding: 1rem;
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
}

.hero-dashboard-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-600), var(--primary-400));
    border-radius: 0.25rem 0.25rem 0 0;
    transition: height var(--transition-base);
}

/* AI Badge */
.hero-ai-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.hero-ai-badge-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-ai-badge-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-400);
}

.hero-ai-badge-text {
    font-size: 0.875rem;
}

.hero-ai-badge-title {
    font-weight: 600;
    color: var(--dark-50);
}

.hero-ai-badge-status {
    color: var(--primary-400);
    font-size: 0.75rem;
}

/* ===== Section Styles ===== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark {
    background: var(--dark-950);
}

.section-darker {
    background: linear-gradient(180deg, var(--dark-900) 0%, var(--dark-950) 100%);
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary-400);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.0625rem;
    color: var(--dark-400);
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--dark-800);
    border-radius: 1rem;
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-icon.primary {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-400);
}

.feature-icon.accent {
    background: rgba(20, 184, 166, 0.15);
    color: var(--accent-400);
}

.feature-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.feature-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.feature-icon.rose {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
}

.feature-icon.purple {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-50);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--dark-400);
    line-height: 1.6;
}

/* ===== Modules Section ===== */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.module-card {
    background: var(--dark-900);
    border: 1px solid var(--dark-800);
    border-radius: 0.875rem;
    padding: 1.25rem;
    text-align: center;
    transition: all var(--transition-base);
    cursor: default;
}

.module-card:hover {
    background: var(--dark-800);
    border-color: var(--primary-700);
    transform: translateY(-2px);
}

.module-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.module-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--dark-300);
}

.modules-more {
    text-align: center;
    margin-top: 2rem;
    color: var(--dark-500);
    font-size: 0.9375rem;
}

/* Dashboard Bar Heights */
.hero-dashboard-bar:nth-child(1) { height: 30%; }
.hero-dashboard-bar:nth-child(2) { height: 50%; }
.hero-dashboard-bar:nth-child(3) { height: 65%; }
.hero-dashboard-bar:nth-child(4) { height: 80%; }
.hero-dashboard-bar:nth-child(5) { height: 100%; }
.hero-dashboard-bar:nth-child(6) { height: 75%; }
.hero-dashboard-bar:nth-child(7) { height: 45%; }

/* Mobile menu button margin */
.mobile-menu .btn {
    margin-top: 1rem;
}

/* Stats grid margin in integration section */
.integration-stats {
    margin-top: 4rem;
}

/* ===== AI Section ===== */
.ai-section {
    position: relative;
    overflow: hidden;
}

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

.ai-visual {
    position: relative;
}

.ai-card {
    background: var(--gradient-card);
    border: 1px solid var(--dark-800);
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
}

.ai-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-card-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.ai-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.ai-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-50);
}

.ai-card-subtitle {
    font-size: 0.875rem;
    color: var(--primary-400);
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--dark-800);
    border-radius: 0.75rem;
}

.ai-feature-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-feature-icon svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary-400);
}

.ai-feature-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-50);
}

.ai-feature-desc {
    font-size: 0.8125rem;
    color: var(--dark-400);
}

.ai-info h3 {
    margin-bottom: 1rem;
}

.ai-info p {
    margin-bottom: 1.5rem;
}

.ai-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ai-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--dark-300);
}

.ai-list-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-500);
    flex-shrink: 0;
}

/* ===== Integration Section ===== */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.integration-card {
    background: var(--dark-900);
    border: 1px solid var(--dark-800);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.integration-card:hover {
    border-color: var(--primary-700);
    transform: translateY(-2px);
}

.integration-icon {
    width: 4rem;
    height: 4rem;
    background: var(--dark-800);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.integration-icon.primary { color: var(--primary-400); }
.integration-icon.accent { color: var(--accent-400); }
.integration-icon.blue { color: #60a5fa; }
.integration-icon.rose { color: #fb7185; }

.integration-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-50);
    margin-bottom: 0.25rem;
}

.integration-subtitle {
    font-size: 0.8125rem;
    color: var(--dark-500);
}

/* ===== Stats Section ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--gradient-card);
    border: 1px solid var(--dark-800);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--accent-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--dark-400);
}

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
    background: linear-gradient(180deg, var(--dark-950) 0%, var(--primary-950) 100%);
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--dark-400);
    margin-bottom: 2rem;
}

.cta-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

.cta-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: var(--dark-900);
    border: 1px solid var(--dark-700);
    border-radius: 0.75rem;
    color: var(--dark-200);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.cta-input::placeholder {
    color: var(--dark-500);
}

.cta-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.cta-contact {
    font-size: 0.9375rem;
    color: var(--dark-500);
}

.cta-contact a {
    color: var(--primary-400);
}

/* ===== Footer ===== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--dark-800);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

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

.footer-logo {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

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

.footer-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--dark-500);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-400);
}

/* ===== Parallax Elements ===== */
.parallax-layer {
    position: absolute;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(60px);
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--primary-500);
    opacity: 0.1;
}

.shape-2 {
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--accent-500);
    opacity: 0.08;
}

/* ===== Animations ===== */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }
.scroll-reveal.delay-4 { transition-delay: 0.4s; }
.scroll-reveal.delay-5 { transition-delay: 0.5s; }

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .modules-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ai-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-toggle {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

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

    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .stat-value {
        font-size: 2rem;
    }

    .cta-form {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
