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

:root {
    /* TrustDrop App Colors - Matching Exact Theme */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #059669;
    --accent: #7c3aed;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #06b6d4;
    
    /* Professional neutral palette - matching app */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Clean backgrounds - matching app */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-overlay: rgba(15, 23, 42, 0.4);
    
    /* Text colors - matching app */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --text-inverse: #ffffff;
    
    /* Gradients - clean and professional */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-hover));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), #047857);
    --gradient-accent: linear-gradient(135deg, var(--accent), #6d28d9);
    
    /* Spacing system - matching app */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Typography - Apple-inspired matching app */
    --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
    --font-mono: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", monospace;
    
    /* Font sizes - matching app */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    --text-8xl: 6rem;
    --text-9xl: 8rem;
    
    /* Line heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    
    /* Border radius - matching app */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Professional shadows - matching app */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --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 20px rgba(37, 99, 235, 0.3);
    
    /* Smooth transitions - matching app */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-background: -1;
    --z-content: 1;
    --z-overlay: 10;
    --z-modal: 100;
    --z-tooltip: 1000;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: var(--leading-normal);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== SOPHISTICATED ANIMATED BACKGROUND ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-background);
    pointer-events: none;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(ellipse 800px 600px at 20% 40%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 600px 800px at 80% 60%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 400px 400px at 40% 80%, rgba(5, 150, 105, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(124, 58, 237, 0.03) 50%, rgba(5, 150, 105, 0.02) 100%);
    animation: gradient-flow 25s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes gradient-flow {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    25% { 
        transform: rotate(1deg) scale(1.02);
        opacity: 0.9;
    }
    50% { 
        transform: rotate(0deg) scale(1.05);
        opacity: 0.8;
    }
    75% { 
        transform: rotate(-1deg) scale(1.02);
        opacity: 0.9;
    }
}

/* Sophisticated Floating Elements */
.floating-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0.4;
    filter: blur(0.5px);
    animation: sophisticated-float 15s ease-in-out infinite;
}

.dot-1 {
    width: 8px;
    height: 8px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.dot-2 {
    width: 6px;
    height: 6px;
    top: 35%;
    right: 12%;
    animation-delay: -3s;
    animation-duration: 22s;
}

.dot-3 {
    width: 10px;
    height: 10px;
    bottom: 25%;
    left: 15%;
    animation-delay: -7s;
    animation-duration: 16s;
}

.dot-4 {
    width: 4px;
    height: 4px;
    top: 65%;
    right: 25%;
    animation-delay: -2s;
    animation-duration: 20s;
}

.dot-5 {
    width: 7px;
    height: 7px;
    bottom: 15%;
    right: 8%;
    animation-delay: -5s;
    animation-duration: 24s;
}

.dot-6 {
    width: 5px;
    height: 5px;
    top: 85%;
    left: 45%;
    animation-delay: -8s;
    animation-duration: 19s;
}

@keyframes sophisticated-float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.4;
        filter: blur(0.5px);
    }
    20% { 
        transform: translateY(-30px) translateX(15px) rotate(90deg);
        opacity: 0.7;
        filter: blur(0.3px);
    }
    40% { 
        transform: translateY(-20px) translateX(-20px) rotate(180deg);
        opacity: 0.5;
        filter: blur(0.7px);
    }
    60% { 
        transform: translateY(-45px) translateX(10px) rotate(270deg);
        opacity: 0.8;
        filter: blur(0.2px);
    }
    80% { 
        transform: translateY(-15px) translateX(-10px) rotate(360deg);
        opacity: 0.6;
        filter: blur(0.4px);
    }
}

/* Mesh Grid Background */
.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: mesh-drift 30s linear infinite;
    opacity: 0.6;
}

@keyframes mesh-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Subtle Light Rays */
.animated-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg at 30% 30%, transparent 0deg, rgba(37, 99, 235, 0.05) 60deg, transparent 120deg),
        conic-gradient(from 180deg at 70% 70%, transparent 0deg, rgba(124, 58, 237, 0.04) 60deg, transparent 120deg);
    animation: light-rotation 40s linear infinite;
    opacity: 0.8;
}

@keyframes light-rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Interactive Particle Canvas */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-background);
    pointer-events: none;
    opacity: 0.6;
}

/* ===== MAIN CONTAINER ===== */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-8);
    position: relative;
    z-index: var(--z-content);
    text-align: center;
}

/* ===== LOGO SECTION ===== */
.logo-container {
    margin-bottom: var(--space-16);
    animation: fade-in-up 1s ease-out;
}

.logo {
    width: 140px;
    height: 140px;
    margin: 0 auto var(--space-8);
    transition: all var(--transition-slow);
    cursor: pointer;
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    opacity: 0;
    filter: blur(20px);
    transition: all var(--transition-slow);
    z-index: -1;
}

.logo:hover::before {
    opacity: 0.3;
    transform: scale(1.1);
}

.logo:hover {
    transform: scale(1.08) rotate(8deg);
    filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.3));
}

.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(var(--shadow-xl));
    transition: all var(--transition-slow);
}

.logo:hover .logo-svg {
    filter: drop-shadow(0 15px 30px rgba(37, 99, 235, 0.4));
}

.brand-name {
    font-size: var(--text-4xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    margin: 0;
    position: relative;
}

.brand-name::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.6;
}

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

/* ===== MAIN CONTENT ===== */
.main-content {
    width: 100%;
    max-width: 800px;
}

.coming-soon-container {
    margin-bottom: var(--space-24);
}

.coming-soon-text {
    font-size: clamp(5rem, 18vw, 12rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.06em;
    margin-bottom: var(--space-12);
    position: relative;
    text-align: center;
    perspective: 1000px;
}

.word {
    display: inline-block;
    position: relative;
    margin: 0 var(--space-4);
    animation: spectacular-reveal 2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
    transform: translateY(150px) rotateX(-90deg) scale(0.8);
    transform-origin: center bottom;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation-fill-mode: both;
}

.word::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(20px);
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
}

.word:nth-child(1) {
    animation-delay: 0.8s;
}

.word:nth-child(2) {
    animation-delay: 1.4s;
}

@keyframes spectacular-reveal {
    0% {
        opacity: 0;
        transform: translateY(150px) rotateX(-90deg) scale(0.8);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-20px) rotateX(-10deg) scale(1.05);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
        filter: blur(0px);
    }
}

@keyframes glow-pulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.02);
    }
}

/* Add shimmer effect */
.coming-soon-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.tagline {
    font-size: var(--text-2xl);
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: var(--space-16);
    animation: fade-in-up 0.8s ease-out 2.2s forwards;
    opacity: 0;
    position: relative;
    letter-spacing: 0.01em;
}

.tagline::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.4;
}

.features {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    margin-bottom: var(--space-16);
    animation: fade-in-up 0.8s ease-out 2.6s forwards;
    opacity: 0;
    perspective: 1000px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    border: 2px solid transparent;
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(30px);
    transition: all var(--transition-slow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: all var(--transition-slow);
    z-index: -1;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: calc(var(--radius-2xl) - 2px);
    z-index: -1;
}

.feature-item:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(37, 99, 235, 0.25),
        0 0 0 1px rgba(37, 99, 235, 0.1);
}

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

.feature-item:nth-child(1) {
    animation-delay: 1.8s;
}

.feature-item:nth-child(2) {
    animation-delay: 2.0s;
}

.feature-item:nth-child(3) {
    animation-delay: 2.2s;
}

.feature-icon {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.feature-item span {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}


/* ===== FOOTER ===== */
.footer {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    animation: fade-in 0.8s ease-out 3.2s forwards;
    opacity: 0;
}

.footer p {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: var(--space-6);
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .brand-name {
        font-size: var(--text-3xl);
    }
    
    .coming-soon-text {
        font-size: clamp(3rem, 15vw, 6rem);
    }
    
    .tagline {
        font-size: var(--text-xl);
    }
    
    .features {
        flex-direction: column;
        gap: var(--space-4);
        align-items: center;
    }
    
    .feature-item {
        width: 100%;
        max-width: 280px;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: var(--space-4);
    }
    
    .logo-container {
        margin-bottom: var(--space-12);
    }
    
    .coming-soon-container {
        margin-bottom: var(--space-16);
    }
    
    .coming-soon-text {
        font-size: clamp(2.5rem, 18vw, 4.5rem);
        margin-bottom: var(--space-6);
    }
    
    .tagline {
        font-size: var(--text-lg);
        margin-bottom: var(--space-8);
    }
    
    .features {
        gap: var(--space-3);
    }
    
    .feature-item {
        padding: var(--space-4);
    }
    
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== SELECTION STYLING ===== */
::selection {
    background-color: var(--primary);
    color: var(--text-inverse);
}

/* ===== FOCUS STYLES ===== */
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== SMOOTH ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* ===== CUSTOM CURSOR EFFECT ===== */
.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

.cursor-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.6;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: fixed;
    bottom: var(--space-12);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    opacity: 0;
    animation: fade-in 0.8s ease-out 3.8s forwards;
}

.scroll-text {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.scroll-arrow {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    position: relative;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-right: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    transform: translateX(-50%) rotate(45deg);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: loading-spin 1s linear infinite;
}

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


