/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES (THE NUTRI REMEDY)
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #10b981; /* Premium Emerald */
    --primary-hover: #059669;
    --primary-rgb: 16, 185, 129;
    
    --secondary: #f59e0b; /* Golden Amber */
    --secondary-hover: #d97706;
    
    --accent: #06b6d4; /* Energetic Cyan */
    --accent-rgb: 6, 182, 212;

    /* Backgrounds */
    --bg-base: #060913;      /* Deep Midnight space */
    --bg-surface: #0f172a;   /* Slate Deep */
    --bg-glass: rgba(15, 23, 42, 0.6);
    --bg-glass-hover: rgba(30, 41, 59, 0.7);
    
    /* Text colors */
    --text-main: #f8fafc;       /* Crisp white/slate */
    --text-muted: #94a3b8;      /* Cool silver-grey */
    --text-dark: #0f172a;

    /* Gradients */
    --grad-hero: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --grad-glow: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    --grad-gold: linear-gradient(135deg, #f59e0b 0%, #eab308 100%);
    --grad-dark: linear-gradient(180deg, #060913 0%, #0f172a 100%);

    /* Borders & Shadow Utilities */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-focus: rgba(16, 185, 129, 0.4);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.25);
    
    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--grad-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-sm);
    border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 700px;
}

.text-center {
    text-align: center;
}

.text-glow {
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.hidden {
    display: none !important;
}

/* Glassmorphism Card base */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* Badges & Accents */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-accent {
    color: var(--secondary);
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--grad-hero);
    color: var(--text-dark);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #0891b2 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-nav {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.btn-nav:hover {
    background: var(--primary);
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-lg {
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

/* Sections Structure */
section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 5rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.section-title span {
    background: var(--grad-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ==========================================================================
   GLASS NAVIGATION HEADER
   ========================================================================== */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 9, 19, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.glass-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(6, 9, 19, 0.9);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--text-main);
}

.logo i {
    color: var(--primary);
    font-size: 1.6rem;
}

.logo span strong {
    color: var(--primary);
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

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

.nav-links button.btn-nav::after {
    display: none;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 11rem;
    padding-bottom: 8rem;
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 100%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    background: var(--grad-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.hero-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3.5rem;
}

.stat-item h3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 50%;
    padding: 1.5rem;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
}

.hero-img {
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8),
                0 0 50px rgba(16, 185, 129, 0.15);
    border: 3px solid var(--border-glass);
}

.floating-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-premium);
    z-index: 10;
}

.floating-card i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.floating-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.floating-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-top {
    top: 10%;
    left: -10%;
    animation: float 6s ease-in-out infinite alternate;
}

.card-bottom {
    bottom: 12%;
    right: -5%;
    animation: float 7s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(1deg); }
}

.floating {
    animation: hero-pulse 8s ease-in-out infinite alternate;
}

@keyframes hero-pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.025); }
}

/* ==========================================================================
   DAILY FEATURED ARTICLES SECTION
   ========================================================================== */
.articles-section {
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
}

.topic-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.topic-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 0.8rem 1.6rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-bounce);
}

.topic-btn:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.topic-btn.active {
    background: var(--grad-hero);
    color: var(--text-dark);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

/* Editorial Card */
.featured-article-card {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.article-editorial-header {
    padding: 3.5rem 3.5rem 2.5rem 3.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.article-category-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-title {
    font-size: 2.25rem;
    line-height: 1.3;
    font-weight: 800;
    color: var(--text-main);
}

.article-featured-banner {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-glass);
}

.article-body-wrapper {
    padding: 3.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.article-lead {
    font-size: 1.3rem;
    line-height: 1.7;
    font-weight: 500;
    color: #f1f5f9;
    margin-bottom: 2rem;
}

.article-body-wrapper p {
    margin-bottom: 2rem;
}

/* Blurry Paywall Mask Effect */
.article-locked-container {
    position: relative;
    margin-top: 1rem;
}

.article-blurry-fade {
    user-select: none;
    pointer-events: none;
    filter: blur(6px);
    opacity: 0.12;
    mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

.paywall-gateway-card {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 580px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.lock-icon-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 2rem auto;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.paywall-gateway-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.paywall-gateway-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.25rem;
}

.paywall-gateway-card .small-disclaimer {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

/* Unlocked content design */
.article-full-unlocked-content {
    animation: slide-down 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.unlocked-celebration-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
}

.unlocked-celebration-banner i {
    font-size: 2.5rem;
    color: var(--primary);
}

.unlocked-celebration-banner h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.unlocked-celebration-banner p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 0;
}

.unlocked-text p {
    margin-bottom: 2rem;
}

.unlocked-text h3 {
    font-size: 1.6rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.unlocked-text blockquote {
    border-left: 4px solid var(--primary);
    background: rgba(255,255,255,0.02);
    padding: 1.5rem 2rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    margin: 2.5rem 0;
}

@keyframes slide-down {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   BENEFITS SECTION
   ========================================================================= */
.benefits-section {
    background: var(--bg-surface);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-card {
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

.benefit-card:hover::before {
    background: var(--gradient-primary, var(--grad-hero));
}

.card-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.icon-orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.icon-teal {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.icon-lime {
    background: rgba(132, 204, 22, 0.1);
    color: #84cc16;
    border: 1px solid rgba(132, 204, 22, 0.2);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.benefit-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
}

.benefit-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.benefit-features li i {
    color: var(--primary);
    font-size: 0.85rem;
}

.benefit-card:hover {
    transform: translateY(-8px);
}

/* ==========================================================================
   CALORIC & NUTRIENT CALCULATOR
   ========================================================================== */
.calculator-section {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
}

.calculator-intro h2 span {
    background: var(--gradient-primary, var(--grad-hero));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.calculator-feature-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calc-feat-item {
    display: flex;
    gap: 1.25rem;
}

.feat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.1);
}

.calc-feat-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.calc-feat-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.calculator-widget {
    padding: 3rem;
}

.calc-header {
    margin-bottom: 2.25rem;
}

.calc-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.4rem;
}

.calc-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Form inputs */
.form-group {
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

input, select {
    background: rgba(10, 16, 30, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.2rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    outline: none;
    width: 100%;
}

input:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
    background: rgba(10, 16, 30, 0.95);
}

/* Premium Unit-Selectable Input Groups */
.input-unit-group {
    display: flex;
    position: relative;
    width: 100%;
}

.input-unit-group > input {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    border-right: none;
    flex-grow: 1;
}

.input-unit-group > input:focus {
    border-right: 1px solid var(--primary);
}

.input-unit-group select.select-unit {
    width: 90px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(15, 23, 42, 0.9);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--primary);
    border-left: 1px solid var(--border-glass);
    flex-shrink: 0;
}

.calc-divider {
    border: none;
    border-top: 1px solid var(--border-glass);
    margin: 2.5rem 0 2rem 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-tile {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.result-tile h5 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.result-tile span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    line-height: 1.15;
}

.result-tile p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.result-tile.highlighted {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.05);
}

.result-tile.highlighted span {
    color: var(--primary);
}

.track-recommendation {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.track-recommendation h5 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.track-recommendation p {
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.5;
}

/* Input Icons */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}

.input-with-icon input,
.input-with-icon select {
    padding-left: 3.25rem;
}

.input-with-icon input:focus ~ i,
.input-with-icon select:focus ~ i {
    color: var(--primary);
}

.error-msg {
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 600;
    display: none;
    margin-top: 0.25rem;
}

.form-group.has-error input,
.form-group.has-error select {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.03);
}

.form-group.has-error .error-msg {
    display: block;
}

/* ==========================================================================
   MULTI-STEP CHECKOUT WIZARD MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 5, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fade-in 0.3s ease;
}

.modal-card {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.close-modal-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-bounce);
}

.close-modal-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Modal Progress Bar Indicator */
.modal-progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    position: relative;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.progress-step::after {
    content: attr(data-label);
    position: absolute;
    bottom: -1.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.progress-step.active {
    background: var(--bg-base);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.progress-step.active::after {
    color: var(--primary);
}

.progress-step.completed {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-dark);
}

.progress-step.completed::after {
    color: #ffffff;
}

.progress-line {
    flex-grow: 1;
    height: 2px;
    background: var(--border-glass);
    position: relative;
    z-index: 1;
    margin: 0 -5px;
    transition: var(--transition-smooth);
}

.progress-line.active {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Modal Content Slider */
.modal-scroll-area {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.checkout-step-screen {
    animation: slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.screen-header {
    margin-bottom: 2.5rem;
}

.screen-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.screen-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Step 2: OTP Entry Specifics */
.shield-check-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.otp-input-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.otp-digit {
    width: 60px;
    height: 65px;
    background: rgba(10, 16, 30, 0.8);
    border: 2px solid var(--border-glass);
    border-radius: var(--radius-md);
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    transition: var(--transition-bounce);
}

.otp-digit:focus {
    border-color: var(--primary);
    background: rgba(10, 16, 30, 0.95);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
    transform: scale(1.05);
}

.resend-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.resend-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    padding: 0;
}

.resend-btn:hover {
    color: var(--primary-hover);
}

/* Step 3: Payment Screen Specifics */
.tier-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.tier-card {
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255,255,255,0.01);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tier-card:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255, 255, 255, 0.25);
}

.tier-card.active {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.tier-checkbox {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.tier-card.active .tier-checkbox {
    color: var(--primary);
}

.tier-details {
    flex-grow: 1;
}

.tier-details h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.tier-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tier-price {
    text-align: right;
}

.tier-price strong {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
}

.tier-price span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.payment-methods-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pay-method-btn {
    flex-grow: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pay-method-btn:hover {
    border-color: rgba(255,255,255,0.2);
    color: #ffffff;
}

.pay-method-btn.active {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
    color: var(--primary);
}

.secure-badge {
    background: rgba(16, 185, 129, 0.05);
    border: 1px dashed rgba(16, 185, 129, 0.2);
    padding: 0.9rem;
    border-radius: var(--radius-sm);
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   OTP NOTIFICATION TOAST (SIMULATOR POPUP)
   ========================================================================== */
.otp-toast {
    position: fixed;
    top: 6.5rem;
    right: 2rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--primary);
    border-left: 5px solid var(--primary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5),
                0 0 15px rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.75rem;
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 320px;
    animation: slide-in-right 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-icon {
    font-size: 1.75rem;
    color: var(--primary);
}

.toast-content h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: #ffffff;
}

.toast-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.toast-content p strong {
    color: var(--primary);
    font-size: 1.05rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
}

@keyframes slide-in-right {
    0% { transform: translateX(120%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background: #03060c;
    border-top: 1px solid var(--border-glass);
    padding: 6rem 0 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--text-dark);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-legal h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-legal p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 2.5rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #475569;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE ADAPTATION)
   ========================================================================== */

/* Tablet Optimization (1024px) */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.25rem;
    }
    .hero-grid, .grid-two-cols {
        gap: 2rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-legal {
        grid-column: span 2;
    }
}

/* Mobile Portrait / Landscape (992px) */
@media (max-width: 992px) {
    section {
        padding: 5rem 0;
    }
    .hero-section {
        padding-top: 11rem;
        padding-bottom: 5rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        order: 1;
    }
    .hero-visual {
        order: 0;
        max-width: 400px;
        margin: 0 auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    .grid-two-cols {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-legal {
        grid-column: span 1;
    }
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 4.8rem;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 9, 19, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        padding: 3rem;
        transform: translateY(-105%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        border-top: 1px solid var(--border-glass);
        
        /* Prevent overlapping and tap blocking on mobile when collapsed */
        visibility: hidden;
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-links a {
        font-size: 1.3rem;
    }
    
    .nav-links .btn-nav {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .article-editorial-header {
        padding: 2rem 2rem 1.5rem 2rem;
    }
    .article-title {
        font-size: 1.75rem;
    }
    .article-featured-banner {
        height: 250px;
    }
    .article-body-wrapper {
        padding: 2rem;
    }
    .paywall-gateway-card {
        padding: 2rem;
        width: 95%;
    }
    .modal-card {
        padding: 2.5rem 1.5rem;
    }
}

/* Small Screens (480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .benefit-card {
        padding: 2rem;
    }
    .results-grid {
        grid-template-columns: 1fr;
    }
    .form-row-two {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .otp-digit {
        width: 45px;
        height: 50px;
        font-size: 1.5rem;
    }
    .tier-card {
        padding: 1rem;
    }
    .tier-price strong {
        font-size: 1.3rem;
    }
}
