/* ==========================================================================
   CSS Variables (Design Tokens)
   ========================================================================== */
:root {
    /* Color Palette */
    --c-deep-navy: #0B1220;
    --c-dark-navy: #111827;
    --c-teal: #0F766E;
    --c-bright-teal: #14B8A6;
    --c-white: #FFFFFF;
    --c-soft-gray: #F5F7FA;
    --c-text-main: #334155;
    --c-text-gray: #64748B;
    
    /* Typography */
    --font-primary: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-arabic: 'Cairo', system-ui, -apple-system, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Shadows */
    --shadow-soft: 0 10px 40px -10px rgba(11, 18, 32, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(11, 18, 32, 0.05);
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--c-text-main);
    background-color: var(--c-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

/* Typography Scale */
h1, h2, h3, h4 {
    color: var(--c-deep-navy);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }

.highlight-text {
    color: var(--c-teal);
    position: relative;
    display: inline-block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Spacing */
.section-padding {
    padding: var(--space-xl) 0;
}

/* Backgrounds */
.bg-gray { background-color: var(--c-soft-gray); }
.bg-navy { background-color: var(--c-deep-navy); color: var(--c-white); }
.bg-navy h2, .bg-navy h3 { color: var(--c-white); }

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--c-teal), var(--c-bright-teal));
    color: var(--c-white);
    box-shadow: 0 4px 14px 0 rgba(15, 118, 110, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.45);
    color: var(--c-white);
}

.btn-secondary {
    background: transparent;
    color: var(--c-deep-navy);
    border: 1px solid rgba(11, 18, 32, 0.1);
}

.btn-secondary:hover {
    background: rgba(11, 18, 32, 0.03);
    border-color: rgba(11, 18, 32, 0.2);
}

.bg-navy .btn-secondary {
    color: var(--c-white);
    border-color: rgba(255, 255, 255, 0.2);
}

.bg-navy .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-small { padding: 0.6rem 1.25rem; font-size: 0.875rem; }
.btn-large { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-full { width: 100%; padding: 1rem; font-size: 1.125rem; }

/* Language Switch Button */
.lang-switch-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(15, 118, 110, 0.15);
    border-radius: 2rem;
    color: var(--c-deep-navy);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.lang-switch-btn:hover {
    border-color: var(--c-teal);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 168, 132, 0.1);
    color: var(--c-teal);
}

.lang-switch-btn img {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(15, 118, 110, 0.1);
    color: var(--c-teal);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.25rem 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11, 18, 32, 0.05);
    padding: 0.75rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-deep-navy);
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-text-main);
    position: relative;
}

.nav-link:hover {
    color: var(--c-teal);
}

.nav-link.active {
    color: var(--c-teal);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--c-deep-navy);
    position: absolute;
    transition: var(--transition-fast);
}

.mobile-menu-btn span:nth-child(1) { top: 4px; }
.mobile-menu-btn span:nth-child(2) { top: 11px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

.mobile-menu-btn.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: var(--space-xl);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(15,118,110,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-text-gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--c-deep-navy);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--c-text-gray);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-offer {
    background: var(--c-soft-gray);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2.5rem;
    display: inline-block;
}

.price-wrap {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin: 1rem 0 0.5rem;
}

.old-price {
    font-size: 1.25rem;
    color: var(--c-text-gray);
    text-decoration: line-through;
}

.new-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--c-deep-navy);
}

.save-badge {
    background: var(--c-teal);
    color: var(--c-white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.offer-note {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-teal);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-activation {
    font-size: 0.875rem;
    color: var(--c-text-gray);
}

/* Hero Visual (Interactive Demo) */
.email-demo {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.4);
}

.demo-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(11, 18, 32, 0.05);
    margin-bottom: 1.5rem;
}

.mac-dots {
    display: flex;
    gap: 6px;
}

.mac-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mac-dots span:nth-child(1) { background: #FF5F56; }
.mac-dots span:nth-child(2) { background: #FFBD2E; }
.mac-dots span:nth-child(3) { background: #27C93F; }

.demo-transition {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--c-white);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.demo-email {
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    transition: var(--transition-smooth);
}

.old-email {
    color: var(--c-text-gray);
    background: var(--c-soft-gray);
}

.new-email {
    color: var(--c-teal);
    background: rgba(15, 118, 110, 0.1);
    transform: scale(1.05);
}

.demo-arrow {
    color: var(--c-text-gray);
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.demo-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.demo-list-item {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--c-white);
    font-size: 0.875rem;
    color: var(--c-text-main);
    display: flex;
    align-items: center;
    opacity: 0.7;
}

.demo-list-item.active {
    opacity: 1;
    font-weight: 500;
    border-left: 3px solid var(--c-teal);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.demo-list-item::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--c-soft-gray);
    border-radius: 50%;
    margin-right: 0.75rem;
}

.demo-status {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--c-text-gray);
    border-top: 1px solid rgba(11, 18, 32, 0.05);
    padding-top: 1rem;
}

.demo-status span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.demo-status svg {
    color: var(--c-teal);
}

/* ==========================================================================
   Problem Section
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--c-text-gray);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.comparison-card {
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    background: var(--c-soft-gray);
}

.comparison-card.good {
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 168, 132, 0.08), inset 0 0 0 2px rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 168, 132, 0.15);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card.good::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

.comparison-card.good:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(0, 168, 132, 0.15), inset 0 0 0 2px rgba(255, 255, 255, 1);
}

.comp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.bad .comp-icon { background: rgba(100, 116, 139, 0.1); }
.good .comp-icon { 
    background: linear-gradient(135deg, #00a884, #007a5f);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 168, 132, 0.4), 0 0 0 6px rgba(0, 168, 132, 0.1);
    position: relative;
    z-index: 1;
}

.good .comp-icon svg { stroke: #ffffff; }

.comp-email {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bad .comp-email { color: var(--c-text-gray); }

.good .comp-email { 
    color: #0f172a; 
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.good .comp-email::after {
    content: '';
    display: inline-block;
    width: 24px; height: 24px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%2300a884" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat center;
    background-size: contain;
}

.comp-label {
    font-size: 0.875rem;
    color: var(--c-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.good .comp-label { 
    color: #007a5f;
    font-size: 0.75rem;
    font-weight: 800;
    background: rgba(0, 168, 132, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
}

.problem-footer {
    text-align: center;
    color: var(--c-text-gray);
    font-weight: 500;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--c-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.b-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-soft-gray);
    color: var(--c-deep-navy);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.benefit-card p {
    color: var(--c-text-gray);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.b-example {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(15, 118, 110, 0.1);
    color: var(--c-teal);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.b-devices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.b-devices span {
    font-size: 0.875rem;
    color: var(--c-text-main);
    background: var(--c-soft-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

/* ==========================================================================
   Interactive Builder
   ========================================================================== */
.builder-container {
    max-width: 800px;
    text-align: center;
}

.builder-content h2 {
    margin-bottom: 3rem;
}

.builder-tool {
    padding: 3rem;
    background: var(--c-soft-gray); /* Fallback */
}

.input-group {
    margin-bottom: 2rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--c-text-gray);
}

.input-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    border: 2px solid rgba(11, 18, 32, 0.1);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-fast);
    font-family: inherit;
}

.input-group input:focus {
    border-color: var(--c-teal);
    background: var(--c-white);
}

.builder-result {
    background: var(--c-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.dept-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dept-selector button {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(11, 18, 32, 0.1);
    background: transparent;
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.dept-selector button:hover {
    background: var(--c-soft-gray);
}

.dept-selector button.active {
    background: var(--c-deep-navy);
    color: var(--c-white);
    border-color: var(--c-deep-navy);
}

.generated-email {
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-teal);
    word-break: break-all;
    transition: var(--transition-fast);
}

/* ==========================================================================
   What's Included
   ========================================================================== */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.check-group h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(11, 18, 32, 0.05);
}

.check-group ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-group li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--c-text-main);
}

.check-group svg {
    width: 20px;
    height: 20px;
    color: var(--c-teal);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--c-deep-navy);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 8px rgba(11, 18, 32, 0.05);
}

.step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.875rem;
    color: var(--c-text-gray);
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(11, 18, 32, 0.1);
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.steps-footer {
    text-align: center;
    margin-top: 4rem;
    font-weight: 500;
    color: var(--c-teal);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.pricing-card {
    padding: 3rem 2.5rem;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    border-radius: var(--radius-lg);
}

.pricing-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.pricing-card.premium {
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: var(--c-bright-teal);
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.2);
    padding: 4rem 2.5rem;
}

.pricing-card.premium .popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-bright-teal);
    color: var(--c-deep-navy);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(20, 184, 166, 0.4);
    z-index: 2;
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-soft-gray);
    color: var(--c-deep-navy);
    padding: 0.5rem 1rem;
}

.pricing-card.premium .premium-badge {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    display: inline-block;
    margin-bottom: 1.5rem;
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.pricing-card.premium .premium-label {
    background: #FFD700;
    color: var(--c-deep-navy);
}

.pricing-card.premium .premium-btn {
    background: linear-gradient(135deg, #14B8A6, #0EA5E9);
    border: none;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.pricing-card.premium .premium-btn:hover {
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.6);
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-display {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--c-white);
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-right: 0.25rem;
}

.amount {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.period {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.6);
    align-self: flex-end;
    margin-bottom: 1rem;
    margin-left: 0.25rem;
}

.price-subtext {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.discount-label {
    background: rgba(255,255,255,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-weight: 600;
    color: var(--c-bright-teal);
}

.price-desc {
    color: rgba(255,255,255,0.7);
}

.pricing-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.9375rem;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--c-bright-teal);
    flex-shrink: 0;
}

.secondary-offer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(255,255,255,0.2);
    font-size: 0.9375rem;
}

.secondary-offer strong {
    color: var(--c-bright-teal);
    display: block;
    margin-top: 0.25rem;
}

/* ==========================================================================
   Trust Section
   ========================================================================== */
.text-center { text-align: center; }

.trust h2 {
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.trust-indicators span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-text-main);
    max-width: 150px;
}

.trust-indicators svg {
    width: 32px;
    height: 32px;
    color: var(--c-teal);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
    max-width: 800px;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--c-white);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--c-deep-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--c-teal);
    transition: transform 0.3s ease;
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    color: var(--c-text-gray);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15,118,110,0.15) 0%, rgba(11,18,32,1) 100%);
    z-index: 1;
}

.final-cta .container {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.final-cta p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
}

.final-offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.final-offer .old-price { color: rgba(255,255,255,0.5); }
.final-offer .new-price { color: var(--c-white); font-size: 2rem; }
.final-offer .domain-free { color: var(--c-bright-teal); font-weight: 600; }

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

/* ==========================================================================
   WhatsApp Button
   ========================================================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

/* ==========================================================================
   Light Theme Pricing Card
   ========================================================================== */
.light-card {
    background: #F8FAFC;
    border: none;
}

.light-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.light-card .light-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #E0F2FE;
    color: #0369A1;
    font-weight: 700;
}

.pricing-header-light {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-cols {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-col {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 1.2;
}

.price-col.old .strikethrough {
    color: #94A3B8;
    text-decoration: line-through;
    font-size: 1.125rem;
    font-weight: 500;
}

.price-col.main {
    color: #0F172A;
}

.price-col.main .main-number {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
}

.price-col.main .main-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.price-col.save .save-box {
    background: #0F766E;
    color: white;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.2;
    box-shadow: 0 4px 10px rgba(15, 118, 110, 0.3);
}

.free-domain-text {
    color: #0F766E;
    font-weight: 600;
    font-size: 0.9375rem;
}

.dark-features li {
    color: #334155 !important;
}

.dark-features svg {
    color: #0F766E !important;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }

    .pricing-features {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .price-cols {
        gap: 0.5rem;
    }

    .price-col.main .main-number {
        font-size: 3rem;
    }

    .price-col.main .main-text {
        font-size: 1rem;
    }

    .price-col.old .strikethrough {
        font-size: 0.9rem;
    }

    .price-col.save .save-box {
        font-size: 0.8rem;
        padding: 0.5rem 0.4rem;
    }
}

@media (max-width: 768px) {
    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem !important; /* Override inline styles if needed */
    }

    .header-actions .btn {
        display: none;
    }

    .lang-switch-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }
    
    .lang-switch-btn span {
        display: none; /* Hide text on mobile to keep header clean, just show flag */
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--c-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-soft);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition-smooth);
    }

    .nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .step-line {
        display: none;
    }

    .amount {
        font-size: 4rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .builder-tool {
        padding: 1rem;
    }

    .generated-email {
        font-size: 1.25rem;
    }
    
    .generated-email-wrapper {
        padding: 1.5rem 0.5rem;
        margin-top: 1.5rem;
    }
}

/* --- New Added Styles --- */

.generated-email-wrapper {
    background: #ffffff;
    border: 1px solid rgba(0, 168, 132, 0.15);
    border-radius: 1.5rem;
    padding: 3rem 1rem;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 168, 132, 0.08), inset 0 0 0 2px rgba(255, 255, 255, 1);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.generated-email-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.generated-email-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(0, 168, 132, 0.15), inset 0 0 0 2px rgba(255, 255, 255, 1);
}

.trusted-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #00a884, #007a5f);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 168, 132, 0.4), 0 0 0 6px rgba(0, 168, 132, 0.1);
    position: relative;
    z-index: 1;
}

.generated-email {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.generated-email::after {
    content: '';
    display: inline-block;
    width: 24px; height: 24px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%2300a884" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat center;
    background-size: contain;
}

.trusted-label {
    margin-top: 1.2rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #007a5f;
    text-transform: uppercase;
    background: rgba(0, 168, 132, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    position: relative;
    z-index: 1;
}

.mobile-bottom-nav {
    display: none;
}

.header {
    transition: transform 0.3s ease, background 0.3s ease;
}

.header.hide-up {
    transform: translateY(-100%);
}

@media (max-width: 768px) {
    .pricing-card.premium .price-display .amount { font-size: 3rem; }
    .pricing-card { padding: 2rem 1.5rem; }
    
    /* Stack light card pricing columns vertically */
    .price-cols {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .price-col.main .main-number { font-size: 3.5rem; }

    body {
        padding-bottom: 5rem;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        justify-content: space-around;
        align-items: center;
        padding: 0.6rem 0 calc(0.6rem + env(safe-area-inset-bottom, 0px));
        z-index: 1000;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        color: #64748b;
        font-size: 0.7rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .bottom-nav-item svg {
        transition: transform 0.2s ease;
    }

    .bottom-nav-item.active {
        color: var(--primary);
    }
    
    .bottom-nav-item.active svg {
        transform: scale(1.1);
    }

    /* Stack premium subtext and make it full width */
    .pricing-card.premium .price-subtext {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .pricing-card.premium .price-subtext .premium-label {
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-card.premium .price-subtext span:last-child {
        width: 100%;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        padding: 0.5rem;
        border-radius: 2rem;
        box-sizing: border-box;
    }

    /* Move WhatsApp button above bottom nav bar */
    .whatsapp-btn {
        bottom: 80px; /* Safe space above the bottom navigation bar */
    }

    /* Stack generated email vertically on mobile */
    .generated-email {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.1;
        word-break: break-word;
    }
    
    .e-part.at-symbol {
        color: var(--primary);
        opacity: 0.5;
        font-size: 1.2rem;
        margin: 0.2rem 0;
    }
}

/* --- RTL Arabic Support --- */
[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6, [dir="rtl"] .logo {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .logo {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .header-actions {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .nav {
    margin-left: 2rem;
    margin-right: auto;
}

[dir="rtl"] .hero-ctas .btn {
    margin-right: 0;
    margin-left: 1rem;
}
[dir="rtl"] .hero-ctas .btn:last-child {
    margin-left: 0;
}

[dir="rtl"] .b-icon, [dir="rtl"] .step-num, [dir="rtl"] .accordion-item .icon {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .accordion-header {
    text-align: right;
}

[dir="rtl"] .accordion-item .icon {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .btn svg {
    margin-left: 0;
    margin-right: 0.5rem;
    transform: scaleX(-1);
}

[dir="rtl"] .checklist-grid ul li svg,
[dir="rtl"] .pricing-features li svg {
    margin-right: 0;
    margin-left: 0.75rem;
}

@media (max-width: 768px) {
    [dir="rtl"] .nav {
        margin-right: 0;
        margin-left: 0;
    }
}
