/* ==========================================
   1. GLOBAL RESET & DESIGN VARIABLES
========================================== */
:root {
    --primary-emerald: #064e3b;
    --emerald-dark: #022c22;
    --emerald-light: #ecfdf5;
    --primary-gold: #d97706;
    --gold-hover: #b45309;
    --gold-light: #fef3c7;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ==========================================
   2. ANNOUNCEMENT BAR
========================================== */
.announcement-bar {
    background-color: var(--emerald-dark);
    color: #fde68a;
    font-size: 0.813rem;
    padding: 0.5rem 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #34d399;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* ==========================================
   3. HEADER & NAVIGATION
========================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-emerald), var(--emerald-dark));
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--emerald-dark);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.desktop-nav {
    display: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-gold);
}

.header-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    border-top: 1px solid var(--border-color);
    background-color: var(--white);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
}

.mobile-nav.hidden {
    display: none;
}

.mobile-link {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-cta-group {
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .desktop-nav, .header-actions { display: flex; }
    .mobile-toggle, .mobile-nav { display: none !important; }
}

/* ==========================================
   4. BUTTONS & BADGES
========================================== */
.btn-primary {
    background-color: var(--primary-gold);
    color: #000000;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.25);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
}

.btn-whatsapp {
    color: var(--primary-emerald);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp-outline {
    background-color: var(--emerald-light);
    color: var(--primary-emerald);
    border: 1px solid #a7f3d0;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-full { width: 100%; text-align: center; }
.btn-lg { padding: 1rem 2rem; border-radius: 12px; font-size: 1rem; }

/* ==========================================
   5. HERO SECTION
========================================== */
.hero-section {
    position: relative;
    padding: 2rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, rgba(236, 253, 245, 0.4) 50%, #f8fafc 100%);
}

.glow {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
    z-index: 0;
}

.glow-amber { top: 0; right: 0; background-color: rgba(253, 230, 138, 0.4); }
.glow-emerald { bottom: 0; left: 0; background-color: rgba(167, 243, 208, 0.4); }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-section { padding: 4rem 0 6rem; }
    .hero-grid { grid-template-columns: 7fr 5fr; gap: 2rem; }
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) { .hero-content { text-align: left; } }

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--emerald-light);
    border: 1px solid #a7f3d0;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-emerald);
    width: fit-content;
    margin: 0 auto;
}

@media (min-width: 1024px) { .badge-pill { margin: 0; } }

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #059669;
    border-radius: 50%;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-main);
}

@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.5rem; } }

.text-gradient {
    background: linear-gradient(90deg, #064e3b, #047857, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 1024px) { .hero-subtitle { margin: 0; font-size: 1.125rem; } }

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-group { flex-direction: row; justify-content: center; }
}

@media (min-width: 1024px) { .cta-group { justify-content: flex-start; } }

.trust-grid {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

.trust-card {
    background-color: var(--white);
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.trust-card-full { grid-column: span 2; }
@media (min-width: 640px) { .trust-card-full { grid-column: span 1; } }

.trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bg-emerald-light { background-color: var(--emerald-light); }
.text-emerald { color: var(--primary-emerald); }
.bg-amber-light { background-color: var(--gold-light); }
.text-amber { color: var(--primary-gold); }
.bg-blue-light { background-color: #dbeafe; }
.text-blue { color: #1d4ed8; }

.trust-title { font-size: 0.75rem; font-weight: 700; color: var(--text-main); }
.trust-sub { font-size: 0.688rem; color: var(--text-muted); }

/* ==========================================
   6. HERO VISUAL & FLOATING BADGES
========================================== */
.hero-visual { display: flex; justify-content: center; }

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.card-demo {
    background: linear-gradient(135deg, var(--primary-emerald), var(--emerald-dark));
    border-radius: 24px;
    padding: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    border: 1px solid #065f46;
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(6, 95, 70, 0.8);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.dots { display: flex; gap: 0.5rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background-color: #f87171; }
.dot-amber { background-color: #fbbf24; }
.dot-emerald { background-color: #34d399; }

.demo-tag {
    font-size: 0.7rem;
    font-family: monospace;
    background-color: rgba(2, 44, 34, 0.6);
    color: #6ee7b7;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(4, 120, 87, 0.5);
}

.demo-body { display: flex; flex-direction: column; gap: 1rem; }

.demo-row {
    background-color: rgba(6, 95, 70, 0.4);
    border: 1px solid rgba(4, 120, 87, 0.5);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.demo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--primary-gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.demo-row h3 { font-size: 0.9rem; font-weight: 700; }
.demo-row p { font-size: 0.75rem; color: #a7f3d0; }

.arabic-box {
    background-color: rgba(2, 44, 34, 0.8);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.arabic-text {
    font-size: 1.5rem;
    font-family: 'Amiri', serif;
    color: #fde68a;
    margin-bottom: 0.25rem;
}

.arabic-sub { font-size: 0.7rem; color: #a7f3d0; font-style: italic; }

.progress-box {
    background-color: rgba(6, 95, 70, 0.3);
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #a7f3d0;
}

.progress-val { color: #fbbf24; font-weight: 700; }

.float-badge {
    position: absolute;
    background-color: var(--white);
    color: var(--text-main);
    padding: 0.75rem 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
}

.float-badge-top { top: -15px; left: -15px; }
.float-badge-bottom { bottom: -15px; right: -15px; }

@media (max-width: 480px) {
    .float-badge-top { top: -10px; left: 5px; padding: 0.5rem 0.75rem; }
    .float-badge-bottom { bottom: -10px; right: 5px; padding: 0.5rem 0.75rem; }
}

.star-icon { color: var(--primary-gold); font-size: 1.25rem; }
.globe-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--emerald-light);
    color: var(--primary-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-score { font-size: 0.875rem; font-weight: 800; line-height: 1; }
.badge-sub { font-size: 0.688rem; color: var(--text-muted); margin-top: 2px; }

/* ==========================================
   7. COURSES SECTION STYLES
========================================== */
.courses-section {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
}

@media (min-width: 640px) { .section-title { font-size: 2.5rem; } }

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .courses-grid { grid-template-columns: repeat(3, 1fr); }
}

.course-card {
    background-color: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: #cbd5e1;
}

.featured-card {
    border: 2px solid var(--primary-gold);
    box-shadow: 0 10px 25px -5px rgba(217, 119, 6, 0.15);
}

.card-popular-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--primary-gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    z-index: 2;
    letter-spacing: 0.05em;
}

.course-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
}

.bg-emerald { background: linear-gradient(135deg, var(--primary-emerald), var(--emerald-dark)); }
.bg-gold { background: linear-gradient(135deg, var(--primary-gold), var(--gold-hover)); }

.course-badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.course-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.course-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.course-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-features li i {
    color: #059669;
}

.course-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.course-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-card {
    background-color: var(--emerald-light);
    color: var(--primary-emerald);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-card:hover {
    background-color: var(--primary-emerald);
    color: var(--white);
}

.btn-card-gold {
    background-color: var(--gold-light);
    color: var(--primary-gold);
}

.btn-card-gold:hover {
    background-color: var(--primary-gold);
    color: var(--white);
}

.courses-cta-box {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--emerald-dark), var(--primary-emerald));
    border-radius: 24px;
    padding: 2.5rem 2rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .courses-cta-box {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cta-box-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-box-content p {
    font-size: 0.95rem;
    color: #a7f3d0;
}

/* ==========================================
   SECTION 3: PRICING & PACKAGES CSS
========================================== */

.pricing-section {
    padding: 90px 0;
    background-color: #f8fafc;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
}

/* Price Card Base */
.price-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Popular Card Styling */
.popular-price-card {
    border: 2px solid #f59e0b;
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.12);
}

.popular-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
}

/* Hifz Special Card Styling */
.hifz-card {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #1e293b;
}

/* Price Header */
.price-header {
    padding: 30px 25px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.price-header-gold {
    background: #fffbeb;
    border-bottom: 1px solid #fef3c7;
}

.price-header-dark {
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 6px;
}

.plan-desc {
    font-size: 13px;
    color: #64748b;
    min-height: 36px;
    margin-bottom: 15px;
}

/* Price Box */
.price-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 15px;
}

.price-box .amount {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.price-box .currency {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
}

.price-box .period {
    font-size: 13px;
    color: #64748b;
    margin-left: 4px;
}

/* Family Discount Tags */
.family-discount-tag {
    font-size: 12px;
    background: #f1f5f9;
    color: #334155;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.family-discount-tag i {
    color: #0d9488;
}

.tag-gold {
    background: #fef3c7;
    color: #92400e;
}

.tag-dark {
    background: #334155;
    color: #e2e8f0;
}

/* Price Body Features */
.price-body {
    padding: 25px;
    flex-grow: 1;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plan-features li {
    font-size: 14px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: #0d9488;
    font-size: 14px;
    flex-shrink: 0;
}

.plan-features li.disabled {
    color: #94a3b8;
    text-decoration: line-through;
}

.plan-features li.disabled i {
    color: #cbd5e1;
}

.hifz-card .plan-features li {
    color: #cbd5e1;
}

/* Price Footer Buttons */
.price-footer {
    padding: 20px 25px 30px;
    margin-top: auto;
}

.btn-price-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid #0d9488;
    color: #0d9488;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-price-outline:hover {
    background: #0d9488;
    color: #ffffff;
}

/* Guarantee / Feature Bar at bottom */
.pricing-guarantee-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 60px;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.guarantee-item i {
    font-size: 24px;
    color: #0d9488;
    background: #ccfbf1;
    padding: 12px;
    border-radius: 12px;
    flex-shrink: 0;
}

.guarantee-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.guarantee-item p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* Text utility helpers for dark card */
.text-white { color: #ffffff !important; }
.text-light { color: #94a3b8 !important; }
.text-gold { color: #f59e0b !important; }

/* ==========================================
   SECTION 4: WHY CHOOSE US / FEATURES CSS
========================================== */

.features-section {
    padding: 90px 0;
    background-color: #ffffff;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 35px 30px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

/* Feature Icons */
.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.icon-emerald {
    background: #ccfbf1;
    color: #0d9488;
}

.icon-gold {
    background: #fef3c7;
    color: #d97706;
}

/* Feature Content */
.feature-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Stats / Counter Banner */
.stats-banner {
    margin-top: 70px;
    background: #0f172a;
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 38px;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #334155;
}

/* Responsive adjustment for stats */
@media (max-width: 768px) {
    .stat-divider {
        display: none;
    }
}

/* ==========================================
   SECTION 5: HOW IT WORKS CSS
========================================== */

.how-it-works-section {
    padding: 90px 0;
    background-color: #f8fafc;
    position: relative;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.featured-step {
    border: 2px solid #f59e0b;
    background: #fffbeb;
}

/* Step Badge */
.step-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
    padding: 5px 12px;
    border-radius: 20px;
}

.badge-gold {
    background: #fef3c7;
    color: #d97706;
}

/* Step Icon */
.step-icon {
    width: 65px;
    height: 65px;
    background: #ccfbf1;
    color: #0d9488;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 25px;
}

.step-icon.icon-gold {
    background: #fef3c7;
    color: #d97706;
}

/* Step Content */
.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Day-by-Day Breakdown Banner */
.trial-days-breakdown {
    margin-top: 60px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.breakdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.breakdown-header i {
    font-size: 24px;
}

.breakdown-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* Days Grid inside breakdown */
.days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.day-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.day-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.day-number {
    font-size: 12px;
    font-weight: 800;
    background: #0f172a;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.day-tag {
    font-size: 12px;
    font-weight: 600;
    color: #0d9488;
    background: #ccfbf1;
    padding: 3px 10px;
    border-radius: 6px;
}

.day-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.day-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================
   SECTION 6: FOOTER & FLOATING BUTTON CSS
========================================== */

.main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

/* Brand Column */
.brand-col {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo i {
    color: #0d9488;
    font-size: 24px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #94a3b8;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: #1e293b;
    color: #cbd5e1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #0d9488;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Footer Headings & Links */
.footer-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #0d9488;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links li a i {
    font-size: 10px;
    color: #0d9488;
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* Contact Info in Footer */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #94a3b8;
}

.info-item i {
    color: #0d9488;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
    color: #64748b;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #94a3b8;
}

.usdt-badge {
    color: #f59e0b;
    font-weight: 600;
}

.payment-methods i {
    margin-right: 5px;
}

/* ==========================================
   FLOATING WHATSAPP BUTTON CSS
========================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Tooltip on hover */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #0f172a;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* Pulse Animation Effect */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.6;
    z-index: -1;
    animation: whatsapp-pulse-anim 2s infinite ease-out;
}

@keyframes whatsapp-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}