/* ============================================
   STLMNT-1 Styles
   Enterprise Crypto Onramp Platform
   ============================================ */

/* ============================================
   CSS Variables & Root Styles
   ============================================ */
:root {
    /* Color Palette - Deep Blue & Electric Cyan */
    --primary-dark: #0A1628;
    --primary: #1A2B4A;
    --primary-light: #2A3F5F;
    --accent: #00D9FF;
    --accent-light: #33E1FF;
    --accent-dark: #00B8D9;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00D9FF 0%, #0099CC 100%);
    --gradient-dark: linear-gradient(135deg, #1A2B4A 0%, #0A1628 100%);
    --gradient-hero: linear-gradient(180deg, #0A1628 0%, #1A2B4A 100%);
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --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;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(0, 217, 255, 0.3);
    --shadow-glow-strong: 0 0 60px rgba(0, 217, 255, 0.5);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

h1 { font-size: 4rem; }
h2 { font-size: 3rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 200% auto;
    color: var(--white);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg), var(--shadow-glow-strong);
    animation: buttonPulse 1.5s ease-in-out infinite;
    background-position: right center;
}

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

@keyframes buttonPulse {
    0%, 100% { box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 217, 255, 0.4); }
    50% { box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 217, 255, 0.6); }
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.logo-text:hover {
    animation: gradientShift 1s ease infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px; /* Reduced from 32px to 24px for better spacing in Spanish */
}

.nav-link {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 14px; /* Reduced from 15px to 14px for better fit */
    white-space: nowrap; /* Prevent text wrapping */
}

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

.nav-link-demo {
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link-demo:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

.nav-link-demo i {
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--primary);
}

/* Language Toggle Button */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 6px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.lang-toggle i {
    font-size: 16px;
}

.lang-text {
    font-weight: 700;
}

/* Navigation Button Styling */
.nav-links .btn-primary {
    padding: 10px 20px; /* Reduced padding for better fit */
    font-size: 14px; /* Match nav link size */
    white-space: nowrap; /* Prevent wrapping */
}

.nav-links .btn-primary i {
    font-size: 13px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--gray-200);
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-300);
    font-weight: 500;
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
}

.visual-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 217, 255, 0.1),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.visual-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow-strong);
    border-color: rgba(0, 217, 255, 0.3);
}

.card-1 {
    grid-column: 1 / 2;
}

.card-2 {
    grid-column: 2 / 3;
}

.card-3 {
    grid-column: 1 / -1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--accent);
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

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

.card-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
}

/* ============================================
   Trust Section
   ============================================ */
.trust-section {
    padding: 60px 0;
    background: var(--gray-50);
    text-align: center;
}

.trust-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 24px;
    font-weight: 600;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.badge-item {
    padding: 12px 24px;
    background: var(--white);
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    padding: var(--section-padding) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Adjust grid for 5 items */
.features-grid .feature-card:nth-child(4),
.features-grid .feature-card:nth-child(5) {
    grid-column: span 1;
}

@media (min-width: 1025px) {
    .features-grid .feature-card:nth-child(4) {
        grid-column: 1 / 2;
    }
    .features-grid .feature-card:nth-child(5) {
        grid-column: 3 / 4;
    }
}

.feature-card {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 217, 255, 0.2);
    transform: translateY(-8px) scale(1.02);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 24px;
    transition: var(--transition);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: var(--gradient-primary);
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.3s;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}

.feature-card:hover .feature-icon::before {
    opacity: 0.6;
    animation: iconPulse 1.5s ease-in-out infinite;
}

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

.feature-title {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 217, 255, 0.15);
    border-color: rgba(0, 217, 255, 0.2);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: gradientShift 3s ease infinite;
    position: relative;
    display: inline-block;
}

.step-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: expandWidth 2s ease-in-out infinite;
}

@keyframes expandWidth {
    0%, 100% { width: 0%; }
    50% { width: 100%; }
}

.step-title {
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.step-description {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.step-features {
    list-style: none;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--gray-700);
}

.step-features i {
    color: var(--accent);
    font-size: 1rem;
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits-section {
    padding: var(--section-padding) 0;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefit-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
    position: relative;
}

.benefit-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: 14px;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.3s;
}

.benefit-item:hover .benefit-icon {
    transform: rotate(360deg) scale(1.1);
}

.benefit-item:hover .benefit-icon::after {
    opacity: 0.5;
    animation: iconGlow 1.5s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.benefit-content h3 {
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.benefit-content p {
    color: var(--gray-600);
    line-height: 1.7;
}

.stats-card {
    background: var(--gradient-dark);
    border-radius: 20px;
    padding: 48px;
    box-shadow: var(--shadow-xl);
}

.stats-card h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 32px;
    text-align: center;
}

.performance-metrics {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.metric {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    animation: slideMetric 3s infinite;
}

@keyframes slideMetric {
    0% { left: -100%; }
    100% { left: 100%; }
}

.metric:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 217, 255, 0.3);
    transform: scale(1.05);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    animation: gradientShift 3s ease infinite;
}

.metric-label {
    color: var(--gray-300);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ============================================
   Integration Section
   ============================================ */
.integration-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.integration-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.integration-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-md), 0 0 25px rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.integration-card:hover i {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(-5px); }
    75% { transform: translateY(-7px); }
}

.integration-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.integration-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.integration-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-hero);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    color: var(--white);
    text-align: left;
    margin-bottom: 24px;
}

.contact-description {
    color: var(--gray-200);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 20px;
}

.contact-item i {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
}

.contact-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-value {
    color: var(--white);
    font-weight: 500;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: var(--shadow-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

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

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--primary-dark);
    padding: 80px 0 32px;
    color: var(--gray-300);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    animation: gradientShift 3s ease infinite;
}

.footer-description {
    line-height: 1.7;
    max-width: 300px;
}

.footer-title {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-300);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: none;
}

/* Remove extra gap in footer for mobile */
/* ============================================
   Responsive Design
   ============================================ */

/* Tighter spacing for medium screens (Spanish nav fit) */
@media (max-width: 1280px) {
    .nav-links {
        gap: 18px; /* Even tighter for Spanish */
    }
    
    .nav-link {
        font-size: 13px; /* Slightly smaller */
    }
    
    .nav-links .btn-primary {
        padding: 8px 16px; /* Tighter button */
        font-size: 13px;
    }
    
    .lang-toggle {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    
    .container {
        padding: 0 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    /* Adjust grid for 5 items on tablet */
    .features-grid .feature-card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .integration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .container {
        padding: 0 16px;
    }
    
    /* Navigation */
    .nav-content {
        padding: 16px 0;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 24px;
        padding: 8px;
    }
    
    .lang-toggle {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        display: flex !important;
    }
    
    .nav-links .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    /* Hero */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-cta .btn-large {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .hero-visual {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .card-1, .card-2, .card-3 {
        grid-column: 1 / -1;
    }
    
    .visual-card {
        padding: 24px;
    }
    
    /* Trust Section */
    .trust-badges {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .badge-item {
        text-align: center;
        padding: 14px 20px;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid .feature-card:nth-child(5) {
        grid-column: 1;
        max-width: none;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
    
    /* How It Works */
    .step-card {
        padding: 32px 24px;
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    /* Benefits */
    .benefit-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .benefit-icon {
        margin-bottom: 16px;
    }
    
    .stats-card {
        padding: 32px 24px;
    }
    
    .metric {
        padding: 20px;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    /* Integration */
    .integration-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .integration-card {
        padding: 28px 20px;
    }
    
    /* Contact */
    .contact-form-wrapper {
        padding: 32px 20px;
    }
    
    .contact-details {
        gap: 20px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-description {
        max-width: none;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    /* Crypto Tokens - Reduce on mobile */
    .crypto-token {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .token-symbol {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .container {
        padding: 0 16px;
    }
    
    /* Typography adjustments */
    body {
        font-size: 15px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Buttons */
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .btn-primary, .btn-secondary, .btn-secondary-light {
        font-size: 15px;
        padding: 12px 24px;
    }
    
    /* Cards */
    .visual-card {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1.125rem;
    }
    
    .feature-card,
    .step-card {
        padding: 28px 20px;
    }
    
    .feature-title,
    .step-title {
        font-size: 1.25rem;
    }
    
    .feature-description,
    .step-description {
        font-size: 0.9375rem;
    }
    
    /* Section headers */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Contact form */
    .contact-form-wrapper {
        padding: 28px 16px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px 14px;
    }
    
    /* Stats card */
    .stats-card {
        padding: 28px 20px;
    }
    
    .stats-card h4 {
        font-size: 1.25rem;
    }
    
    .metric-value {
        font-size: 1.75rem;
    }
    
    .metric-label {
        font-size: 0.8125rem;
    }
    
    /* Integration cards */
    .integration-card {
        padding: 24px 20px;
    }
    
    .integration-card i {
        font-size: 2rem;
    }
    
    .integration-card h3 {
        font-size: 1rem;
    }
    
    /* Reduce crypto tokens further */
    .crypto-token {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .token-symbol {
        font-size: 12px;
    }
    
    /* Hide some tokens on very small screens */
    .crypto-token:nth-child(5),
    .crypto-token:nth-child(6) {
        display: none;
    }
}

/* ============================================
   Touch-friendly improvements
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .nav-link,
    .btn-primary,
    .btn-secondary,
    .btn-secondary-light {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .lang-toggle {
        min-height: 44px;
    }
    
    /* Disable hover effects on touch devices */
    .feature-card:hover,
    .step-card:hover,
    .integration-card:hover {
        transform: none;
    }
    
    /* Make cards tappable */
    .feature-card,
    .step-card,
    .integration-card,
    .benefit-item {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 217, 255, 0.1);
    }
}

/* ============================================
   Landscape orientation fixes
   ============================================ */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        text-align: center;
    }
}

/* ============================================
   Blockchain/Crypto Network Effect
   ============================================ */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 217, 255, 0.03) 2px, rgba(0, 217, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 217, 255, 0.03) 2px, rgba(0, 217, 255, 0.03) 4px);
    pointer-events: none;
    animation: networkGrid 20s linear infinite;
}

@keyframes networkGrid {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(50px) translateX(50px); }
}

/* Crypto particle effect */
@keyframes cryptoParticle {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) scale(0.5);
        opacity: 0;
    }
}

/* ============================================
   Floating Crypto Tokens
   ============================================ */
.crypto-tokens {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.crypto-token {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(0, 153, 204, 0.2));
    border: 2px solid rgba(0, 217, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3), inset 0 0 15px rgba(0, 217, 255, 0.05);
    animation: floatToken 20s ease-in-out infinite;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: all 0.3s ease-out;
    cursor: pointer;
    z-index: 2;
}

.crypto-token:hover {
    transform: scale(1.2);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.6), inset 0 0 20px rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.6);
}

.crypto-token img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
}

.crypto-token.bitcoin {
    animation-duration: 18s;
    animation-delay: 0s;
}

.crypto-token.ethereum {
    animation-duration: 22s;
    animation-delay: -5s;
}

.crypto-token.usdc {
    animation-duration: 20s;
    animation-delay: -10s;
}

.crypto-token.usdt {
    animation-duration: 19s;
    animation-delay: -15s;
}

.crypto-token.solana {
    animation-duration: 21s;
    animation-delay: -8s;
}

.crypto-token.cardano {
    animation-duration: 23s;
    animation-delay: -12s;
}

@keyframes floatToken {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-50px) translateX(30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(-20px) translateX(-20px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translateY(-70px) translateX(40px) rotate(270deg) scale(1.05);
    }
}

/* Token symbols with CSS */
.token-symbol {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    background: linear-gradient(135deg, #00D9FF, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.6);
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.4));
}