/* 
 * VeriChain™ - Dark Neo-Minimalism 2026
 * Inspired by Apple Vision Pro + Stripe Dark Mode
 * Elegant, tactile, 3D depth with clean aesthetics
 */

:root {
    /* 🎨 Dark Neo-Minimal Palette */
    --bg-primary: #0D0F1A;           /* Deep blue-black */
    --bg-secondary: #141826;         /* Card backgrounds */
    --bg-tertiary: #1B2032;          /* Elevated surfaces */
    
    /* Accents */
    --accent-violet: #5E5CE6;        /* Cold violet */
    --accent-teal: #6BE5E3;          /* Tech teal */
    --accent-glow: rgba(107, 229, 227, 0.25);
    
    /* Text */
    --text-primary: #E0E2F1;         /* Light text */
    --text-secondary: rgba(224, 226, 241, 0.8);
    --text-muted: rgba(224, 226, 241, 0.5);
    
    /* Borders & Overlays */
    --border-subtle: rgba(255, 255, 255, 0.04);
    --overlay-light: rgba(255, 255, 255, 0.05);
    --overlay-glow: rgba(255, 255, 255, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(145deg, #5E5CE6, #6BE5E3);
    --gradient-card: linear-gradient(135deg, #141826 0%, #1B2032 100%);
    --gradient-glow: radial-gradient(circle at 30% 40%, rgba(94, 92, 230, 0.15), transparent 60%);
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(107, 229, 227, 0.2);
    --shadow-button: 0 4px 20px var(--accent-glow);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    
    /* Layout */
    --max-width: 1440px;
    --grid-gap: 2rem;
    --border-radius: 20px;
    --border-radius-sm: 12px;
}

/* 🌌 Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.3px;
}

/* Background with subtle gradient noise */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    pointer-events: none;
    z-index: 0;
}

/* 📝 Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* 🧱 Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 120px;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

/* 🎯 Buttons - Soft 3D Chrome Effect */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    position: relative;
}

.btn-primary {
    background: linear-gradient(180deg, #6B6FBF 0%, #5E5CE6 100%);
    color: white;
    box-shadow: 
        0 4px 12px rgba(94, 92, 230, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 16px rgba(94, 92, 230, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: linear-gradient(180deg, #3A3D4E 0%, #2D3142 100%);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    border-color: rgba(107, 229, 227, 0.3);
    background: linear-gradient(180deg, #3E4152 0%, #32364A 100%);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(107, 229, 227, 0.3);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    border-color: var(--accent-teal);
    background: rgba(107, 229, 227, 0.05);
    transform: translateY(-1px);
    box-shadow: 
        0 4px 12px rgba(107, 229, 227, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

/* 🃏 Cards - Chrome Effect with Inner Shadow */
.card {
    background: linear-gradient(180deg, #32364A 0%, #2D3142 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(94, 92, 230, 0.08), transparent 50%);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    border-color: rgba(107, 229, 227, 0.15);
}

/* Card with glow effect */
.card-glow {
    position: relative;
}

.card-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

.card-glow:hover::after {
    opacity: 0.3;
}

/* 🎨 Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(94, 92, 230, 0.1);
    border: 1px solid rgba(94, 92, 230, 0.3);
    border-radius: 50px;
    color: var(--accent-violet);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* 🌟 Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(94, 92, 230, 0.15), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

/* 3D Orb/Sphere Element */
.hero-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    pointer-events: none;
}

.orb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(107, 229, 227, 0.3), rgba(94, 92, 230, 0.2));
    box-shadow: 
        0 0 60px rgba(107, 229, 227, 0.4),
        inset 0 0 60px rgba(94, 92, 230, 0.2);
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.orb::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    filter: blur(20px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* 📊 Grid Layouts */
.grid {
    display: grid;
    gap: var(--grid-gap);
}

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

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

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

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

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ✨ Icon Styles - 3D Chrome Effect */
.icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(180deg, #6B6FBF 0%, #5E5CE6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 
        0 4px 16px rgba(94, 92, 230, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        inset 0 -3px 0 rgba(0, 0, 0, 0.3);
    position: relative;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.icon-wrapper svg,
.icon-wrapper i {
    width: 32px;
    height: 32px;
    color: white;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

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

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

/* Stagger animation delays */
.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }

/* 🔮 Glassmorphism */
.glass {
    background: rgba(20, 24, 38, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
}

/* 💫 Glow Text */
.glow-text {
    text-shadow: 0 0 20px rgba(107, 229, 227, 0.5);
}

/* 📱 Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-xxl: 5rem;
    }
    
    .hero-visual {
        display: none;
    }
}

/* 🎯 Utility Classes */
.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
