/* ============================================
   STYLES.CSS - Landing Page Publico
   FlowTrading Global

   NOTA: Este archivo solo contiene estilos
   especificos de la landing page.
   Los estilos de header, footer, mobile-menu, etc.
   estan en layout.css
============================================ */

/* ============================================
   IMPORTS - Estilos base y layout
============================================ */
@import url('main.css');
@import url('layout.css');
@import url('components.css');
@import url('components/app-showcase.css');
@import url('components/iphone-mockup.css');
@import url('components/scroll-animations.css');
@import url('components/dragon-watermark.css');

/* ============================================
   HERO SECTION
============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 24px 80px;
    padding-top: calc(var(--ticker-height, 46px) + var(--header-height, 90px) + 80px);
    background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    /* Fallback color sólido para navegadores sin soporte de gradiente */
    color: var(--gold);
    /* Gradiente con prefijos para máxima compatibilidad cross-device */
    background: -webkit-linear-gradient(135deg, var(--text-light), var(--gold));
    background: -moz-linear-gradient(135deg, var(--text-light), var(--gold));
    background: -o-linear-gradient(135deg, var(--text-light), var(--gold));
    background: linear-gradient(135deg, var(--text-light), var(--gold));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

body.light-mode .hero h1 {
    /* Fallback color sólido */
    color: var(--gold);
    /* Gradiente con prefijos */
    background: -webkit-linear-gradient(135deg, var(--text-dark), var(--gold));
    background: -moz-linear-gradient(135deg, var(--text-dark), var(--gold));
    background: -o-linear-gradient(135deg, var(--text-dark), var(--gold));
    background: linear-gradient(135deg, var(--text-dark), var(--gold));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 16px 32px;
    background: var(--gold);
    color: #000;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 16px 32px;
    background: transparent;
    color: var(--gold);
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--gold);
    border-radius: 12px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* ============================================
   PRODUCTS SECTION
============================================ */
.products {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.products .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

body.light-mode .product-card {
    background: var(--card-light);
    border-color: var(--border-light);
}

.product-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
}

.product-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--gold, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon svg {
    width: 100%;
    height: 100%;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 24px;
}

.product-card .btn-primary {
    width: 100%;
}

/* ============================================
   STATS SECTION
============================================ */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}

.stats .stat-card {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stats .stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.stats .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 8px;
}

.stats .stat-label {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ============================================
   FEATURES SECTION
============================================ */
.features {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.features .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

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

.feature-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}

body.light-mode .feature-item {
    background: var(--card-light);
    border-color: var(--border-light);
}

.feature-item:hover {
    border-color: var(--gold);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
    text-align: center;
    padding: 100px 24px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    margin: 60px 24px;
    border-radius: 24px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ============================================
   RESPONSIVE - Landing Specific
============================================ */
@media (max-width: 768px) {
    .hero {
        padding: 140px 20px 60px;
        padding-top: calc(var(--ticker-height, 46px) + var(--header-height, 90px) + 40px);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
    }

    .products .section-title,
    .features .section-title {
        font-size: 1.75rem;
    }

    .products,
    .features {
        padding: 60px 20px;
    }

    .cta-section {
        margin: 40px 16px;
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .stats .stat-number {
        font-size: 2rem;
    }
}
