:root {
    --navy: #0a1628;
    --navy-light: #1a2332;
    --teal: #0891b2;
    --teal-light: #06b6d4;
    --teal-dark: #0e7490;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --charcoal: #1f2937;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --whatsapp-green: #25d366;
    --gradient-primary: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--teal-light) 0%, var(--teal-dark) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(8, 145, 178, 0.85) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Enhanced Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-secondary);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(8, 145, 178, 0.3);
}

/* Modern Glass Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: var(--transition);
    padding: 16px 0;
}

header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--gray-200);
}

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

.logo {
    font-weight: 800;
    font-size: 26px;
    color: var(--navy);
    display: flex;
    align-items: center;
    text-decoration: none;
    letter-spacing: -0.025em;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo span {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo img {
    height: 44px;
    margin-right: 12px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav ul li a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
}

nav ul li a.active {
    color: var(--teal);
    background: rgba(8, 145, 178, 0.05);
}

nav ul li a:hover {
    color: var(--teal);
    background: rgba(8, 145, 178, 0.05);
    transform: translateY(-1px);
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: var(--transition);
    border-radius: 1px;
}

nav ul li a:hover:after {
    width: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--navy);
    cursor: pointer;
    z-index: 1001;
    padding: 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
}

/* Article Content Styling */
.article-section {
    padding: 160px 0 80px;
    position: relative;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 48px;
    text-align: center;
}

.article-header h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.article-meta i {
    color: var(--teal);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-800);
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 48px 0 24px;
    position: relative;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin: 32px 0 16px;
}

.article-content blockquote {
    border-left: 4px solid var(--teal);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--gray-800);
}

.article-content ul, 
.article-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-cta {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 40px;
    margin: 64px 0;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.article-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--navy);
}

.article-cta p {
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Modern Footer */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 100px 0 32px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-secondary);
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(8, 145, 178, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 64px;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--white);
    display: flex;
    align-items: center;
    letter-spacing: -0.025em;
}

.footer-logo span {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo img {
    height: 40px;
    margin-right: 12px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    margin-bottom: 32px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--teal);
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.footer-links h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    space-y: 12px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 4px 0;
    font-size: 1rem;
}

.footer-links ul li a:hover {
    color: var(--teal-light);
    transform: translateX(4px);
}

.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.footer-contact p {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--teal-light);
    font-size: 1.1rem;
    width: 20px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--teal-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

/* Enhanced Back to Top */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

/* Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-green), #1ebe5b);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .article-section {
        padding: 120px 0 60px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        gap: 24px;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li a {
        font-size: 1.25rem;
        padding: 16px 24px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 24px;
        right: 24px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .article-section {
        padding: 100px 0 40px;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .article-cta {
        padding: 32px 24px;
    }
}
