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

:root {
    /* Colors */
    --primary-600: #6366f1;
    --primary-500: #8b5cf6;
    --primary-400: #a78bfa;
    --secondary-500: #22d3ee;
    --secondary-600: #06b6d4;
    --accent-500: #d946ef;
    --accent-400: #e879f9;
    
    /* Neutral colors */
    --neutral-950: #0f172a;
    --neutral-900: #1e1b4b;
    --neutral-800: #1e293b;
    --neutral-700: #334155;
    --neutral-600: #475569;
    --neutral-400: #94a3b8;
    --neutral-300: #cbd5e1;
    --neutral-200: #e2e8f0;
    --neutral-100: #f1f5f9;
    --neutral-50: #f8fafc;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: linear-gradient(180deg, var(--neutral-950) 0%, var(--neutral-900) 50%, var(--neutral-950) 100%);
    color: var(--neutral-200);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--neutral-50);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    color: var(--neutral-300);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-600), var(--primary-500));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--neutral-50);
}

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-400);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--neutral-50);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500), var(--accent-500));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--neutral-300);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-buttons {
    margin-bottom: var(--spacing-lg);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: var(--radius-lg);
    color: var(--neutral-300);
    font-size: 0.9375rem;
    margin-top: var(--spacing-xl);
}

.hero-visual {
    animation: fadeInRight 1s ease-out;
}

.hero-visual svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.3));
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    color: white;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: 1.125rem;
}

/* ===== FEATURE SECTIONS ===== */
.feature-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.feature-section-alt {
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.03) 50%, transparent 100%);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.feature-grid-reverse {
    direction: rtl;
}

.feature-grid-reverse > * {
    direction: ltr;
}

.feature-visual svg {
    width: 100%;
    height: auto;
    max-width: 400px;
}

.feature-tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-400);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--neutral-50);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.feature-description {
    font-size: 1.125rem;
    color: var(--neutral-300);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: 1rem;
    color: var(--neutral-300);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.feature-list svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

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

.cta-title {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--neutral-50);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--neutral-300);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.cta-buttons {
    margin-bottom: var(--spacing-3xl);
}

.join-reasons {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-3xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.join-title {
    font-size: 1.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-50);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.reason-item {
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.reason-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
}

.reason-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.reason-heading {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-50);
    margin-bottom: var(--spacing-sm);
}

.reason-text {
    font-size: 1rem;
    color: var(--neutral-400);
    line-height: 1.6;
}

.transparency-note {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: rgba(100, 116, 139, 0.1);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-3xl);
}

.transparency-note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.transparency-note p {
    font-size: 0.9375rem;
    color: var(--neutral-400);
    line-height: 1.6;
}

.transparency-note strong {
    color: var(--neutral-300);
    font-weight: var(--font-weight-semibold);
}

.trust-elements {
    margin-top: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.trust-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
}

.trust-icon {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
}

.trust-label {
    font-size: 0.875rem;
    color: var(--neutral-400);
    margin-bottom: var(--spacing-xs);
}

.trust-value {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-50);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-3xl);
}

.testimonial-item {
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-500);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--neutral-300);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    flex-shrink: 0;
}

.author-name {
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-50);
    margin-bottom: var(--spacing-xs);
}

.author-title {
    font-size: 0.875rem;
    color: var(--neutral-400);
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-tagline {
    color: var(--neutral-400);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--neutral-50);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
}

.footer-section a {
    display: block;
    color: var(--neutral-400);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--neutral-50);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--neutral-400);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--neutral-50);
}

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

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

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 8px currentColor);
    }
    50% {
        filter: drop-shadow(0 0 16px currentColor);
    }
}

@keyframes float-animation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes rotate-animation {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 100;
    }
}

@keyframes data-flow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -20;
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

.float-animation {
    animation: float-animation 3s ease-in-out infinite;
}

.rotate-animation {
    animation: rotate-animation 3s linear infinite;
}

.data-flow {
    animation: data-flow 2s linear infinite;
}

/* Scroll reveal animations */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .feature-grid,
    .feature-grid-reverse {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        direction: ltr;
    }
    
    .feature-title {
        font-size: 2rem;
    }
    
    .reason-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .feature-title {
        font-size: 1.75rem;
    }
    
    .feature-description {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .reason-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn-large {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 1rem;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .testimonial-item {
        padding: var(--spacing-lg);
    }
}

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

/* Focus states for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid white;
    }
    
    .feature-list li {
        border: 1px solid var(--neutral-300);
    }
}
