/* ================================
   Production-Grade tranzyNote Styles
   ================================ */

/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Modern Gradient Palette */
    --primary-600: #6366F1;
    --primary-700: #5558E3;
    --primary-800: #4F46E5;
    --secondary-600: #8B5CF6;
    --secondary-700: #7C3AED;

    /* Neutral Colors */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-600) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    --gradient-cta: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A855F7 100%);

    /* 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 -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --spacing-unit: 0.25rem;

    /* Animation */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --container-max: 1280px;
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
}

/* ===== GLOBAL STYLES ===== */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Selection */
::selection {
    background-color: rgba(99, 102, 241, 0.2);
    color: var(--gray-900);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary-600);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-ring:nth-child(1) {
    animation-delay: -0.45s;
}

.loader-ring:nth-child(2) {
    animation-delay: -0.3s;
}

.loader-ring:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-600);
}

.cursor-outline {
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary-600);
    opacity: 0.5;
    transition: all 0.15s ease;
}

@media (hover: none) {
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

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

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    position: relative;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-600);
}

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

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-base);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--primary-600);
    color: var(--primary-600);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-600);
    border-color: white;
}

.btn-text {
    background: transparent;
    color: var(--gray-600);
}

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

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(249, 250, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    top: 20%;
    right: -10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    bottom: -20%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.6;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.stat-value {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 2rem;
    background: var(--gray-300);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.app-mockup {
    position: relative;
}

.mockup-window {
    background: white;
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    transform: perspective(1500px) rotateY(0deg);
    transition: transform var(--transition-slow);
}

.mockup-window:hover {
    transform: perspective(1500px) rotateY(-2deg) rotateX(2deg);
}

.window-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

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

.control-dot.red {
    background: #EF4444;
}

.control-dot.yellow {
    background: #F59E0B;
}

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

.window-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
}

.window-content {
    padding: 2.5rem;
    min-height: 400px;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
}

.chat-interface {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.message {
    display: flex;
    gap: 1rem;
    animation: slideIn 0.5s ease;
}

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

.ai-message {
    align-items: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--gradient-primary);
}

.message-content {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    max-width: 70%;
}

.user-message .message-content {
    background: var(--gradient-primary);
    color: white;
}

.typing-indicator {
    display: flex;
    gap: 0.375rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: var(--border-radius-xl);
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-400);
    animation: bounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.mockup-glow {
    position: absolute;
    inset: -100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    z-index: -1;
    filter: blur(60px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    font-size: 0.875rem;
    animation: floatUpDown 2s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===== TRUST BAR ===== */
.trust-bar {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.trust-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: nowrap;
    width: max-content;
}

.trust-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-400);
    opacity: 0.7;
    transition: all var(--transition-base);
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-logo:hover {
    opacity: 1;
    color: var(--gray-600);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* ===== FEATURES SECTION ===== */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-2xl);
    transition: all var(--transition-base);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.feature-icon-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.feature-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--border-radius-xl);
}

.feature-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: gap var(--transition-base);
}

.feature-link:hover {
    gap: 0.75rem;
}

/* ===== HOW IT WORKS (TIMELINE) ===== */
.how-it-works {
    background: var(--gray-50);
}

.timeline {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) > * {
    direction: ltr;
}

.timeline-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 1;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-icon {
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
}

.timeline-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-600);
}

.timeline-visual {
    height: 300px;
}

.visual-card {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
}

.card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

.timeline-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-2xl);
    position: relative;
    z-index: 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: brightness(1.05) contrast(1.05);
    background-color: #1a1a2e;
    background-size: cover;
}

/* ===== COMPARISON SECTION ===== */
.comparison {
    background: white;
}

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

.comparison-table-modern {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--gray-50);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-700);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--gray-200);
    transition: background var(--transition-base);
}

.comparison-row:hover {
    background: var(--gray-50);
}

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

.comparison-cell.feature-name {
    justify-content: flex-start;
    font-weight: 500;
    color: var(--gray-700);
}

.comparison-cell.highlight {
    position: relative;
}

.comparison-cell.highlight::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: -1rem;
    bottom: -1rem;
    width: calc(100% + 4rem);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    z-index: -1;
}

.badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.check-icon.yes {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.check-icon.no {
    background: rgba(107, 114, 128, 0.1);
    color: var(--gray-400);
}

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

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--gray-50);
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card-modern {
    position: relative;
    padding: 3rem 2rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-2xl);
    text-align: center;
    transition: all var(--transition-base);
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.stat-card-modern:hover::before {
    transform: scaleX(1);
}

.stat-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    margin: 0 auto 1.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-400);
    margin-left: 0.25rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 1rem;
}

.stat-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

/* ===== FAQ SECTION ===== */
.faq {
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

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

.faq-item-modern {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item-modern:hover {
    box-shadow: var(--shadow-md);
}

.faq-question-modern {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    transition: background var(--transition-base);
}

.faq-question-modern:hover {
    background: var(--gray-50);
}

.faq-icon-modern {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 50%;
    color: var(--primary-600);
    transition: transform var(--transition-base);
}

.faq-item-modern.active .faq-icon-modern {
    transform: rotate(45deg);
}

.faq-answer-modern {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item-modern.active .faq-answer-modern {
    max-height: 500px;
}

.faq-answer-modern p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 8rem 0;
    background: var(--gray-50);
}

.cta-card {
    position: relative;
    padding: 5rem 3rem;
    background: var(--gradient-cta);
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb-cta-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation: float 15s ease-in-out infinite;
}

.orb-cta-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    bottom: -20%;
    left: -10%;
    animation: float 18s ease-in-out infinite reverse;
}

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

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

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

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    margin-left: auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: white;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: 0.75rem;
}

.badge-small {
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-400);
}

/* ===== ANIMATIONS & AOS ===== */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .section {
        padding: 6rem 0;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .timeline-number {
        font-size: 3rem;
    }

    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-links {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 10rem 0 6rem;
    }

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

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

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

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        padding: 1rem;
        font-size: 0.75rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        margin-left: 0;
        flex-direction: column;
        gap: 2rem;
    }

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

@media (max-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .window-content {
        padding: 1.5rem;
        min-height: 300px;
    }

    .message-content {
        max-width: 85%;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .hero-scroll-indicator,
    .cta-section,
    .footer {
        display: none;
    }
}

/* ===== PLATFORM ANNOUNCEMENT (ANIMATED TEXT) ===== */
.platform-announcement {
    margin-top: 1.5rem;
    text-align: center;
    min-height: 30px;
}

.animated-text {
    font-size: 1rem;
    color: var(--primary-600);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-block;
}

.animated-text .word {
    display: inline-block;
    opacity: 0;
    animation: wordFadeIn 0.4s ease-in-out forwards;
    margin: 0 0.2rem;
}

@keyframes wordFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FOOTER ALIGNMENT FIX ===== */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
    text-align: center;
}

/* ===== ENTERPRISE-LEVEL ANIMATIONS ===== */

/* Smooth hover lift effect for cards */
.feature-card,
.timeline-item,
.faq-item-modern {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

/* Gradient animation for hero background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-bg {
    background: linear-gradient(-45deg,
        rgba(99, 102, 241, 0.05),
        rgba(139, 92, 246, 0.05),
        rgba(168, 85, 247, 0.05),
        rgba(99, 102, 241, 0.05)
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Floating animation for orbs */
@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.gradient-orb {
    animation: floatOrb 20s ease-in-out infinite;
}

.gradient-orb:nth-child(2) {
    animation-delay: -7s;
    animation-duration: 25s;
}

.gradient-orb:nth-child(3) {
    animation-delay: -14s;
    animation-duration: 30s;
}

/* Button hover effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Smooth scroll reveal */
.section {
    opacity: 0;
    animation: sectionFadeIn 0.8s ease-out forwards;
}

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

/* Trust logos animation enhancement */
.trust-logo {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.trust-logo:hover {
    transform: scale(1.1);
}

/* App mockup glow pulse */
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        filter: blur(40px);
    }
    50% {
        opacity: 0.8;
        filter: blur(60px);
    }
}

.mockup-glow {
    animation: glowPulse 3s ease-in-out infinite;
}

/* Navbar scroll effect enhancement */
.navbar.scrolled {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Link hover animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-600);
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Comparison table row hover */
.comparison-row {
    transition: all 0.3s ease;
}

.comparison-row:hover {
    background: rgba(99, 102, 241, 0.03);
    transform: scale(1.01);
}

/* FAQ accordion smooth animation */
.faq-answer-modern {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-item-modern.active .faq-answer-modern {
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        padding-top: 1rem;
    }
}

/* Parallax scroll effect for sections */
.section-header {
    transition: transform 0.3s ease-out;
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease-in-out;
}

img:not([src]) {
    opacity: 0;
}

/* Footer links animation */
.footer-column a {
    position: relative;
    display: inline-block;
}

.footer-column a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.footer-column a:hover::before {
    width: 100%;
}

/* Loading state animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0)
    );
    background-size: 1000px 100%;
}

/* Hero CTA buttons stagger animation */
.hero-cta .btn:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-cta .btn:nth-child(2) {
    animation-delay: 0.2s;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .feature-card:hover {
        transform: translateY(-4px);
    }

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

/* ===== MODE TOGGLE STYLES ===== */
.mode-toggle-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    animation: slideInFromRight 0.6s ease-out;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.mode-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.mode-label {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.mode-toggle-wrapper .mode-label:first-child {
    color: var(--primary-600);
}

.incognito-mode .mode-toggle-wrapper .mode-label:first-child {
    color: var(--gray-600);
}

.incognito-mode .mode-toggle-wrapper .mode-label:last-child {
    color: var(--gray-900);
}

.mode-toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
    background: var(--gray-300);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
    outline: none;
}

.mode-toggle-switch:hover {
    background: var(--gray-400);
}

.mode-toggle-switch:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.incognito-mode .mode-toggle-switch {
    background: var(--primary-600);
}

.incognito-mode .toggle-slider {
    transform: translateX(24px);
}

/* Incognito Mode - Complete Container Transparency */
.incognito-mode .mockup-window {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.4s ease;
}

.incognito-mode .window-header {
    background: transparent !important;
    border-bottom: none !important;
    opacity: 0;
    transition: all 0.4s ease;
}

.incognito-mode .window-controls,
.incognito-mode .window-title,
.incognito-mode .window-actions {
    opacity: 0;
    transition: all 0.4s ease;
}

.incognito-mode .message-avatar,
.incognito-mode .typing-indicator {
    opacity: 0;
    transition: all 0.4s ease;
}

.incognito-mode .mockup-glow {
    opacity: 0;
    transition: all 0.4s ease;
}

.incognito-mode .window-content {
    background: transparent !important;
}

.incognito-mode .chat-interface {
    background: transparent !important;
}

.incognito-mode .message {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Keep only text visible */
.incognito-mode .message-content p {
    background: transparent !important;
    color: var(--gray-800) !important;
    transition: all 0.4s ease;
}

/* Responsive Mode Toggle */
@media (max-width: 768px) {
    .mode-toggle-container {
        top: 15px;
        right: 15px;
    }

    .mode-toggle-wrapper {
        gap: 8px;
        padding: 8px 12px;
    }

    .mode-label {
        font-size: 11px;
    }

    .mode-toggle-switch {
        width: 40px;
        height: 20px;
    }

    .toggle-slider {
        width: 16px;
        height: 16px;
    }

    .incognito-mode .toggle-slider {
        transform: translateX(20px);
    }
}
