/* =================================================================
   ECONOTRACKER PRO - LANDING PAGE ULTRA MODERN STYLES
   ================================================================= */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Institutional & Modern */
    --bg-primary: #0a0f1e;
    --bg-secondary: #0f1628;
    --bg-card: #141c2f;
    --text-primary: #f5f7fa;
    --text-secondary: #8b95a8;
    --primary: #1e5a96;
    --secondary: #2d7ab3;
    --accent: #17a2b8;
    --gradient: linear-gradient(135deg, #1e5a96 0%, #2d7ab3 100%);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(30, 90, 150, 0.1);
    --shadow-md: 0 4px 16px rgba(30, 90, 150, 0.15);
    --shadow-lg: 0 8px 32px rgba(30, 90, 150, 0.2);
    --glow: 0 0 20px rgba(30, 90, 150, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =================================================================
   ANIMATED BACKGROUND
   ================================================================= */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.aurora {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(100px);
    opacity: 0.3;
    animation: aurora 45s ease-in-out infinite;
}

.aurora-1 {
    background: radial-gradient(circle at 20% 50%, var(--primary) 0%, transparent 50%);
    animation-delay: 0s;
}

.aurora-2 {
    background: radial-gradient(circle at 80% 30%, var(--secondary) 0%, transparent 50%);
    animation-delay: -15s;
}

.aurora-3 {
    background: radial-gradient(circle at 50% 80%, var(--accent) 0%, transparent 50%);
    animation-delay: -30s;
}

@keyframes aurora {
    0%, 100% { 
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    33% { 
        transform: translateY(-20%) translateX(10%) scale(1.1);
        opacity: 0.4;
    }
    66% { 
        transform: translateY(10%) translateX(-10%) scale(0.9);
        opacity: 0.35;
    }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: 
        linear-gradient(rgba(30, 90, 150, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 90, 150, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* =================================================================
   CONTAINER & UTILITIES
   ================================================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =================================================================
   NAVIGATION
   ================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 15, 30, 0.90);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(30, 90, 150, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: visible;
    opacity: 1;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 15, 30, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    visibility: visible;
    opacity: 1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 8px;
    color: white;
    padding: 6px;
    box-shadow: 0 4px 16px rgba(30, 90, 150, 0.3);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
}

.pro-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 2px 6px;
    background: var(--gradient);
    border-radius: 4px;
    margin-left: 4px;
    box-shadow: 0 2px 8px rgba(45, 122, 179, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links li {
    display: inline-block;
    flex-shrink: 0;
}

/* Asegurar visibilidad de enlaces específicos */
.nav-links li:has(a[href*="investor-portal"]),
.nav-links li:has(a[href*="invest-with-us"]) {
    display: inline-block !important;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(30, 90, 150, 0.08);
    transform: translateY(-1px);
}

.nav-link:active {
    transform: translateY(0);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.user-name {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 10px;
    background: rgba(30, 90, 150, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(30, 90, 150, 0.2);
    white-space: nowrap;
}

.mobile-user-section {
    display: none !important;
}

.mobile-user-section.active {
    display: flex !important;
}

.mobile-user-name {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-logout-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
    white-space: nowrap;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-hero {
    padding: 16px 32px;
    font-size: 16px;
    background: var(--gradient);
    color: white;
    box-shadow: 0 0 40px rgba(30, 90, 150, 0.4);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(30, 90, 150, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(30, 90, 150, 0.3);
}

.btn-outline:hover {
    background: rgba(30, 90, 150, 0.1);
    border-color: var(--primary);
}

/* =================================================================
   HERO SECTION
   ================================================================= */
.hero {
    padding: 180px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(30, 90, 150, 0.1);
    border: 1px solid rgba(30, 90, 150, 0.2);
    border-radius: 100px;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(30, 90, 150, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(30, 90, 150, 0);
    }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.download-section {
    margin-bottom: 48px;
}

.download-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.download-buttons {
    display: flex;
    gap: 16px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.download-btn svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.download-platform {
    display: block;
    font-weight: 600;
    font-size: 16px;
}

.download-version {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat {
    text-align: left;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* =================================================================
   HERO VISUAL
   ================================================================= */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dashboard-preview {
    position: relative;
    z-index: 1;
}

.preview-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(30, 90, 150, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.preview-frame {
    background: var(--bg-card);
    border: 1px solid rgba(30, 90, 150, 0.2);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.mock-dashboard {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-logo {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 8px;
}

.mock-nav {
    display: flex;
    gap: 8px;
}

.mock-nav-item {
    width: 60px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.mock-content {
    padding: 20px;
}

.mock-chart {
    height: 150px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.animated-chart {
    width: 100%;
    height: 100%;
}

.animated-chart polyline {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards, pulseGlow 2s ease-in-out infinite;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 4px rgba(30, 90, 150, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(30, 90, 150, 0.8));
    }
}

.mock-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mock-card {
    height: 80px;
    background: rgba(30, 90, 150, 0.05);
    border: 1px solid rgba(30, 90, 150, 0.1);
    border-radius: 8px;
    animation: shimmer 3s ease-in-out infinite;
}

.mock-card:nth-child(2) {
    animation-delay: 0.5s;
}

.mock-card:nth-child(3) {
    animation-delay: 1s;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    background: var(--bg-card);
    border: 1px solid rgba(30, 90, 150, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.card-icon {
    font-size: 24px;
}

.card-text {
    font-weight: 600;
    color: var(--primary);
}

/* =================================================================
   SECTION STYLES
   ================================================================= */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
}

/* =================================================================
   SCREENSHOTS SECTION
   ================================================================= */
.screenshots {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(30, 90, 150, 0.03) 0%, transparent 50%, rgba(45, 122, 179, 0.03) 100%);
}

.screenshots-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
}

.screenshot-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.screenshot-item.reverse {
    direction: rtl;
}

.screenshot-item.reverse > * {
    direction: ltr;
}

.screenshot-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.screenshot-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(30, 90, 150, 0.3);
}

.screenshot-image img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.screenshot-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* =================================================================
   PARTNER SECTION
   ================================================================= */
.partner {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(45, 122, 179, 0.05) 0%, transparent 100%);
}

.partner-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 60px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.partner-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.partner-card:hover::before {
    opacity: 0.05;
}

.partner-logo {
    position: relative;
    z-index: 1;
}

.partner-logo img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.partner-content {
    position: relative;
    z-index: 1;
}

.partner-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partner-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* =================================================================
   FEATURES SECTION
   ================================================================= */
.features {
    background: linear-gradient(180deg, transparent 0%, rgba(30, 90, 150, 0.02) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 90, 150, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =================================================================
   PLATFORMS SECTION
   ================================================================= */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    transition: var(--transition);
}

.platform-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.platform-icon svg {
    width: 40px;
    height: 40px;
}

.platform-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.platform-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.platform-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.platform-link:hover {
    color: var(--secondary);
}

/* =================================================================
   PRICING SECTION
   ================================================================= */
.pricing {
    background: linear-gradient(180deg, rgba(45, 122, 179, 0.02) 0%, transparent 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 48px;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(30, 90, 150, 0.05) 0%, rgba(45, 122, 179, 0.05) 100%);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 32px;
    background: var(--gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* =================================================================
   CTA SECTION
   ================================================================= */
.cta-section {
    padding: 80px 0;
}

.cta-card {
    background: var(--gradient);
    border-radius: 32px;
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-card .btn-hero {
    background: white;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.cta-card .btn-hero:hover {
    transform: translateY(-3px) scale(1.05);
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .features-grid,
    .platforms-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .account-container,
    .invest-container,
    .help-container {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    /* Navbar Mobile */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid rgba(30, 90, 150, 0.15);
        flex-direction: column;
        gap: 0;
        display: none;
        padding: 8px 0;
        border-radius: 0;
        margin-top: 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(30, 90, 150, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 12px 20px;
        display: block;
        border-radius: 0;
    }

    .nav-actions {
        position: absolute;
        top: calc(100% + 260px);
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-top: 1px solid rgba(30, 90, 150, 0.15);
        border-bottom: 1px solid rgba(30, 90, 150, 0.15);
        flex-direction: column;
        gap: 0;
        display: none;
        padding: 8px 0;
        margin-top: 0;
        width: 100%;
        z-index: 999;
    }

    .nav-actions.active {
        display: flex !important;
    }

    .user-name {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(30, 90, 150, 0.1);
        border-radius: 0;
        border: none;
        background: transparent;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile nav-actions positioning */
    .nav-actions {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid rgba(30, 90, 150, 0.15);
        flex-direction: column;
        gap: 0;
        display: none;
        padding: 8px 0;
        margin-top: 0;
        width: 100%;
        z-index: 999;
    }

    .nav-actions a,
    .nav-actions button {
        padding: 12px 20px !important;
        display: block;
        width: 100%;
        text-align: left;
        border-radius: 0;
        border: none;
        background: transparent;
        border-bottom: 1px solid rgba(30, 90, 150, 0.1);
        font-size: 14px !important;
    }

    .nav-actions a:last-child,
    .nav-actions button:last-child {
        border-bottom: none;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Latest Report Card */
    .latest-report-card {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 24px !important;
    }
    
    .report-card-title {
        font-size: 24px !important;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    .features-grid,
    .platforms-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .screenshot-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .screenshot-item.reverse {
        direction: ltr;
    }

    .screenshot-content h3 {
        font-size: 22px;
    }

    .screenshot-content p {
        font-size: 15px;
    }

    .partner-card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }

    .partner-content h3 {
        font-size: 24px;
    }

    .partner-content p {
        font-size: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    /* Account Page */
    .account-container {
        margin-top: 80px;
        padding: 0 16px;
    }
    
    .account-header h1 {
        font-size: 32px;
    }
    
    .account-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .account-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab-button {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 24px;
    }
    
    /* Invest Page */
    .invest-hero h1 {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .invest-hero p {
        font-size: 18px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .monthly-returns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .invest-form {
        padding: 30px 20px;
    }
    
    /* Investor Portal */
    .portal-header h1 {
        font-size: 32px;
    }
    
    .tech-tabs-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tech-tab-btn {
        padding: 10px 16px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    /* Pricing Page */
    .pricing-card {
        padding: 30px 20px;
    }
    
    /* Reports Page */
    .reports-grid {
        grid-template-columns: 1fr;
    }
    
    /* Help Page */
    .help-search {
        padding: 12px 16px;
        font-size: 15px;
    }
}

/* Stat Cards Styling */
.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(30, 90, 150, 0.2);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.stat-icon {
    font-size: 20px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Chart Container */
.chart-container {
    position: relative;
}

.chart-container h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
}

/* Analytics Grid Responsive */
.analytics-grid {
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .analytics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .chart-container h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 40px;
    }
    
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Navbar Mobile */
    .navbar {
        padding: 12px 0;
    }
    
    .nav-container {
        padding: 0 12px;
    }
    
    .logo {
        gap: 8px;
        font-size: 16px;
    }
    
    .logo img,
    .navbar .logo img {
        width: 28px;
        height: 28px;
    }
    
    .pro-badge {
        font-size: 8px;
        padding: 1px 4px;
        margin-left: 2px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid rgba(30, 90, 150, 0.15);
        flex-direction: column;
        gap: 0;
        display: none;
        padding: 8px 0;
        border-radius: 0;
        margin-top: 0;
        z-index: 999;
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(30, 90, 150, 0.1);
        margin: 0;
        padding: 0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 14px 20px;
        display: block;
        border-radius: 0;
        font-size: 15px;
        width: 100%;
        text-align: left;
        color: var(--text-primary);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(30, 90, 150, 0.1);
    }
    
    /* Auth buttons dentro del menú */
    #authButtons,
    #authButtons2,
    #userMenuAccount,
    #userMenuLogout {
        margin: 0;
        padding: 0;
    }

    .nav-actions {
        position: absolute;
        top: calc(100% + 220px);
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-top: 1px solid rgba(30, 90, 150, 0.15);
        border-bottom: 1px solid rgba(30, 90, 150, 0.15);
        flex-direction: column;
        gap: 0;
        display: none;
        padding: 8px 0;
        margin-top: 0;
        width: 100%;
        z-index: 999;
    }

    .nav-actions.active {
        display: flex !important;
    }

    .user-name {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(30, 90, 150, 0.1);
        border-radius: 0;
        border: none;
        background: transparent;
        font-size: 13px;
    }

    .nav-actions .nav-link {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(30, 90, 150, 0.1);
        font-size: 14px;
    }

    .nav-actions .btn {
        margin: 0;
        padding: 12px 16px;
        border-radius: 0;
        width: 100%;
        text-align: left;
        font-size: 13px;
        background: transparent;
        border: 1px solid rgba(30, 90, 150, 0.2);
    }
    
    /* Buttons */
    /* Mobile nav-actions */
    .nav-actions {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid rgba(30, 90, 150, 0.15);
        flex-direction: column;
        gap: 0;
        display: none;
        padding: 8px 0;
        margin-top: 0;
        width: 100%;
        z-index: 999;
    }

    .nav-actions a,
    .nav-actions button {
        padding: 12px 16px !important;
        display: block;
        width: 100%;
        text-align: left;
        border-radius: 0;
        border: none;
        background: transparent;
        border-bottom: 1px solid rgba(30, 90, 150, 0.1);
        font-size: 13px !important;
    }

    .nav-actions a:last-child,
    .nav-actions button:last-child {
        border-bottom: none;
    }

    .nav-actions .btn {
        color: var(--text-primary);
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    /* Hero Stats */
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* Latest Report Card */
    .latest-report-card {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    
    .report-card-title {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }
    
    .latest-report-section {
        padding: 40px 16px !important;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 14px;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    /* Forms */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 15px;
        padding: 12px;
    }
    
    /* Modal PDF */
    .pdf-modal {
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }
    
    .pdf-modal-header {
        padding: 12px 16px !important;
        gap: 8px;
    }
    
    .pdf-modal-header h3 {
        font-size: 14px !important;
    }
    
    .pdf-modal-close {
        width: 32px !important;
        height: 32px !important;
        font-size: 18px !important;
    }
    
    .pdf-modal-body {
        padding: 0 !important;
    }
    
    .pdf-modal-footer {
        padding: 12px 16px !important;
    }
    
    .pdf-modal-footer a {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }
    
    /* Account Page */
    .account-header h1,
    .portal-header h1 {
        font-size: 26px;
    }
    
    .invest-hero h1 {
        font-size: 28px;
    }
    
    .invest-hero p {
        font-size: 16px;
    }
    
    .monthly-returns-grid {
        grid-template-columns: 1fr;
    }
    
    .month-card {
        padding: 12px;
    }
    
    .tab-button {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .info-card {
        padding: 20px 16px;
    }
    
    .invest-form {
        padding: 24px 16px;
    }
    
    .feature-card,
    .pricing-card,
    .stat-card {
        padding: 20px 16px;
    }
}

/* Letter Cards */
.letter-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 200px;
}

.letter-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(30, 90, 150, 0.2);
}

.letter-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.letter-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 4px;
}

.letter-description {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px !important;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.letter-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.secondary-button {
    transition: all 0.2s ease;
    text-decoration: none;
    font-weight: 500;
}

.secondary-button:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .letter-card {
        padding: 16px;
        min-height: 180px;
    }
    
    .letter-info h3 {
        font-size: 16px;
    }
    
    .letter-info p {
        font-size: 13px;
    }
}

/* =================================================================
   ANIMATIONS
   ================================================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.slide-in {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}