/*
Theme: Ocean Streamz Authority
Description: Ultra-lightweight theme for core web vitals.
Target: < 40KB
*/

/* 1. RESET & BASICS */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
li,
figure {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

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

html {
    scroll-behavior: smooth;
}

/* 2. TYPOGRAPHY */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 0.75em;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    display: inline-block;
    padding-bottom: 5px;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5em;
}

a {
    color: #2563eb;
    text-decoration: none !important;
    transition: color 0.2s;
}

a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* 3. LAYOUT & GRID */
.grid-container {
    max-width: 1200px;
    /* Wider container */
    margin: 0 auto;
    padding: 0 25px;
    width: 100%;
}

.site-main {
    padding-bottom: 4rem;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    /* Slightly wider cards */
    gap: 2.5rem;
    /* Larger gap */
    margin-top: 3rem;
}

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

.section {
    padding: 3rem 0;
}

/* PREMIUM INFO SECTION */
#what-is-ocean-streamz {
    background: linear-gradient(to bottom, #f8fafc, #edf2f7);
    position: relative;
}

.premium-info-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.premium-info-card {
    background: #ffffff;
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.premium-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #2563eb, #60a5fa);
}

.info-badge {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Typography in Content */
.info-content-typography h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.info-content-typography p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Info Content Styling */
.info-content-typography ul {
    margin: 1.5rem 0;
    padding-left: 0;
}

.info-content-typography li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 0.8rem;
    color: #475569;
    font-weight: 500;
}

.info-content-typography li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232563eb' class='w-6 h-6'%3E%3Cpath fill-rule='evenodd' d='M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z' clip-rule='evenodd' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.info-content-typography a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(37, 99, 235, 0.2);
    transition: all 0.2s ease;
}

.info-content-typography a:hover {
    border-bottom-color: #2563eb;
}

.info-visual-spleat {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.floating-icon-box {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.4);
    z-index: 2;
    animation: float 5s ease-in-out infinite;
    transform: rotate(-10deg);
}

.floating-icon-box svg {
    width: 70px;
    height: 70px;
}

.blob-bg {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

@media (max-width: 900px) {
    .premium-info-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-visual-spleat {
        display: none;
        /* Hide visual on mobile to save space */
    }
}

/* .section:nth-child(even) { background: #f8fafc; } */

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

/* 4. COMPONENTS */

/* HERO SECTION (PREMIUM UI) */
.hero-section {
    position: relative;
    padding: 8rem 0 6rem;
    /* Extra top padding for header */
    background: #ffffff;
    overflow: hidden;
}

/* Background Glow Effect */
.hero-bg-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

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

/* Hero Content */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(37, 99, 235, 0.4);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-intro-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.5);
    color: #fff;
}

.hero-btn-secondary {
    background: white;
    color: #475569;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

/* Trust Signals (Premium) */
.hero-trust {
    display: flex;
    gap: 1rem;
    /* Reduced gap to ensure fit */
    padding-top: 2.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    flex-wrap: nowrap;
    /* Force single row */
    overflow-x: auto;
    /* Allow scroll on very small screens if needed, rather than break layout */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar */
}

.hero-trust::-webkit-scrollbar {
    display: none;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #475569;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.trust-item:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
    color: #1e293b;
}

/* Specific Badge Styling for SVGs */
.trust-item svg {
    width: 20px;
    height: 20px;
    color: #10b981;
}

/* 1. Safe Badge (Green) */
.trust-item:nth-child(1) {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.2);
}

.trust-item:nth-child(1):hover {
    background: rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.trust-item:nth-child(1) svg {
    color: #059669;
}

/* 2. Updated Badge (Blue) */
.trust-item:nth-child(2) {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    border-color: rgba(59, 130, 246, 0.2);
}

.trust-item:nth-child(2):hover {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.trust-item:nth-child(2) svg {
    color: #2563eb;
}

/* 3. Rating Badge (Gold) */
.trust-item:nth-child(3) {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.2);
}

.trust-item:nth-child(3):hover {
    background: rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.trust-item:nth-child(3) svg {
    color: #d97706;
}

/* Orange for Star */

/* CSS Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #fff;
    border-radius: 40px;
    box-shadow:
        0 0 0 12px #1e293b,
        /* Bezel */
        0 25px 50px -12px rgba(0, 0, 0, 0.5);
    /* Shadow */
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.phone-screen {
    background: #0f172a;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

/* App UI Inside Phone */
.app-header {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 8px;
}

.app-dot {
    width: 8px;
    height: 8px;
    background: #334155;
    border-radius: 50%;
}

.app-content {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.movie-poster {
    aspect-ratio: 2/3;
    background: linear-gradient(45deg, #334155, #475569);
    border-radius: 8px;
    opacity: 0.5;
}

.movie-poster:nth-child(2) {
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    opacity: 0.8;
}

.movie-poster:nth-child(3) {
    background: linear-gradient(45deg, #06b6d4, #22d3ee);
    opacity: 0.8;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid #fff;
    margin-left: 4px;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.floating-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Decorative Circles behind Phone */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #3b82f6, #818cf8);
    opacity: 0.2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) blur(40px);
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: #06b6d4;
    opacity: 0.15;
    top: 20%;
    right: 10%;
    filter: blur(30px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-intro-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-bg-glow {
        right: -50%;
    }
}

/* Feature List */
.features-list {
    padding-left: 0;
    margin-top: 1.5rem;
}

.features-list li {
    margin-bottom: 0.75rem;
    padding-left: 25px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%232563eb"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/></svg>') no-repeat left center;
    background-size: 20px;
}

/* Cards (Problems/Alternatives) */
.problem-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 2rem;
    border-radius: 8px;
    display: block;
    /* Make anchor block */
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.problem-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    border-color: #3b82f6;
}

.problem-card h3 {
    color: #1e3a8a;
    margin-top: 0;
}

.problem-card p {
    color: #6b7280;
    font-size: 1rem;
}

/* Buttons */
.button {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.button:hover {
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
}

.primary-btn {
    font-size: 1.1rem;
}

.read-more-link {
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* FAQ Accordion */
.faq-accordion details {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
}

.faq-accordion summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    /* Hide default arrow */
    position: relative;
    padding-right: 20px;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: #3b82f6;
}

.faq-accordion details[open] summary::after {
    content: '-';
}

.faq-accordion p {
    margin-top: 1rem;
    color: #4b5563;
}

/* Footer */
.site-footer {
    background: #1f2937;
    color: #e5e7eb;
    padding: 3rem 0;
    text-align: center;
}

.site-footer a {
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .grid-3-col {
        grid-template-columns: 1fr;
    }
}

/* Utilities */
.center-btn {
    text-align: center;
    margin-top: 2rem;
}

.comparison-table-preview ul {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table-preview li {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
}

.comparison-table-preview li strong {
    color: #1e3a8a;
}

/* Table of Contents (Premium UI) */
/* Table of Contents (Premium UI - Fixed) */
.table-of-contents {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    display: block;
    width: 100%;
    max-width: 800px;
    /* Wide Dashboard Look */
    margin: 0 auto;
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.table-of-contents:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.08);
}

/* Header */
.toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.toc-icon {
    width: 24px;
    height: 24px;
    color: #3b82f6;
}

.toc-title-text {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1e3a8a;
}

/* List Items */
.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 Column Layout */
    gap: 10px 20px;
}

@media (max-width: 600px) {
    .table-of-contents ul {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.table-of-contents li {
    margin-bottom: 0px;
    position: relative;
}

.table-of-contents a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
}

/* Hover Effects */
.table-of-contents a:hover {
    background: rgba(59, 130, 246, 0.08);
    /* Soft blue bg */
    color: #2563eb;
    padding-left: 20px;
    /* Slight shift */
}

/* Active/Indicator Line */
.table-of-contents a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 70%;
    background: #3b82f6;
    border-radius: 0 4px 4px 0;
    transition: transform 0.2s;
}

.table-of-contents a:hover::before {
    transform: translateY(-50%) scaleY(1);
}

/* Custom numbers/markers (optional, handled by flex layout mostly) */
.table-of-contents li::after {
    display: none;
    /* remove old dots if any */
}

/* How It Works Steps */
.step-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* CTA Group */
.cta-group .button {
    margin-bottom: 10px;
}

/* 5. PREMIUM HEADER STRUCTURE & STYLE */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.inside-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

/* Branding/Logo */
.site-branding {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.main-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.main-title a {
    color: #2563eb;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* Navigation - Desktop */
.main-navigation {
    display: flex;
    align-items: center;
    background: transparent !important;
}

.main-navigation.toggled .main-nav>ul {
    display: block;
}

/* Mobile show */

/* Hide Mobile Toggle on Desktop */
.menu-toggle,
.mobile-menu-control-wrapper,
.mobile-menu-button {
    display: none;
}

/* Desktop Menu List */
.main-navigation .main-nav>ul {
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation .main-nav ul li a {
    color: #374151;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0 15px;
    height: 60px;
    line-height: 60px;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

/* Hover Animation (Expanding Blue Line) */
.main-navigation .main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

.main-navigation .main-nav ul li:hover>a {
    color: #2563eb;
    background: transparent !important;
}

.main-navigation .main-nav ul li:hover>a::after {
    width: 60%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .inside-header {
        padding: 10px 15px;
    }

    /* Show Toggle */
    .menu-toggle,
    .mobile-menu-control-wrapper {
        display: block;
        background: transparent;
    }

    .menu-toggle {
        font-size: 1.2rem;
        color: #1f2937;
        margin-top: -3px;
    }

    /* Hide Desktop Menu List Initially */
    .main-navigation .main-nav>ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        gap: 0;
    }

    /* When Toggled Open (GP adds 'toggled' class) */
    .main-navigation.toggled .main-nav>ul {
        display: flex;
    }

    .main-navigation .main-nav ul li a {
        height: auto;
        line-height: 2.5;
        padding: 5px 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .main-navigation .main-nav ul li a::after {
        display: none;
    }

    /* No animation mobile */
}

/* CTA Button in Menu */
.main-navigation .main-nav ul li.nav-button a {
    background: #2563eb;
    color: #fff !important;
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    margin-left: 10px;
    margin-top: 10px;
    /* Vert. align desktop */
}

@media (max-width: 768px) {
    .main-navigation .main-nav ul li.nav-button a {
        display: inline-block;
        margin: 10px 0;
    }
}

/* --- GLOBAL PREMIUM STYLES (From Landing Page) --- */

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Glassmorphism */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Background Grid */
.bg-grid {
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, transparent, 10%, black, 90%, transparent);
}

/* Selection Color Global */
::selection {
    background-color: #0ea5e9;
    /* brand-500 */
    color: white;
}

/* 5. ANIMATIONS (New Premium Set) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 6. PREMIUM ARTICLE TYPOGRAPHY (Prose Alternative) */
article.prose {
    max-width: 65ch;
    font-size: 1.15rem;
    /* Slightly larger for readability */
    line-height: 1.8;
    color: #334155;
    margin-bottom: 4rem;
}

/* Headings with Brand Polish */
article.prose h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    letter-spacing: -0.025em;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Brand Underline Effect for H2 */
article.prose h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    /* Brand Gradient */
    border-radius: 2px;
}

article.prose h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #2563eb;
    /* Theme Brand Color */
    letter-spacing: -0.01em;
}

/* Richer Paragraphs */
article.prose p {
    margin-bottom: 1.75rem;
    color: #475569;
}

/* Custom List Styling */
article.prose ul {
    margin-bottom: 2rem;
    list-style: none;
    /* Prepare for custom bullets */
    padding-left: 0;
}

article.prose ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

article.prose ul li::before {
    content: '➔';
    position: absolute;
    left: 0;
    color: #2563eb;
    /* Brand Color Bullet */
    font-size: 1rem;
    font-weight: bold;
}

article.prose ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    list-style-type: decimal;
    color: #2563eb;
    /* Number color */
}

article.prose ol li {
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
    color: #475569;
    /* Text color reset */
}

/* Impactful Strong Text */
article.prose strong {
    color: #1e3a8a;
    /* Darker Brand Blue */
    font-weight: 700;
}

/* Next Level Blockquote */
article.prose blockquote {
    font-style: italic;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.6;
    color: #1e293b;
    background: linear-gradient(to right, #eff6ff, #ffffff);
    /* Brand Tint */
    border-left: 5px solid #2563eb;
    /* Brand Color */
    padding: 2rem 2.5rem;
    border-radius: 0 1.5rem 1.5rem 0;
    margin: 3rem 0;
    box-shadow: 0 10px 25px -10px rgba(37, 99, 235, 0.1);
}

article.prose blockquote footer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #64748b;
    font-style: normal;
    font-weight: 600;
}

article.prose a {
    color: #2563eb;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: all 0.2s;
}

article.prose a:hover {
    color: #1e40af;
    background: #dbeafe;
    text-decoration: none;
    border-radius: 4px;
    padding: 0 4px;
    margin: 0 -4px;
}

article.prose .lead {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2rem;
}

/* Scroll Progress Bar Gradient Animation */
#reading-progress {
    background: linear-gradient(to right, #2563eb, #60a5fa) !important;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}