:root {
    --primary: #5c6bc0;
    --accent: #FF5E00;        /* ELECTRIC ORANGE */
    --bg: #121212;
    --card-bg: #252525;
    --text: #ffffff;
    --text-muted: #aaaaaa;
}

/* --- GENERAL RESET & BASE --- */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TRANSPARENT HEADER --- */
.transparent-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 20px 0;
    background: transparent;
}

/* For non-hero pages */
.solid-header {
    background: #1e1e1e;
    border-bottom: 1px solid #333;
    position: relative;
}

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

.logo { 
    display: flex;
    flex-direction: column; 
    align-items: center;    
    text-decoration: none;
    line-height: 1;      
}

.logo img {
    height: 40px; 
    width: auto;
    border-radius: 10px;
}

.logo-text {
    font-size: 0.7rem;      
    color: #ffffff;         
    font-weight: 700;       
    text-transform: uppercase; 
    letter-spacing: 1px;
    margin-top: 5px;        
    font-family: 'Roboto', sans-serif;
}

nav a { 
    color: var(--text); 
    text-decoration: none; 
    margin-left: 20px; 
    font-weight: bold; 
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

nav a:hover { opacity: 0.8; }

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- HERO SECTION --- */
.hero-premium {
    background: radial-gradient(circle at 50% 30%, #2a2a35 0%, #121212 70%);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Standard Page Header */
.page-header {
    padding: 80px 0 40px;
    text-align: center;
    background: var(--bg);
}
.page-header h1 { font-size: 2.5rem; color: white; margin-bottom: 10px; font-family: 'Merriweather', serif; }
.page-header p { color: var(--text-muted); }

/* --- TITLES & TYPOGRAPHY --- */
.editorial-title {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;          /* Balanced Size */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    margin: 0 auto 20px;
    color: #ffffff;
    max-width: 900px;
}

.editorial-subtitle {
    display: block;
    font-size: 0.75em;       /* 75% of main title size */
    margin-top: 10px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}

.highlight-text { font-style: normal; color: var(--accent); font-weight: 700; }
.hero-sub { font-size: 1.2rem; color: #aaaaaa; max-width: 600px; margin: 0 auto 60px; font-weight: 300; }

/* --- TRUST BADGE --- */
.trust-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-text {
    font-size: 0.85rem;
    color: #cccccc;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Pulsing Green Dot */
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00e676;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 rgba(0, 230, 118, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* --- DOWNLOAD HUB --- */
.download-hub { display: flex; justify-content: center; align-items: center; gap: 40px; margin-top: 40px; }
.qr-block { display: flex; align-items: center; gap: 15px; text-align: right; }
.scan-text { font-size: 0.85rem; color: #aaaaaa; line-height: 1.4; margin: 0; }
.scan-text .arrow { display: block; font-size: 2rem; margin-top: 0px; margin-right: -10px; color: var(--accent); line-height: 1; }

.qr-img { width: 120px; height: auto; border-radius: 8px; display: block; }
.qr-box:hover { transform: scale(1.05); transition: transform 0.2s; }

.store-block { display: flex; flex-direction: column; gap: 12px; }
.store-btn img { height: 45px; width: auto; transition: transform 0.2s; }
.store-btn:hover img { transform: translateY(-2px); opacity: 0.9; }

/* --- FEATURES GRID --- */
.usp { padding: 80px 0; text-align: center; background: var(--bg); }
.usp h2 { font-size: 2rem; margin-bottom: 50px; color: white; }

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    margin-top: 20px; 
}

.card { 
    background: var(--card-bg); 
    padding: 40px 30px; 
    border-radius: 12px; 
    border: 1px solid #333; 
    transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.card:hover { transform: translateY(-5px); border-color: #555; }

.icon-emoji { 
    font-size: 3rem; 
    margin-bottom: 20px; 
    display: block;
}

.card h3 { margin-bottom: 15px; color: white; margin-top: 0; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- CALCULATOR & TABLES --- */
.calculator-section { background: var(--bg); padding: 40px 0 80px; text-align: center; }
.calc-box { 
    background: #252525; max-width: 400px; margin: 30px auto; padding: 30px; 
    border-radius: 10px; border: 1px solid #444; box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.input-group { margin-bottom: 15px; text-align: left; }
.input-group label { display: block; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 5px; }
.input-group input, .input-group select { 
    width: 100%; padding: 10px; background: #333; color: white; 
    border: 1px solid #444; border-radius: 5px; box-sizing: border-box; 
}
button { 
    padding: 12px 25px; border-radius: 5px; border: none; background: var(--accent); 
    color: white; font-weight: bold; cursor: pointer; width: 100%; margin-top: 10px; 
    font-size: 1rem; transition: background 0.2s;
}
button:hover { background: #e91e63; }
.hidden { display: none; }
#calc-result { margin-top: 20px; padding-top: 20px; border-top: 1px dashed #555; }
#rank-text { color: var(--primary); font-size: 1.5rem; font-weight: bold; }

/* Table Styles */
.standards-container { max-width: 800px; margin: 60px auto 0; text-align: left; }
.standards-container h3 { text-align: center; color: #ffffff; margin-bottom: 10px; }
.table-sub { text-align: center; font-size: 0.9rem; color: #aaaaaa; margin-bottom: 30px; }
.table-responsive { overflow-x: auto; }
.standards-table { 
    width: 100%; border-collapse: collapse; background: #1e1e1e; 
    border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}
.standards-table th, .standards-table td { 
    padding: 15px; text-align: center; border-bottom: 1px solid #333; font-size: 0.95rem; color: #fff; 
}
.standards-table th { 
    background: #2a2a35; color: #5c6bc0; font-weight: bold; 
    text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px; 
}

/* --- BLOG & FAQ --- */
.blog-grid { margin-top: 40px; }
.blog-card { text-align: left; padding: 0; overflow: hidden; }
.blog-content { padding: 25px; }
.blog-card h3 { margin-top: 0; color: white; }
.blog-date { font-size: 0.8rem; color: var(--primary); display: block; margin-bottom: 10px; }
.blog-card a { color: var(--accent); text-decoration: none; font-weight: bold; margin-top: 15px; display: inline-block; }

.faq { padding: 80px 0; background: #151515; }
.faq-item { 
    background: #222; margin: 15px auto; padding: 25px; 
    border-radius: 8px; max-width: 800px; border: 1px solid #333; text-align: left;
}
.faq-item h3 { margin-top: 0; color: var(--primary); font-size: 1.1rem; }
.faq-item p { margin-bottom: 0; color: #ccc; }

footer { padding: 40px 0; text-align: center; border-top: 1px solid #333; color: #666; }

/* --- FOOTER SOCIALS --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.social-links a {
    color: #666;
    width: 24px;
    height: 24px;
    transition: color 0.3s, transform 0.2s;
    text-decoration: none;
    margin: 0;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
    opacity: 1;
}

.social-links svg {
    width: 100%;
    height: 100%;
}

/* --- MOBILE & RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    
    /* 1. Header Fix: Stack Logo and Menu Vertically */
    .header-content {
        flex-direction: column; 
        gap: 15px;
    }

    nav {
        display: flex;
        align-items: center;
        gap: 15px;
        width: 100%;
        justify-content: center;
    }

    nav a {
        margin-left: 0;
        font-size: 0.9rem;
    }

    /* 2. Hero Title Scaling */
    .editorial-title { 
        font-size: 2.8rem; 
        padding: 0 15px; 
        line-height: 1.2;
    }

    .editorial-subtitle {
        font-size: 0.65em;
        letter-spacing: 1px;
    }

    /* 3. Download Hub Stacking */
    .download-hub { 
        flex-direction: column; 
        gap: 30px; 
    }
    
    .qr-block { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .scan-text .arrow { 
        transform: rotate(90deg); /* Points down on mobile */
        margin: 5px auto; 
    }
    
    .store-block { 
        flex-direction: row; 
        justify-content: center; 
    }
}