:root {
  --primary-color: #667eea;
  --primary-dark: #5568d3;
  --primary-light: #8b9ff0;
  --primary-hover: #0a39f6e9;
  --secondary-color: #dc2626;
  --secondary-dark: #b91c1c;
  --secondary-light: #f87171;
  --success-color: #0a8e01;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --light-bg: #f5f7fa;
  --card-bg: #ffffff;
  --border-color: #e5e7eb;
  --text-dark: #323232;
  --text-light: #727272;
  --muted: #6b7280;
  --accent: #2563eb;
  --surface: #f8fafc;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(16, 24, 40, 0.08);
  --lux-card-bg: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  --lux-accent: linear-gradient(90deg, var(--primary-light), var(--primary-color));
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Prevent iOS/ mobile browsers from zooming inputs by keeping text-size at 100% */
html, body {
    -webkit-text-size-adjust: 100%; /* Safari, Chrome on iOS */
    -ms-text-size-adjust: 100%; /* IE Mobile */
}

/* Ensure form controls are large enough to avoid mobile zoom (iOS) */
input, textarea, select, button {
    font-size: 12px;
}

/* Keep newsletter input at safe size as well */
.newsletter-form input {
    font-size: 14px;
}

/* Sticky layout variables */
:root {
    --banner-height: 56px;
    --topbar-height: 44px;
}

/* Membership for free Banner */
/* Membership for free Banner */
.premium-banner {
    background: #dc2626;
    color: white;
    height: 56px;                    /* ← NEW: fixed height */
    padding: 0 1rem;                 /* ← changed: only horizontal */
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 105;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-banner p {
    margin: 0;
    font-size: 1rem;
}

/* Top Utility Bar */
.topbar {
    position: sticky;
    top: var(--banner-height);
    z-index: 103;
    background: #0f172a;
    color: white;
    font-size: 0.95rem;
    height: 44px;                    /* ← NEW: fixed height */
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;                 /* ← changed: only horizontal padding */
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    height: 100%;                    /* ← NEW */
}


.topbar-left,
.topbar-center,
.topbar-right {
    display: flex;
    align-items: center;
}


.topbar-left a,
.topbar-center a,
.topbar-right a {
    color: #fff;
    text-decoration: none;
    margin-right: 12px;
    font-weight: 600;
}

.members-login { display: inline-flex; gap: 6px; align-items: center; }

.topbar a:hover { opacity: 0.85; }

/* Topbar Dropdowns */
.topbar-dropdown {
    position: relative;
    display: inline-block;
}

.topbar-dropdown-toggle {
    background: none;
    border: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: opacity 0.2s ease;
}

.dropdown-arrow {
    display: inline-block;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.topbar-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.topbar-dropdown-toggle:hover {
    opacity: 0.85;
}

.topbar-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #1a1f3a;
    border: 1px solid #667eea;
    border-radius: 6px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Show on hover or when active */
.topbar-dropdown:hover .topbar-dropdown-menu,
.topbar-dropdown.active .topbar-dropdown-menu {
    display: block;
}

/* Keep menu visible when hovering over it */
.topbar-dropdown-menu:hover {
    display: block;
}

.topbar-dropdown-menu li {
    margin: 0;
}

.topbar-dropdown-menu li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    margin: 0;
    transition: background 0.2s ease;
}

.topbar-dropdown-menu li a:hover {
    background: #667eea;
    opacity: 1;
}

/* Mobile adjustments for topbar dropdowns */
@media (max-width: 768px) {
    .topbar-dropdown-menu {
        min-width: 150px;
        font-size: 0.85rem;
    }
    
    .topbar-dropdown-menu li a {
        padding: 8px 12px;
        white-space: nowrap;
    }
    
    /* Align right dropdown to the right */
    .topbar-right .topbar-dropdown-menu {
        left: auto;
        right: 0;
    }
}

/* Intro text styling */
.intro-text {
    font-size: 1.2rem;
    color: #444;
    text-align: center;
    margin-bottom: 0.5rem;
}

.intro-text-more {
    font-size: 1rem;
    color: #555;
    text-align: center;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Marquee Animation */
@keyframes slideLeft {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100vw);
    }
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: rgb(0, 0, 0);
    padding: 1rem 0;
    position: sticky;
    top: var(--header-offset, calc(var(--banner-height) + var(--topbar-height)));
    z-index: 101;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 102;
}

.logo-img {
    max-height: 50px;
    height: auto;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

/* Mobile hamburger & overlay (visible on small screens) */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #09012a;
}
.hamburger .hamburger-box { display: inline-block; position: relative; width: 24px; height: 16px; }
.hamburger .hamburger-inner,
.hamburger .hamburger-inner:before,
.hamburger .hamburger-inner:after {
    background: #09012a;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    transition: transform .3s ease, opacity .2s ease;
}
.hamburger .hamburger-inner { top: 20%; transform: translateY(-50%); }
.hamburger .hamburger-inner:before { content: ''; top: -10px; }
.hamburger .hamburger-inner:after { content: ''; top: 10px; }
.hamburger[aria-expanded="true"] .hamburger-inner { background: transparent; }
.hamburger[aria-expanded="true"] .hamburger-inner:before { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-inner:after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay navigation */
.mobile-overlay {
    position: fixed;
    top: 1rem;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 200;
    display: flex;
    justify-content: flex-end;
}
.mobile-overlay.open { transform: translateX(0); }
.mobile-overlay .mobile-overlay-inner {
    width: 80%;
    max-width: 320px;
    background: #fff;
    height: 100%;
    /* leave some top space so overlay content doesn't feel cramped under header */
    padding: calc(var(--banner-height) + var(--topbar-height) + 1rem) 2rem 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    overflow: auto;
    position: relative;
}
.mobile-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
}
.mobile-nav-links { list-style: none; margin-left: -1rem; margin-top: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav-links li { margin: 0; }
.mobile-nav-links a { color: #1e293b; text-decoration: none; font-size: 1.05rem; padding: 0.6rem 0.5rem; display: block; border-radius: 6px; font-weight: 500; transition: all 0.25s ease; }

/* Pure CSS-based active nav link styling for mobile using data attributes */
body[data-page="home"] a[data-nav="home"],
body[data-page="articles"] a[data-nav="articles"],
body[data-page="courses"] a[data-nav="courses"],
body[data-page="membership"] a[data-nav="membership"],
body[data-page="broker"] a[data-nav="broker"] {
    background: #667eea;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(102,126,234,0.18);
}

.mobile-nav-links a.active {
    background: #667eea;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(102,126,234,0.18);
}

@media (max-width: 768px) {
    /* Remove desktop nav from mobile screens - hamburger/overlay handles navigation */
    .nav-links { display: none !important; }
    .hamburger { display: flex; }
    header { padding: 0.75rem 0; }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 500;
}
.nav-links a:hover,
.nav-links a:focus {
    background: #667eea;
    color: white;
    opacity: 1;
}

/* Pure CSS-based active nav link styling using data attributes */
body[data-page="home"] a[data-nav="home"],
body[data-page="articles"] a[data-nav="articles"],
body[data-page="courses"] a[data-nav="courses"],
body[data-page="membership"] a[data-nav="membership"],
body[data-page="broker"] a[data-nav="broker"] {
    background: #667eea;
    color: white;
    font-weight: 600;
}

.nav-links a.nav-active {
    background: #667eea;
    color: white;
    font-weight: 600;
}

.cta-button {
    background: white;
    color: #1e293b;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn-primary {
    background: white;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Request button styling used on broker page */
.request-btn {
    background: linear-gradient(135deg, #667eea 0%, #4763d9 100%);
    color: #fff;
    border: none;
    padding: 0.9rem 1.6rem;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(71,99,217,0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.request-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(71,99,217,0.18); }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}
/* Add bottom margin for containers to space sections */
.container { margin-bottom: 2rem; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

/* -----------------------------
   Hero / Swiper carousel styles
   (moved from inline <style> in index.html)
   ----------------------------- */

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: -3rem;
}

.swiper {
    width: 100%;
    height: 68%;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    width: 100% !important;
    opacity: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 21, 0.668);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: -2rem; 
}

.content {
    max-width: 1000px;
    z-index: 2;
}

.hero h1,
h1 {
    font-size: 2.8rem;
    margin-top: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1.3em;
    color: #ffffff;
    line-height: 1.2;
}

p.subtitle {
    font-size: 2rem;
    margin-bottom: 3.2rem;
    opacity: 0.96;
    max-width: 840px;
    line-height: 1.45;
}

.carousel-btn {
    display: inline-block;
    background: linear-gradient(90deg, #00d084, #00ff9d, #00d4ff);
    color: #000;
    padding: 20px 60px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 0.80rem;
    font-weight: bold;
    transition: all 0.4s ease;
    box-shadow: 0 12px 45px rgba(0, 255, 140, 0.45);
    margin-top: 3rem; 
}

.btn:hover {
    transform: translateY(-12px) scale(1.08);
    box-shadow: 0 30px 80px rgba(0, 255, 140, 0.65);
}

/* Hide side slides on desktop – no peek */
@media (min-width: 1025px) {
    .swiper-slide-prev,
    .swiper-slide-next {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(100vw) !important;
    }
    .swiper {
    width: 100%;
    height: 100%;
}
}

/* Swiper customizations */
.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
    opacity: 0;
}

.swiper-pagination-bullet {
    background: #ccc;
    opacity: 0.7; 
}

.swiper-pagination-bullet-active {
    background: #00ff9d;
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #00ff9d;
    filter: drop-shadow(0 0 15px #00ff9d);
}

@media (max-width: 768px) {
    .hero {
    top: -4rem;
    padding-bottom: 2rem;
}
    .hero h1,
    h1 {
        font-size: 8rem;
        letter-spacing: -1px;
    }
    p.subtitle {
        font-size: 1.7rem;
        margin-bottom: 2.8rem;
    }
    .btn {
        padding: 16px 48px;
        font-size: 1.6rem;
    }
    
}


.section-title .highlight {
    color: #667eea;
}

/* About Section */
#about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: -2rem;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #667eea;
    text-align: center;
}

.about-features {
    list-style: none;
    margin: 2rem 0;
}

.about-features li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.about-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Articles Section */
#articles {
    background: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.article-card .article-title {
    font-size: 1.1rem;
    margin: 1rem;
    color: #333;
    transition: color 0.3s;
}

.article-card:hover .article-title {
    color: #667eea;
}

/* Articles List */
.articles-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.articles-list li {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.3s ease;
}

.articles-list li:last-child {
    border-bottom: none;
}

.articles-list li:hover {
    background: #f9fafb;
}

.articles-list a {
    color: #667eea;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.articles-list a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Courses Section */
#courses {
    background: #f8f9fa;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-icon {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.course-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.course-desc {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.course-level {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.download-btn {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    /* ensure the button is visible if parent background changes */
    text-align: center;
}

/* mobile: make course button stretch full width and stay at bottom of card */
@media (max-width: 768px) {
    .download-btn {
        width: 100%;
    }
    .course-info {
        flex: 1 1 auto;
    }
}

.download-btn:hover {
    background: #764ba2;
}

/* Membership Page Hero Section */
.membership-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(102, 126, 234, 0.15));
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.membership-hero h2 {
    margin-top: 0;
}

.membership-hero .lead {
    margin: 1rem 0;
}

.membership-points-info {
    background: white;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    color: #ffffff;
}
.membership-points-info p:first-child {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

.membership-points-info p:last-child {
    margin: 0.5rem 0 0;
    font-size: 1rem;
}

.buy-points-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
    padding-bottom: 2px;
}

.buy-points-link:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
    text-decoration: underline;
}

/* Membership Plans Section */
#membership {
    background: white;
    padding: 80px 20px;
    text-align: center;
}

#membership .section-title {
    color: #000000;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #000000;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.membership-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.membership-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.membership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #fbbf24;
}

.membership-card.featured {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
    border-color: #f59e0b;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

.membership-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.25);
}

.membership-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.membership-badge.featured-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.membership-card h3 {
    color: #1e293b;
    font-size: 1.6rem;
    margin: 20px 0 1rem;
}

.membership-price {
    font-size: 3rem;
    font-weight: bold;
    color: #1e293b;
    margin: 1rem 0;
}

.currency {
    font-size: 1.2rem;
    color: #667eea;
}

.membership-duration {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.membership-savings {
    color: #10b981;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.membership-features {
    list-style: none;
    text-align: left;
    flex-grow: 1;
}

.membership-features li {
    color: #555;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.membership-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.membership-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.membership-btn.featured-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    font-size: 1.05rem;
}

.membership-btn.featured-btn:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* How Points Work Section */
.how-points-work {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.how-points-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.how-points-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    color: var(--text-light);
}

.how-points-card h3 {
    margin-top: 0;
    color: #667eea;
}

/* Points Overview Section */
.points-overview-section {
    margin: 2rem 0;
}

.points-overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.points-overview-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.points-overview-card .label {
    margin: 0 0 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.points-overview-card .value {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
}

.points-overview-card:nth-child(2) .value {
    color: #10b981;
}

.points-overview-card:nth-child(3) .value {
    color: #f59e0b;
}

.points-overview-card .info {
    margin: 0.5rem 0 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Support Section */
.support {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(102, 126, 234, 0.04));
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.support h2 {
    margin-top: 0;
}

.support a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.support-btn {
    color: white !important;
    background: #667eea;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    display: inline-block;
    margin-top: 1rem;
}

.support-btn:hover {
    opacity: 0.9;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.faq-button {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background: var(--light-bg);
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-button:hover {
    background: rgba(102, 126, 234, 0.1);
}

.faq-content {
    padding: 1rem;
    background: white;
    color: var(--text-light);
    display: none;
}

.faq-content.active {
    display: block;
}

.faq-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.faq-content a:hover {
    text-decoration: underline;
}

/* Referral Program Section */
#referral {
    background: var(--card-bg);
    color: white;
    padding: 80px 20px;
}

.referral-card {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 3rem;
}

.referral-icon {
    font-size: 4rem;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.referral-content {
    flex: 1;
}

.referral-content h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.referral-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.referral-details {
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.referral-step {
    background: rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
}

.step-number {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.referral-benefits {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.referral-benefits h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.06);
    padding: 1.2rem;
    border-radius: 8px;
    text-align: center;
}

.benefit-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.8rem;
}

.benefit-item p {
    font-size: 0.95rem;
    font-weight: 600;
}

.referral-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    padding: 1.1rem 2.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.referral-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

/* Newsletter Section */
#newsletter {
    background: #fef3c7;
    color: #333;
    text-align: center;
}

#newsletter .section-title {
    color: #1e293b;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

/* Ensure newsletter inputs are 16px on mobile to prevent iOS zoom on focus */
.newsletter-form input,
.modal .newsletter-form input,
.mobile-overlay .newsletter-form input {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: #1e293b;
    color: #fef3c7;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}


.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.newsletter-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #1e293b;
}

/* Modal/Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.modal h2 {
    color: #667eea;
    margin-bottom: 1rem;
}

.modal p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.plan {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.plan:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.plan.featured {
    border-color: #667eea;
    background: #f8f9ff;
    transform: scale(1.05);
}

.plan h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin: 1rem 0;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 1rem 0;
    color: #666;
    font-size: 0.9rem;
}

.plan-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.plan-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.3rem;
}

.modal-button {
    background: #667eea;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
    width: 100%;
}

.modal-button:hover {
    background: #764ba2;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Subscription Info Banner */
.subscription-banner {
    background: #fef3c7;
    color: #333;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.subscription-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.subscription-banner p {
    opacity: 0.95;
    margin-bottom: 1rem;
    color: #1e293b;
}

.subscription-banner button {
    background: white;
    color: #1e293b;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.subscription-banner button:hover {
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    color: #999;
}

/* Responsive */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    /* Header & Navigation */
    nav {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-img {
        max-height: 45px;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.85rem;
    }
        /* Footer becomes flex/stacked on mobile */
        .footer-content { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }
        .footer-sections { display: flex; flex-direction: column; gap: 1rem; text-align: left; }

    .nav-links li {
        display: flex;
        align-items: center;
    }

    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero {
        padding: 60px 15px;
        min-height: 500px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-primary {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }

    /* Sections */
    section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-features li {
        font-size: 0.95rem;
        padding: 0.6rem 0;
        padding-left: 1.5rem;
    }

    /* Articles Section */
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .articles-list {
        max-width: 100%;
    }

    .articles-list a {
        font-size: 1rem;
    }

    .article-card img {
        height: 180px;
    }

    .article-card .article-title {
        font-size: 1rem;
        margin: 0.8rem;
    }

    .article-excerpt {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    /* Courses Section */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .course-card {
        margin-bottom: 0.5rem;
    }

    .course-icon {
        height: 130px;
        font-size: 2.5rem;
    }

    .course-info {
        padding: 1.2rem;
    }

    .course-title {
        font-size: 1.1rem;
    }

    .course-desc {
        font-size: 0.9rem;
    }

    .download-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
    }

    /* Membership Plans Tablet */
    .membership-plans {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .membership-card.featured {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
        transform: scale(1);
    }

    #membership .section-title {
        font-size: 2.2rem;
    }

    /* Referral Program Tablet */
    .referral-card {
        padding: 2rem;
        gap: 2rem;
    }

    .referral-icon {
        font-size: 3rem;
        min-width: 80px;
    }

    .referral-content h2 {
        font-size: 1.8rem;
    }

    .referral-details {
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Newsletter Section */
    .newsletter-form {
        flex-direction: column;
        gap: 0.8rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        padding: 1rem;
        font-size: 0.95rem;
    }

    .newsletter-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Modal */
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        max-width: 90%;
        border-radius: 8px;
    }

    .modal h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .modal p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .plans-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .plan {
        padding: 1.2rem;
    }

    .plan.featured {
        transform: scale(1);
    }

    .plan h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }

    .plan-price {
        font-size: 1.5rem;
        margin: 0.8rem 0;
    }

    .plan-features {
        font-size: 0.85rem;
    }

    .modal-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Subscription Banner */
    .subscription-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .subscription-banner h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .subscription-banner p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .subscription-banner button {
        width: 100%;
        max-width: 250px;
    }

    /* Footer */
    footer {
        padding: 2rem 1rem;
    }

    .footer-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-section a {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 1rem;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    /* General */
    body {
        font-size: 14px;
    }
    

.premium-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, var(--secondary-dark), var(--secondary-dark), var(--secondary-light));
  background-size: 200% 100%;
  animation: banner-shimmer 4s linear infinite;
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

.premium-banner p {
  margin: 0;
}

.premium-banner:hover {
  opacity: 0.9;
}

@keyframes banner-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}


    /* Premium Banner */
    .premium-banner p {
        font-size: 0.90em;
        padding: 0 10px;
        /* marquee disabled on mobile */
        animation: none;
        white-space: normal;
        overflow: visible;
    }
    /* Topbar mobile tweaks: stack and center all items */
    .topbar-inner { padding: 6px 12px; flex-direction: row; align-items: center; gap: 0px; }
    .topbar { font-size: 0.75rem; }
    .topbar-left { justify-content: center; flex: 1; text-wrap: nowrap; }
    .topbar-center,
    .topbar-right { width: 100%; justify-content: center; }
    .topbar-left a,
    .topbar-center a,
    .topbar-right a { margin-right: 1rem; display: inline-block; }
    
    /* Header & Navigation */
    header {
        padding: 0.8rem 0;
    }

    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 0 10px;
    }

    .logo {
        font-size: 1.3rem;
        margin-bottom: 0;
    }

    .logo-img {
        max-height: 40px;
    }

    /* Mobile sliding sidebar removed — keep desktop nav and responsive spacing only */

    /* Hero Section */
    .hero {
        padding: 40px 10px;
        min-height: 400px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }

    .hero-buttons {
        gap: 0.6rem;
    }

    .btn-primary {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
        max-width: 100%;
    }

    /* Sections */
    section {
        padding: 40px 10px;
    }

    .container {
        max-width: 95%;
        padding: 0;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    /* About Section */
    .about-text h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .about-text p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .about-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        padding-left: 1.3rem;
    }

    .about-features li:before {
        font-size: 1rem;
    }

    /* Articles Section */
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .articles-list {
        padding: 0 10px;
    }

    .articles-list li {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .articles-list a {
        font-size: 0.95rem;
    }

    .article-card {
        margin-bottom: 0;
    }

    .article-card img {
        height: 140px;
    }

    .article-card .article-title {
        font-size: 0.9rem;
        margin: 0.6rem;
    }

    /* Courses Section */
    .course-icon {
        height: 120px;
        font-size: 2rem;
    }

    .course-info {
        padding: 1rem;
    }

    .course-level {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .course-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .course-desc {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .download-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        width: 100%;
    }

    /* Membership Plans Mobile */
    #membership {
        padding: 40px 10px;
    }

    #membership .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .membership-plans {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .membership-card {
        padding: 1.5rem;
    }

    .membership-card.featured {
        transform: scale(1);
    }

    .membership-card.featured:hover {
        transform: scale(1) translateY(-8px);
    }

    .membership-price {
        font-size: 2rem;
    }

    .membership-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Referral Program Mobile */
    #referral {
        padding: 40px 10px;
    }

    .referral-card {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
        gap: 1.5rem;
        text-align: center;
    }

    .referral-icon {
        font-size: 2.5rem;
        min-width: auto;
    }

    .referral-content h2 {
        font-size: 1.4rem;
    }

    .referral-details {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .referral-step {
        gap: 0.8rem;
        padding: 1rem;
    }

    .step-number {
        min-width: 40px;
        font-size: 1.5rem;
    }

    .step-content h3 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    .referral-benefits h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .benefit-item {
        padding: 0.8rem;
    }

    .benefit-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .benefit-item p {
        font-size: 0.85rem;
    }

    .referral-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Newsletter Section */
    #newsletter {
        padding: 40px 10px;
    }

    .newsletter-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 0.8rem 0.8rem;
        font-size: 0.9rem;
        min-width: auto;
    }

    .newsletter-form input {
        flex: 1;
    }

    /* Modal */
    .modal {
        padding: 0;
    }

    .modal-content {
        margin: 15% 0;
        padding: 1.2rem;
        max-width: 100%;
        border-radius: 0;
        max-height: 90vh;
        overflow-y: auto;
    }

    .close-modal {
        right: 1rem;
        top: 1rem;
        font-size: 1.8rem;
    }

    .modal h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .modal p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .plans-container {
        gap: 1rem;
    }

    .plan {
        padding: 1rem;
        border-radius: 6px;
    }

    .plan h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .plan-price {
        font-size: 1.3rem;
        margin: 0.8rem 0;
    }

    .plan-features {
        font-size: 0.8rem;
        margin: 0.8rem 0;
    }

    .plan-features li {
        padding: 0.4rem 0;
        padding-left: 1.2rem;
    }

    .modal-button {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }

    /* Subscription Banner */
    .subscription-banner {
        padding: 1.2rem;
        margin: 1rem 0;
        border-radius: 6px;
    }

    .subscription-banner h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .subscription-banner p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }

    .subscription-banner button {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        max-width: 100%;
    }

    /* Footer */
    footer {
        padding: 1.5rem 1rem;
    }

    .footer-sections {
        margin-bottom: 1rem;
    }

    .footer-section {
        margin-bottom: 0.5rem;
    }

    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .footer-section a {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 0.8rem;
    }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 320px) {
    .logo {
        font-size: 1.1rem;
    }

    .logo-img {
        max-height: 35px;
    }

    .nav-links {
        font-size: 0.7rem;
        gap: 0.3rem;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .modal-content {
        padding: 1rem;
    }

    .about-text h3 {
        font-size: 1.1rem;
    }

    .about-features li {
        font-size: 0.8rem;
    }
}

/* Navigation Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a::after {
    content: "▼";
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    color: #667eea;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

/* Ecosystem section - Enhanced */
.ecosystem-section {
    background: #f8f9ff;
    color: #333;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    top: 0;
}

.ecosystem-section h2 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.ecosystem-card {
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border: 2px solid;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.ecosystem-card:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #5568d3 100%);
    border-color: #667eea;
    color: white;
}

.ecosystem-card:nth-child(2) {
    background: linear-gradient(135deg, #764ba2 0%, #6a3a8f 100%);
    border-color: #764ba2;
    color: white;
}

.ecosystem-card:nth-child(3) {
    background: linear-gradient(135deg, #ff6b6b 0%, #e64545 100%);
    border-color: #ff6b6b;
    color: white;
}

.ecosystem-card:nth-child(4) {
    background: linear-gradient(135deg, #f8b500 0%, #e5a200 100%);
    border-color: #f8b500;
    color: white;
}

.ecosystem-card:nth-child(5) {
    background: linear-gradient(135deg, #1dd1a1 0%, #10ac84 100%);
    border-color: #1dd1a1;
    color: white;
}

.ecosystem-card:nth-child(6) {
    background: linear-gradient(135deg, #5f27cd 0%, #4c20b4 100%);
    border-color: #5f27cd;
    color: white;
}

.ecosystem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.ecosystem-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.ecosystem-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.ecosystem-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Features showcase - Enhanced */
.features-showcase {
    background: linear-gradient(180deg, #f5f7ff 0%, #f0e6ff 50%, #e8d5ff 100%);
    padding: 4rem 2rem;
    position: relative;
}

.features-showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 25%, rgba(102, 126, 234, 0.03) 25%, rgba(102, 126, 234, 0.03) 50%, transparent 50%, transparent 75%, rgba(102, 126, 234, 0.03) 75%, rgba(102, 126, 234, 0.03)),
        linear-gradient(45deg, transparent 25%, rgba(102, 126, 234, 0.03) 25%, rgba(102, 126, 234, 0.03) 50%, transparent 50%, transparent 75%, rgba(102, 126, 234, 0.03) 75%, rgba(102, 126, 234, 0.03));
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    pointer-events: none;
}

.features-showcase > * {
    position: relative;
    z-index: 1;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 3rem auto;
}

.feature-row:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.feature-row:nth-child(even) .feature-content {
    order: 2;
}

.feature-row:nth-child(even) .feature-image {
    order: 1;
}

.feature-content h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #333;
    display: flex;
    align-items: center;
}

.feature-list li:before {
    content: "✓";
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.feature-image {
    text-align: center;
    font-size: 4rem;
}

/* Platform levels - Enhanced */
.platform-levels {
    background: linear-gradient(135deg, #e8d5ff 0%, #f5f0ff 50%, #667eea15 100%);
    padding: 4rem 2rem;
    position: relative;
}

.platform-levels::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.platform-levels > * {
    position: relative;
    z-index: 1;
}

.levels-container {
    max-width: 1100px;
    margin: -2rem auto;
}
.levels-container h2 {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: center;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.level-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.08);
}

.level-card:hover {
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.level-badge {
    display: none;
}

.level-card h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.level-card ul {
    list-style: none;
    padding: 0;
}

.level-card li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.level-card li:last-child {
    border-bottom: none;
}

/* Journey Timeline - Enhanced */
.journey-timeline-section {
    background: linear-gradient(180deg, #667eea10 0%, #764ba220 100%);
    padding: 4rem 2rem;
}

.cta-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin: 3rem auto;
    max-width: 800px;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.cta-gradient h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-gradient p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    background: white;
    color: #667eea;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}



/* article section buttons inherit primary flex layout and spacing */
#articles .article-buttons {
    margin-top: 2rem;
    justify-content: center;
}

#articles .article-buttons a {
    min-width: 140px;
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-block;

}

.cta-btns-buttons {
    display: flex;
    flex-direction: row;        /* Always row */
    justify-content: center;    /* Center horizontally */
    align-items: center;
    gap: 16px;                  /* Space between buttons */
    flex-wrap: wrap;            /* Allows wrap if screen too small */
    margin-top: 20px;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #2563eb;   /* Modern blue */
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 160px;
}
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #018328;   /* Modern blue */
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 160px;
}
/* Hover effect */
.cta-btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .cta-btn-primary {
        padding: 10px 18px;
        font-size: 14px;
        min-width: auto;
        flex: 1;               /* Makes them stretch evenly */
    }
}

/* slide-in animation for sections */
.slide-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.slide-section.visible {
    opacity: 1;
    transform: translateY(0);
}


.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.journey-timeline {
    max-width: 1000px;
    margin: 3rem auto;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.timeline-content h4 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #555;
    line-height: 1.6;
}

.feature-row-heading {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    margin-top: -3rem;
    text-align: center;
}
.feature-row-intro {
    text-align: center;
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.timeline-heading {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 1rem;
    text-align: center;
    margin-top: -2rem;
}

.journey-intro {
    text-align: center;
    margin-bottom: 1.52rem;
    font-size: 1.1rem;
    color: #606060; 
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr;
    }

    .feature-row:nth-child(even) .feature-content {
        order: unset;
    }

    .feature-row:nth-child(even) .feature-image {
        order: unset;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }

    .timeline-number {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }


    /* Mobile responsive for path section grids */
    .journey-timeline-section [style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .journey-timeline-section [style*="grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem"] {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    /* Adjust padding for path cards on mobile */
    .journey-timeline-section [style*="padding: 2rem"] {
        padding: 1.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .journey-timeline-section > div > div {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .journey-timeline-section h3 {
        font-size: 1.2rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .journey-timeline-section h4 {
        font-size: 0.95rem !important;
    }

    .journey-timeline-section p {
        font-size: 0.85rem !important;
        word-wrap: break-word !important;
    }

    .journey-timeline-section [style*="padding: 2rem; border-radius: 12px; color: white"] {
        padding: 1.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    /* Mobile responsive for features showcase grid */
    .features-showcase [style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Combine paths grid mobile */
    .features-showcase [style*="grid-template-columns: 1fr 1fr; gap: 2rem"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Path cards mobile adjustments */
    .features-showcase [style*="padding: 2rem; background: #f8f9ff"] {
        padding: 1.5rem !important;
    }

    .features-showcase h3 {
        font-size: 1.2rem !important;
    }

    .features-showcase .feature-list {
        font-size: 0.9rem !important;
    }
}

.premium-banner {
    text-decoration: none;
}

.topbar-center {
    font-weight: 600;
}

.nav-section-header {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.nav-section-spacer {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: 1rem;
}

.nav-subsection {
    padding-left: 1.5rem;
}

.ecosystem-section-p {
    font-size: 0.95rem;
}

/* Global selection styling */
::selection { background: #00c875; color: #001; }
::-moz-selection { background: #00c875; color: #001; }

/* Membership page selection - slightly darker green for contrast */
.membership-page ::selection { background: #0b9f6b; color: #ffffff; }
.membership-page ::-moz-selection { background: #0b9f6b; color: #ffffff; }

/* Newsletter Modal Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Prevent input zoom on focus for mobile */
input[type="email"],
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
    font-size: 16px !important;
}

/* About Us Brief Section - Mobile Responsive */
@media (max-width: 768px) {
    #about-brief {
        padding: 2rem 1rem !important;
    }

    #about-brief h2 {
        font-size: 1.6rem !important;
    }

    #about-brief > .container > p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    #about-brief [style*="grid-template-columns: 1fr 1fr 1fr"] {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-around !important;
        gap: 0.5rem !important;
        margin-top: 1.5rem !important;
        grid-template-columns: unset !important;
    }

    #about-brief [style*="padding: 1.5rem"] {
        padding: 0.75rem !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    #about-brief p[style*="font-size: 2rem"] {
        font-size: 1.4rem !important;
    }

    #about-brief p[style*="font-size: 0.95rem"] {
        font-size: 0.8rem !important;
    }
}

/* reusable overlay view (articles and courses) */
.article-view { display:none; position:fixed; top:0; left:0; width:100%; height:100%; overflow:auto; background:#fff; z-index:300; padding:2rem; }
.article-view.active { display:block; }

.article-back-button{display:inline-flex;align-items:center;gap:.5rem;background:none;border:1px solid #e0e0e0;color:#1a1a1a;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:600;transition:all .3s;}
.article-back-button:hover{background:#f5f5f5;border-color:#667eea;color:#667eea;transform:translateX(-4px);}


/* Membership Page Styles */
.membership-hero {
    background: linear-gradient(135deg, #667eea 0%, #0f172a 100%);
    color: #fff;
    padding: 1.5rem 1rem 2rem;
    text-align: center;
    border-radius: 16px;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}
.membership-hero h2 {
    font-size: 1.52rem;
    margin-bottom: 0.7rem;
}
.membership-hero .lead {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}
.membership-hero .muted {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.membership-features {
    margin-bottom: -3.5rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    background: #f8fafc;
    border-radius: 14px;
    padding: 2rem 1rem;
}
.feature {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(102,126,234,0.08);
    padding: 1.2rem 1rem;
    text-align: center;
    transition: box-shadow 0.2s;
}
.feature h3 {
    color: #667eea;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.feature p {
    color: #334155;
    font-size: 1rem;
    opacity: 0.95;
}

.membership-pricing {
    margin-bottom: 1.5rem;
    text-align: center;
    margin-top: -3rem;
}
.membership-pricing h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: #1e293b;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.pricing-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(102,126,234,0.10);
    padding: 2rem 1.2rem 1.5rem;
    text-align: left;
    position: relative;
    transition: box-shadow 0.2s;
}
.pricing-card.free {
    border: 2px solid #10b981;
}
.pricing-card.monthly {
    border: 2px solid #2563eb;
}
.pricing-card.semiannual {
    border: 2px solid #fbbf24;
}
.pricing-card h3 {
    font-size: 1.25rem;
    color: #334155;
    margin-bottom: 0.5rem;
}
.pricing-card .price {
    font-size: 2.1rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.5rem;
}
.pricing-card.free .price {
    color: #10b981;
}
.pricing-card.semiannual .price {
    color: #fbbf24;
}
.pricing-card .period {
    font-size: 1rem;
    color: #94a3b8;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.2rem;
}
.pricing-card ul li {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 0.4rem;
    padding-left: 1.2em;
    position: relative;
}
.pricing-card ul li:before {
    content: "✓";
    color: #10b981;
    position: absolute;
    left: 0;
    font-weight: bold;
}
.pricing-actions {
    margin-top: 1rem;
    text-align: center;
}
.btn.primary,
.menbership-btn {
    background: linear-gradient(90deg, #2563eb 0%, #667eea 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102,126,234,0.10);
    transition: background 0.2s;
}
.btn.primary:hover {
    background: linear-gradient(90deg, #667eea 0%, #2563eb 100%);
}
.menbership-btn {
    background: #264aeb;
    color: white;
}
.menbership-btn:hover {
    background: #667eea;
}
.btn {
    background: #e5e7eb;
    color: #334155;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: background 0.2s;
}
.btn:hover {
    background: #cbd5e1;
}
.muted {
    color: #018e06;
    font-size: 0.98rem;
    margin-top: 0.5rem;
}

.faq, .support {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem 1.2rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 10px rgba(102,126,234,0.06);
}
.faq h2, .support h2 {
    color: #2563eb;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}
.faq p, .support p {
    color: #334155;
    font-size: 1rem;
    opacity: 0.96;
}

@media (max-width: 900px) {
    .features-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .membership-hero {
        padding: 1.2rem 0.5rem 1.2rem;
        font-size: 1rem;
    }
    .features-grid, .pricing-grid {
        padding: 1rem 0.2rem;
        gap: 1.2rem;
    }
    .pricing-card {
        padding: 1.2rem 0.5rem 1rem;
    }
    .faq, .support {
        padding: 1rem 0.5rem;
    }
}

/* Broker Form Modern Styles */
.broker-section {
    background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(102,126,234,0.10);
    padding: 2.5rem 1.5rem;
    margin: 2.5rem auto;
    max-width: 1000px;
}
.broker-intro {
    text-align: center;
    margin-bottom: 2rem;
}
.broker-intro .section-title {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}
.broker-lead {
    color: #334155;
    font-size: 1.1rem;
    opacity: 0.95;
}
.broker-form {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(102,126,234,0.08);
    padding: 2rem 1.2rem 1.5rem;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group label {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 0.4rem;
    font-weight: 500;
}
.form-group input,
.form-group select {
    height: 2.5rem;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 0.8rem;
    background: #f8fafc;
    color: #334155;
    outline: none;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus {
    border-color: #2563eb;
}
.form-actions {
    text-align: center;
    margin-top: 1.2rem;
}
.btn-primary.request-btn {
    background: linear-gradient(90deg, #2563eb 0%, #667eea 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102,126,234,0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-primary.request-btn:hover {
    background: linear-gradient(90deg, #667eea 0%, #2563eb 100%);
    box-shadow: 0 4px 16px rgba(37,99,235,0.18);
    transform: translateY(-2px) scale(1.04);
}
.agreements label {
    font-size: 0.98rem;
    color: #64748b;
    margin-bottom: 0.3rem;
    font-weight: 400;
    display: flex;
    align-items: center;
}
.agreements input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #2563eb;
}
@media (max-width: 700px) {
    .broker-section {
        padding: 1.2rem 0.5rem;
        max-width: 100%;
        margin: 1.2rem 0.2rem;
    }
    .broker-form {
        padding: 1.2rem 0.5rem 1rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .form-group.full-width {
        grid-column: 1 / -1;
    }
    .btn-primary.request-btn {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }
}
