/*
Theme Name: TradingNet Blog Only
Theme URI: http://www.trading.net.pe
Author: AI Assistant
Description: Plantilla aislada que funciona unicamente en la carpeta blog
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #ffffff;
    --bg-darker: #f8fafc;
    --bg-card: rgba(0, 0, 0, 0.02);
    --text-main: #0f172a;
    --text-muted: #475569;
    --accent-blue: #2563eb;
    --accent-blue-glow: rgba(37, 99, 235, 0.3);
    --accent-gold: #d97706;
    --border-light: rgba(0, 0, 0, 0.08);
    --glass-blur: blur(12px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gold { color: var(--accent-gold); }

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links li:not(:last-child) {
    border-right: 2px solid var(--border-light);
    padding-right: 1.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-links a:hover {
    color: var(--accent-blue);
    transform: scale(1.05);
}

.nav-links a::before,
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

/* Línea superior aparece desde la izquierda */
.nav-links a::before {
    top: 0;
    left: 0;
}

/* Línea inferior aparece desde la derecha */
.nav-links a::after {
    bottom: 0;
    right: 0;
}

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

.vip-link {
    color: var(--accent-gold) !important;
}
.vip-link::before,
.vip-link::after { 
    background: var(--accent-gold) !important; 
}

/* Social Header Buttons */
.social-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-social.whatsapp {
    background-color: #25D366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}
.btn-social.whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
}

.btn-social.telegram {
    background-color: #0088cc;
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.3);
}
.btn-social.telegram:hover {
    background-color: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 136, 204, 0.5);
}

/* Hamburger Menu (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Main Layout */
main {
    min-height: calc(100vh - 80px); /* Adjust based on header/footer */
    padding-top: 80px; /* Space for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* UI Components: Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-blue-glow);
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-blue-glow);
}

.btn-vip {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #000;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}
.btn-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Footer */
footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-light);
    padding: 3rem 2rem;
    text-align: center;
}

.disclaimer {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.disclaimer p { margin-bottom: 0.5rem; }

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .single-layout {
        grid-template-columns: 2.5fr 1fr;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}
.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-main);
    font-family: inherit;
    transition: border-color 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* Media Queries */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        background: var(--bg-darker);
        padding: 2rem;
        transition: right 0.3s ease;
    }
    
    .nav-links li:not(:last-child) {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .nav-links li { width: 100%; text-align: center; }
    
    .nav-links.active { right: 0; }
    .hero { flex-direction: column; text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
    
    .social-header { gap: 0.5rem; }
    .btn-social { padding: 0.5rem; border-radius: 50%; font-size: 0; }
    .btn-social svg { margin: 0; }
}
