/* CSS Variables for consistent theming */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border-color: #334155;
    --border-light: #475569;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    pointer-events: none;
    animation: shaderPulse 8s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    animation: gradientShift 12s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
    animation: colorWave 15s ease-in-out infinite;
}

/* Floating particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Starry background with dollar bills */
.starry-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 200px 200px, 300px 300px, 150px 150px;
    animation: twinkle 4s ease-in-out infinite;
}

.dollar-bill {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    filter: blur(1px);
    animation: floatDollar 8s ease-in-out infinite;
}

.dollar-bill-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.dollar-bill-2 {
    top: 20%;
    right: 20%;
    animation-delay: -2s;
}

.dollar-bill-3 {
    top: 60%;
    left: 10%;
    animation-delay: -4s;
}

.dollar-bill-4 {
    top: 70%;
    right: 15%;
    animation-delay: -6s;
}

.dollar-bill-5 {
    top: 40%;
    left: 5%;
    animation-delay: -1s;
}

.dollar-bill-6 {
    top: 50%;
    right: 5%;
    animation-delay: -3s;
}

/* Animated Planet with Currency Rings */
.planet-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.planet {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af, #3b82f6, #60a5fa);
    box-shadow: 
        0 0 50px rgba(59, 130, 246, 0.5),
        inset -20px -20px 50px rgba(0, 0, 0, 0.3),
        inset 20px 20px 50px rgba(255, 255, 255, 0.1);
    animation: planetRotate 20s linear infinite;
    overflow: hidden;
}

.planet-surface {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 2px, transparent 2px),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.1) 3px, transparent 3px);
    background-size: 40px 40px, 60px 60px, 80px 80px;
    animation: cloudMove 15s linear infinite;
}

.planet-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    animation: planetGlow 3s ease-in-out infinite alternate;
}

/* Currency Rings */
.currency-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    animation: ringRotate 10s linear infinite;
}

.ring-1 {
    width: 280px;
    height: 280px;
    animation-duration: 12s;
}

.ring-2 {
    width: 360px;
    height: 360px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.currency-symbol {
    position: absolute;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    padding: 8px 12px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: symbolPulse 2s ease-in-out infinite;
}

.ring-1 .currency-symbol:nth-child(1) {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.ring-1 .currency-symbol:nth-child(2) {
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.ring-1 .currency-symbol:nth-child(3) {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.ring-1 .currency-symbol:nth-child(4) {
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.ring-2 .currency-symbol:nth-child(1) {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.ring-2 .currency-symbol:nth-child(2) {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.ring-2 .currency-symbol:nth-child(3) {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.ring-2 .currency-symbol:nth-child(4) {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}


.particle:nth-child(2n) {
    background: rgba(139, 92, 246, 0.6);
    animation-delay: -2s;
    animation-duration: 8s;
}

.particle:nth-child(3n) {
    background: rgba(6, 182, 212, 0.6);
    animation-delay: -4s;
    animation-duration: 10s;
}

.particle:nth-child(4n) {
    background: rgba(16, 185, 129, 0.6);
    animation-delay: -1s;
    animation-duration: 7s;
}

/* Animated grid pattern */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

/* Keyframe animations */
@keyframes shaderPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.02);
    }
}

@keyframes gradientShift {
    0%, 100% { 
        background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    }
    33% { 
        background: radial-gradient(circle at 60% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    }
    66% { 
        background: radial-gradient(circle at 80% 60%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 20% 40%, rgba(239, 68, 68, 0.15) 0%, transparent 50%);
    }
}

@keyframes colorWave {
    0%, 100% { 
        opacity: 0.3;
        transform: translateX(0) translateY(0);
    }
    25% { 
        opacity: 0.5;
        transform: translateX(20px) translateY(-10px);
    }
    50% { 
        opacity: 0.4;
        transform: translateX(-10px) translateY(15px);
    }
    75% { 
        opacity: 0.6;
        transform: translateX(15px) translateY(5px);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-20px) translateX(10px) scale(1.2);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-10px) translateX(-15px) scale(0.8);
        opacity: 0.4;
    }
    75% { 
        transform: translateY(-30px) translateX(5px) scale(1.1);
        opacity: 0.7;
    }
}

@keyframes gridMove {
    0% { 
        transform: translate(0, 0);
    }
    100% { 
        transform: translate(50px, 50px);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    animation: heroContentFadeIn 1.5s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: titleGlow 3s ease-in-out infinite alternate;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.title-fast {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
    animation: fastGlow 2s ease-in-out infinite alternate;
}

.title-secure {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(248, 250, 252, 0.3);
    animation: secureGlow 2.5s ease-in-out infinite alternate;
}

.exchange-pairs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pair {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(248, 250, 252, 0.2);
    animation: pairFloat 3s ease-in-out infinite;
}

.pair:nth-child(2) {
    animation-delay: 1.5s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: subtitleFloat 4s ease-in-out infinite;
}

.hero-form-container {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    animation: formSlideUp 1s ease-out 0.5s both;
    overflow: hidden;
}

.hero-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #06b6d4, #3b82f6, #8b5cf6, #06b6d4);
    background-size: 400% 400%;
    border-radius: var(--radius-xl);
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: neonBorder 3s ease-in-out infinite, gradientShift 4s ease-in-out infinite;
    z-index: -1;
}

.hero-form-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #06b6d4, #3b82f6, #8b5cf6, #06b6d4);
    background-size: 400% 400%;
    border-radius: var(--radius-xl);
    filter: blur(8px);
    opacity: 0.6;
    animation: neonGlow 2s ease-in-out infinite alternate, gradientShift 4s ease-in-out infinite;
    z-index: -2;
}

.hero-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1rem;
    animation: noteFadeIn 1s ease-out 1s both;
}

/* Content animations */
@keyframes heroContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    100% {
        text-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 40px rgba(139, 92, 246, 0.3);
    }
}

@keyframes subtitleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes formSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

/* New animations for NEPTUNE style elements */
@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes floatDollar {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) rotate(2deg);
        opacity: 0.7;
    }
}

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

@keyframes cloudMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(40px);
    }
}

@keyframes planetGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes ringRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes symbolPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    }
}

@keyframes fastGlow {
    0% {
        text-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
    }
    100% {
        text-shadow: 0 0 40px rgba(6, 182, 212, 0.8), 0 0 60px rgba(59, 130, 246, 0.3);
    }
}

@keyframes secureGlow {
    0% {
        text-shadow: 0 0 20px rgba(248, 250, 252, 0.3);
    }
    100% {
        text-shadow: 0 0 30px rgba(248, 250, 252, 0.6), 0 0 40px rgba(248, 250, 252, 0.2);
    }
}

@keyframes pairFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes neonBorder {
    0%, 100% {
        opacity: 0.8;
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

@keyframes neonGlow {
    0% {
        opacity: 0.4;
        filter: blur(8px) brightness(1);
    }
    100% {
        opacity: 0.8;
        filter: blur(12px) brightness(1.5);
    }
}


/* Hero Form */
.hero-form-container {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
}

.hero-form {
    width: 100%;
}

.hero-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.hero-form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-form-group input,
.hero-form-group select {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.hero-form-group input:focus,
.hero-form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.hero-form-group label {
    position: absolute;
    top: -8px;
    left: 12px;
    background: var(--bg-primary);
    padding: 0 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.hero-form-group input:focus + label,
.hero-form-group select:focus + label {
    color: var(--primary-color);
}

.hero-submit-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 140px;
    height: 56px;
}

.hero-submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.hero-form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    display: none;
}

.hero-form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: block;
}

.hero-form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
}

.hero-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.hero-note .link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.hero-note .link:hover {
    text-decoration: underline;
}

/* Hero Form Error States */
.hero-form-group.error input,
.hero-form-group.error select {
    border-color: var(--error-color);
}

.hero-error-message {
    color: var(--error-color);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

/* Contact Type Toggle */
.contact-type-toggle {
    display: flex;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
}

.toggle-btn {
    flex: 1;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.toggle-btn:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}


/* Exchange Rate Display */
.exchange-rate-display {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    animation: slideDown 0.3s ease;
}

.exchange-rate-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rate-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rate-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.rate-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.rate-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--success-color);
}

.rate-bonus {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.rate-loading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-top: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* How It Works - Roadmap Style */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 4rem;
}

.roadmap-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.roadmap-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.roadmap-line {
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--accent-color) 100%);
    border-radius: 1px;
    z-index: 1;
}

.roadmap-step {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.roadmap-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    animation: stepPulse 3s ease-in-out infinite;
}

.step-content {
    margin-left: 120px;
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    flex: 1;
    position: relative;
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.step-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 20px solid var(--bg-primary);
}

.step-image {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--success-color));
    border-radius: var(--radius-lg);
    z-index: -1;
    animation: gradientShift 4s ease-in-out infinite;
}

.image-placeholder svg {
    width: 40px;
    height: 40px;
    color: white;
    transition: all 0.3s ease;
    animation: iconFloat 2s ease-in-out infinite;
}

.step-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

/* Animations */
@keyframes stepPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
    }
}

@keyframes gradientShift {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Step-specific animations */
.roadmap-step:nth-child(2) .step-number {
    animation-delay: 0.5s;
}

.roadmap-step:nth-child(3) .step-number {
    animation-delay: 1s;
}

.roadmap-step:nth-child(4) .step-number {
    animation-delay: 1.5s;
}

.roadmap-step:nth-child(2) .image-placeholder {
    animation-delay: 0.5s;
}

.roadmap-step:nth-child(3) .image-placeholder {
    animation-delay: 1s;
}

.roadmap-step:nth-child(4) .image-placeholder {
    animation-delay: 1.5s;
}

/* Advantages */
.advantages {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Lead Form */
.lead-form {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
}

.form-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Form Styles */
#leadForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox Styles */
.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Error Messages */
.error-message {
    color: var(--error-color);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error-color);
}

/* Submit Button */
.submit-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Messages */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
}

/* FAQ */
.faq {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: background-color 0.3s ease;
    list-style: none;
    position: relative;
}

.faq-item summary:hover {
    background: var(--bg-tertiary);
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
        min-height: 80vh;
    }
    
    .shader-canvas {
        opacity: 0.2;
        animation-duration: 12s;
    }
    
    .hero-particles {
        display: none; /* Hide particles on mobile for performance */
    }
    
    .planet-container {
        display: none; /* Hide planet on mobile for performance */
    }
    
    .starry-background {
        opacity: 0.3;
    }
    
    .dollar-bill {
        font-size: 1.5rem;
        opacity: 0.2;
    }
    
    
    .hero-grid {
        opacity: 0.05;
        animation-duration: 30s;
    }
    
    .hero::before,
    .hero::after {
        animation-duration: 20s;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-form-container {
        padding: 1.5rem;
        margin: 0 1rem 2rem;
    }
    
           .hero-form-row {
               grid-template-columns: 1fr;
               gap: 1.5rem;
           }
    
    .hero-submit-button {
        width: 100%;
        min-width: auto;
    }
    
    .exchange-rate-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .rate-bonus {
        align-self: flex-start;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
           .roadmap-container {
               max-width: 100%;
               padding: 0 1rem;
           }
           
           .roadmap-line {
               left: 30px;
           }
           
           .roadmap-step {
               flex-direction: column;
               gap: 1rem;
               margin-bottom: 3rem;
           }
           
           .step-number {
               position: relative;
               left: auto;
               top: auto;
               width: 60px;
               height: 60px;
               font-size: 1.2rem;
               margin: 0 auto 1rem;
           }
           
           .step-content {
               margin-left: 0;
               padding: 2rem;
           }
           
           .step-content::before {
               display: none;
           }
           
           .step-image {
               width: 60px;
               height: 60px;
               margin: 0 auto 1rem;
           }
           
           .image-placeholder svg {
               width: 30px;
               height: 30px;
           }
           
           .step-info h3 {
               font-size: 1.3rem;
               text-align: center;
           }
           
           .step-info p {
               text-align: center;
               font-size: 0.95rem;
           }
           
           .step-features {
               justify-content: center;
           }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }
    
    .shader-canvas {
        opacity: 0.15;
        animation-duration: 15s;
    }
    
    .hero-grid {
        display: none; /* Hide grid on very small screens */
    }
    
    
    .hero::before,
    .hero::after {
        animation-duration: 25s;
    }
    
    .hero-title {
        animation-duration: 4s;
    }
    
    .hero-subtitle {
        animation-duration: 5s;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-svg {
        width: 30px;
        height: 30px;
    }
    
    .icon-container {
        animation-duration: 5s;
    }
    
    .step-svg {
        animation-duration: 4s;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .form-container {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .cta-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .cta-button.primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
.cta-button:focus,
.submit-button:focus,
input:focus,
select:focus,
textarea:focus,
.faq-item summary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #ffffff;
        --text-secondary: #ffffff;
    }
}
