/* ================================================
   DentaCare Pro - Premium Landing Page
   A distinctive, non-AI aesthetic
   ================================================ */

:root {
    /* Primary Palette - Dental / Medical */
    --primary: #2A7C8E;
    --primary-light: #3D9AAD;
    --primary-dark: #1E5F6D;
    --primary-pale: #E8F4F6;
    --accent: #19B5A0;
    --accent-light: #2DD4BF;
    --accent-pale: #E6FAF7;
    --highlight: #F59E42;
    --highlight-light: #FBBF6A;
    
    /* Neutrals */
    --navy: #1A2F3A;
    --navy-light: #243D4A;
    --navy-medium: #2E4A59;
    --bg-light: #F8FBFC;
    --bg-soft: #EEF5F7;
    --text-primary: #1A2F3A;
    --text-secondary: #4A6572;
    --text-muted: #7A9BA8;
    --text-light: #FAFCFD;
    
    /* Semantic */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Borders & Shadows */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 2px 4px rgba(30, 30, 30, 0.04);
    --shadow-md: 0 4px 12px rgba(30, 30, 30, 0.08);
    --shadow-lg: 0 8px 24px rgba(30, 30, 30, 0.12);
    --shadow-xl: 0 16px 48px rgba(30, 30, 30, 0.16);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================
   Reset & Base
   ================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ================================================
   Typography
   ================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 500;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-body);
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

em {
    font-style: italic;
    color: var(--primary);
}

/* ================================================
   Utility
   ================================================ */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--highlight);
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 640px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.section-header.light h2,
.section-header.light p {
    color: var(--text-light);
}

.section-header.light .section-eyebrow {
    color: var(--accent-light);
}

/* ================================================
   Buttons
   ================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--primary);
    color: var(--text-light);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 124, 142, 0.25);
}

.btn-primary svg {
    transition: transform var(--transition-fast);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.btn-ghost:hover {
    color: var(--primary);
}

/* ================================================
   Navigation
   ================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.lang-toggle {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border: 1px solid var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.nav-cta {
    padding: var(--space-sm) var(--space-lg);
    background: var(--navy);
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--navy-light);
}

/* Mobile Navigation */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    padding: 4px;
}

.nav-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all var(--transition-fast);
}

.nav-mobile-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-light);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.mobile-menu-links a {
    padding: var(--space-md);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.mobile-menu-links a:hover {
    background: var(--bg-soft);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.lang-toggle-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--text-muted);
    border-radius: var(--radius-md);
}

.mobile-cta {
    display: block;
    text-align: center;
    padding: var(--space-md);
    background: var(--primary);
    color: var(--text-light);
    font-weight: 500;
    border-radius: var(--radius-md);
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 var(--space-4xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 90%;
    background: radial-gradient(ellipse, rgba(42, 124, 142, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -30%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(25, 181, 160, 0.06) 0%, transparent 70%);
}

.hero-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: 
        linear-gradient(180deg, transparent 0%, var(--bg-soft) 100%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--highlight);
}

.hero-eyebrow span:last-child {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--highlight);
}

.hero-title {
    margin-bottom: var(--space-lg);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.trust-item svg {
    color: var(--primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-mockup {
    position: relative;
    z-index: 1;
}

.mockup-browser {
    background: var(--navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--navy-light);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--navy-medium);
}

.browser-dots span:first-child { background: #E85D5D; }
.browser-dots span:nth-child(2) { background: #E8B45D; }
.browser-dots span:last-child { background: #5DE88E; }

.browser-url {
    flex: 1;
    padding: 6px 12px;
    background: var(--navy-medium);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.browser-content {
    display: flex;
    min-height: 320px;
}

.app-sidebar {
    width: 56px;
    background: rgba(255, 255, 255, 0.03);
    padding: var(--space-md) var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.sidebar-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.sidebar-item svg {
    width: 18px;
    height: 18px;
}

.sidebar-item.active {
    background: var(--primary);
    color: var(--text-light);
}

.app-main {
    flex: 1;
    padding: var(--space-lg);
}

.app-header {
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

.app-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.app-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
}

.card-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-light);
    min-width: 42px;
}

.card-info {
    flex: 1;
}

.card-info strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 2px;
}

.card-info span {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.card-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.card-status.confirmed {
    background: var(--success);
}

.card-status.pending {
    background: var(--warning);
}

/* Hero Float Cards */
.hero-float {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.float-1 {
    top: 10%;
    right: -20px;
}

.float-2 {
    bottom: 15%;
    left: -30px;
    animation-delay: -3s;
}

.float-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-pale);
    border-radius: var(--radius-sm);
    color: var(--accent);
}

.float-icon svg {
    width: 20px;
    height: 20px;
}

.float-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 600;
}

.float-text strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.float-text span {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ================================================
   Features Section
   ================================================ */
.features {
    padding: var(--space-4xl) 0;
    background: var(--bg-soft);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-pale), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-item {
    padding: var(--space-xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.feature-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    background: var(--primary-pale);
    border-radius: var(--radius-md);
    color: var(--primary);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-item h3 {
    margin-bottom: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 600;
}

.feature-item > p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '→';
    color: var(--primary);
    flex-shrink: 0;
}

/* ================================================
   Benefits Section
   ================================================ */
.benefits {
    padding: var(--space-4xl) 0;
    background: var(--navy);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.benefit-item {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    background: var(--primary);
    border-radius: var(--radius-md);
    color: var(--text-light);
}

.benefit-icon svg {
    width: 22px;
    height: 22px;
}

.benefit-item h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 600;
}

.benefit-item p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ================================================
   Showcase Section
   ================================================ */
.showcase {
    padding: var(--space-4xl) 0;
    background: var(--bg-light);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.showcase-content .section-title {
    margin-top: var(--space-md);
}

.showcase-content .section-subtitle {
    margin-bottom: var(--space-xl);
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.showcase-feature {
    display: flex;
    gap: var(--space-md);
}

.showcase-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--accent-pale);
    border-radius: 50%;
    color: var(--accent);
}

.showcase-check svg {
    width: 14px;
    height: 14px;
}

.showcase-feature h4 {
    margin-bottom: var(--space-xs);
    font-size: 1rem;
}

.showcase-feature p {
    font-size: 0.875rem;
}

/* Phone Mockup */
.showcase-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    background: var(--navy);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: var(--navy);
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    background: var(--navy-light);
    border-radius: 32px;
    padding: var(--space-2xl) var(--space-md) var(--space-md);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.phone-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-light);
}

.phone-status-icons {
    display: flex;
    gap: 4px;
    color: var(--text-light);
}

.phone-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-light);
}

.phone-title svg {
    color: var(--primary);
}

.phone-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
}

.phone-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
}

.phone-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    flex-shrink: 0;
}

.phone-card-avatar.alt {
    background: var(--highlight);
}

.phone-card-avatar.alt2 {
    background: var(--accent);
}

.phone-card-info {
    flex: 1;
    min-width: 0;
}

.phone-card-info strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phone-card-info span {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.phone-card-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-light);
    flex-shrink: 0;
}

.phone-nav {
    display: flex;
    justify-content: space-around;
    padding-top: var(--space-md);
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-nav-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

.phone-nav-item svg {
    width: 20px;
    height: 20px;
}

.phone-nav-item.active {
    background: var(--primary);
    color: var(--text-light);
}

/* ================================================
   Security Section
   ================================================ */
.security {
    padding: var(--space-4xl) 0;
    background: var(--bg-soft);
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.security-content .section-title {
    margin-top: var(--space-md);
}

.security-content .section-subtitle {
    margin-bottom: var(--space-xl);
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.security-feature {
    display: flex;
    gap: var(--space-md);
}

.security-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--primary);
    border-radius: var(--radius-md);
    color: var(--text-light);
}

.security-icon svg {
    width: 20px;
    height: 20px;
}

.security-feature h4 {
    margin-bottom: var(--space-xs);
    font-size: 1rem;
}

.security-feature p {
    font-size: 0.875rem;
}

.security-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.security-badge:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.security-badge svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.security-badge span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ================================================
   AI Section
   ================================================ */
.ai-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(25, 181, 160, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.ai-section .section-header {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ai-section .section-eyebrow {
    color: var(--accent-light);
}

.ai-section .section-title {
    color: var(--text-light);
}

.ai-section .section-subtitle {
    color: var(--text-muted);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.ai-card {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.ai-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(25, 181, 160, 0.3);
}

.ai-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    background: rgba(25, 181, 160, 0.15);
    border-radius: var(--radius-md);
    color: var(--accent-light);
}

.ai-card-icon svg {
    width: 24px;
    height: 24px;
}

.ai-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 600;
}

.ai-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ================================================
   Demo Section
   ================================================ */
.demo-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-light);
}

.demo-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.demo-content .section-eyebrow {
    display: inline-block;
}

.demo-content .section-title {
    margin-top: var(--space-md);
}

.demo-content .section-subtitle {
    margin: 0 auto var(--space-xl);
}

.demo-card {
    padding: var(--space-2xl);
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.demo-card-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    text-align: left;
    margin-bottom: var(--space-xl);
}

.demo-card-header svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--primary);
}

.demo-card-header h3 {
    margin-bottom: var(--space-xs);
    font-family: var(--font-body);
    font-weight: 600;
}

.demo-card-header p {
    font-size: 0.9375rem;
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-lg);
    background: var(--primary);
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.demo-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 124, 142, 0.25);
}

.demo-btn svg {
    transition: transform var(--transition-fast);
}

.demo-btn:hover svg {
    transform: translateX(4px);
}

.demo-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    background: var(--accent-pale);
    border-radius: var(--radius-md);
    text-align: left;
}

.demo-benefit {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--navy);
}

.demo-benefit svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.demo-feature {
    padding: var(--space-lg);
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    text-align: center;
}

.demo-feature svg {
    width: 32px;
    height: 32px;
    margin: 0 auto var(--space-md);
    color: var(--primary);
}

.demo-feature h4 {
    margin-bottom: var(--space-xs);
    font-size: 0.9375rem;
}

.demo-feature p {
    font-size: 0.8125rem;
}

/* ================================================
   Footer
   ================================================ */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--navy);
}

.footer-container {
    max-width: 1200px;
        margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-3xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-light);
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-light);
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--text-light);
}

.footer-bottom {
        display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--accent-light);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--accent);
}

.footer-separator {
    margin: 0 var(--space-sm);
    opacity: 0.5;
}

.footer-legal-btn {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.footer-legal-btn:hover {
    color: var(--text-light);
}

.footer-badges {
    display: flex;
    gap: var(--space-lg);
}

.footer-badges span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-badges svg {
    color: var(--primary);
}

/* ================================================
   Modal
   ================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(4px);
    overflow-y: auto;
    padding: var(--space-xl);
}

.modal-overlay.active {
    display: flex;
        justify-content: center;
    align-items: flex-start;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: var(--space-xl) auto;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    z-index: 1;
}

.modal-close:hover {
    background: var(--navy);
    color: var(--text-light);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-content {
    padding: var(--space-2xl);
}

.modal-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.modal-header svg {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: var(--highlight);
}

.modal-header h2 {
    margin-bottom: var(--space-xs);
}

.modal-header p {
    font-size: 0.9375rem;
}

.modal-tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-tab {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.modal-tab.active {
    background: var(--primary);
    color: var(--text-light);
}

.modal-body {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.modal-body h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
}

.modal-body ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.modal-body li {
    position: relative;
    margin-bottom: var(--space-sm);
    padding-left: var(--space-md);
}

.modal-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.modal-warning {
    padding: var(--space-md);
    background: rgba(245, 158, 66, 0.1);
    border-left: 3px solid var(--highlight);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: var(--space-lg);
}

.modal-important {
    padding: var(--space-md);
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--warning);
    border-radius: var(--radius-sm);
    margin: var(--space-md) 0;
}

.modal-footer-note {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    text-align: center;
}

.modal-footer-note p {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.modal-footer-note small {
    color: var(--text-muted);
}

/* ================================================
   Animations
   ================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ================================================
   Responsive Design
   ================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-content {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-float {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .showcase-content {
        order: 2;
        text-align: center;
    }

    .showcase-visual {
        order: 1;
    }

    .showcase-feature {
        text-align: left;
    }

    .security-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-grid .ai-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .demo-features {
        grid-template-columns: 1fr;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-4xl: 64px;
        --space-3xl: 48px;
    }

    .section-container {
        padding: 0 var(--space-md);
    }

    .hero {
        padding: 120px 0 var(--space-3xl);
        min-height: auto;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .features-grid,
    .benefits-grid,
    .ai-grid {
        grid-template-columns: 1fr;
    }

    .ai-grid .ai-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .phone-mockup {
        width: 260px;
    }

    .phone-screen {
        min-height: 420px;
    }

    .security-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .demo-card-header {
        flex-direction: column;
        text-align: center;
    }

    .demo-card-header svg {
        margin: 0 auto;
    }

    .demo-benefits {
        text-align: left;
    }

    .modal-content {
        padding: var(--space-lg);
    }

    .modal-tabs {
        flex-wrap: wrap;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-trust {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .browser-content {
        min-height: 260px;
    }

    .app-sidebar {
        width: 48px;
    }

    .sidebar-item {
        width: 32px;
        height: 32px;
    }

    .sidebar-item svg {
        width: 14px;
        height: 14px;
    }

    .app-main {
        padding: var(--space-md);
    }

    .security-badges {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .security-badge {
        padding: var(--space-lg);
    }

    .security-badge svg {
        width: 28px;
        height: 28px;
    }

    .footer-badges {
        flex-direction: column;
        gap: var(--space-sm);
    }
}
