/* ========================================
   IMarketingOS Starter — Theme CSS
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #7c3aed;
    --accent: #10b981;
    --accent-dark: #059669;
    --dark: #0f172a;
    --dark-surface: #1e293b;
    --surface: #f8fafc;
    --surface-alt: #f1f5f9;
    --text: #0f172a;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --border: #e2e8f0;
    --orange: #f59e0b;
    --pink: #ec4899;
    --teal: #14b8a6;
    --indigo: #6366f1;
    --cyan: #06b6d4;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
    --transition: .3s cubic-bezier(.4,0,.2,1);
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-ar);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

[dir="ltr"] body { font-family: var(--font-en); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}
@keyframes pulse {
    0%, 100% { opacity: .6; }
    50% { opacity: 1; }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(.9); }
    to { opacity: 1; transform: scale(1); }
}

[data-observe] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s var(--transition), transform .6s var(--transition);
}
[data-observe].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.features-grid [data-observe]:nth-child(2) { transition-delay: .1s; }
.features-grid [data-observe]:nth-child(3) { transition-delay: .15s; }
.features-grid [data-observe]:nth-child(4) { transition-delay: .2s; }
.features-grid [data-observe]:nth-child(5) { transition-delay: .25s; }
.features-grid [data-observe]:nth-child(6) { transition-delay: .3s; }
.features-grid [data-observe]:nth-child(7) { transition-delay: .35s; }
.features-grid [data-observe]:nth-child(8) { transition-delay: .4s; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    font-family: inherit;
}
.btn-sm { padding: 8px 20px; font-size: .875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.125rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,99,235,.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--surface);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    padding: 10px 0;
}
.navbar.scrolled .logo-text,
.navbar.scrolled .nav-links a { color: var(--text); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }
.navbar.scrolled .hamburger span { background: var(--text); }

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    transition: color var(--transition);
}
.navbar.scrolled .lang-switch {
    color: var(--primary);
    border-color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    color: rgba(255,255,255,.85);
    font-weight: 500;
    font-size: .95rem;
    transition: color var(--transition);
    position: relative;
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    inset-inline-start: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.4);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-en);
}
.lang-switch:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a4e 50%, var(--dark) 100%);
    z-index: 0;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(37,99,235,.25) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(124,58,237,.2) 0%, transparent 50%);
}
.floating-shapes { position: absolute; inset: 0; overflow: hidden; }
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: .08;
}
.shape-1 {
    width: 400px; height: 400px;
    background: var(--primary);
    top: -100px; inset-inline-end: -100px;
    animation: float 8s ease-in-out infinite;
}
.shape-2 {
    width: 300px; height: 300px;
    background: var(--secondary);
    bottom: -50px; inset-inline-start: -50px;
    animation: float2 10s ease-in-out infinite;
}
.shape-3 {
    width: 200px; height: 200px;
    background: var(--accent);
    top: 40%; inset-inline-start: 20%;
    animation: float 12s ease-in-out infinite;
}
.shape-4 {
    width: 150px; height: 150px;
    background: var(--primary-light);
    bottom: 30%; inset-inline-end: 15%;
    animation: float2 9s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text { animation: fadeInUp .8s ease-out; }
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
}
.hero-title-line { display: block; }
.hero-title-line.highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,.7);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-visual {
    animation: slideInRight .8s ease-out .3s backwards;
}

/* Dashboard Mockup */
.mockup-window {
    background: var(--dark-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,.4);
    border: 1px solid rgba(255,255,255,.1);
}
.mockup-header {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0,0,0,.3);
}
.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.mockup-body {
    display: flex;
    min-height: 280px;
}
.mockup-sidebar {
    width: 60px;
    background: rgba(0,0,0,.2);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mockup-nav-item {
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,.1);
}
.mockup-nav-item.active { background: var(--primary); }

.mockup-content {
    flex: 1;
    padding: 20px;
}
.mockup-stat-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.mockup-stat {
    flex: 1;
    height: 50px;
    border-radius: 8px;
    opacity: .8;
}
.mockup-stat.blue { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.mockup-stat.green { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.mockup-stat.purple { background: linear-gradient(135deg, var(--secondary), #9333ea); }

.mockup-chart {
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(37,99,235,.15), rgba(124,58,237,.1));
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,.05);
}
.mockup-table { display: flex; flex-direction: column; gap: 8px; }
.mockup-row {
    height: 16px;
    border-radius: 4px;
    background: rgba(255,255,255,.06);
}
.mockup-row:nth-child(2) { width: 85%; }
.mockup-row:nth-child(3) { width: 70%; }

/* --- Stats Bar --- */
.stats-bar {
    background: var(--white);
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    display: inline;
    font-family: var(--font-en);
}
.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: .95rem;
    margin-top: 4px;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
}
.section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-inline: auto;
}

/* --- Features --- */
.features {
    padding: 100px 0;
    background: var(--surface);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform var(--transition);
}
.feature-card:hover .feature-icon { transform: scale(1.1); }

.feature-icon.green { background: rgba(16,185,129,.1); color: var(--accent); }
.feature-icon.blue { background: rgba(37,99,235,.1); color: var(--primary); }
.feature-icon.purple { background: rgba(124,58,237,.1); color: var(--secondary); }
.feature-icon.orange { background: rgba(245,158,11,.1); color: var(--orange); }
.feature-icon.teal { background: rgba(20,184,166,.1); color: var(--teal); }
.feature-icon.pink { background: rgba(236,72,153,.1); color: var(--pink); }
.feature-icon.indigo { background: rgba(99,102,241,.1); color: var(--indigo); }
.feature-icon.cyan { background: rgba(6,182,212,.1); color: var(--cyan); }

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}
.feature-card p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- How It Works --- */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
}
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 32px 24px;
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-en);
}
.step-icon {
    color: var(--primary);
    margin-bottom: 16px;
}
.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.step-card p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.step-connector {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-bottom: 60px;
}
[dir="rtl"] .step-connector svg { transform: scaleX(-1); }

/* --- Pricing --- */
.pricing {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a4e 100%);
}
.pricing .section-header h2 { color: var(--white); }
.pricing .section-header p { color: rgba(255,255,255,.6); }

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,.3);
}
.pricing-badge {
    position: absolute;
    top: 20px;
    inset-inline-end: -32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 6px 40px;
    font-size: .8rem;
    font-weight: 700;
    transform: rotate(45deg);
}
[dir="rtl"] .pricing-badge { transform: rotate(-45deg); }

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}
.pricing-header h3 {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 16px;
}
.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}
.price {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
    font-family: var(--font-en);
}
.price-meta {
    display: flex;
    flex-direction: column;
}
.currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}
.period {
    font-size: .9rem;
    color: var(--text-secondary);
}

.pricing-features {
    margin-bottom: 32px;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: .95rem;
    color: var(--text);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { flex-shrink: 0; }

/* --- Benefits --- */
.benefits {
    padding: 100px 0;
    background: var(--surface);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.benefit-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.benefit-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37,99,235,.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.benefit-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.benefit-item p {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- FAQ --- */
.faq {
    padding: 100px 0;
    background: var(--white);
}
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition);
}
.faq-item:hover { border-color: var(--primary); }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-md); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    font-family: inherit;
    text-align: start;
}
.faq-arrow {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--text-secondary);
}
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
}
.faq-item.active .faq-answer {
    max-height: 200px;
}
.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: .95rem;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
}
.cta-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}
.cta-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 36px;
    max-width: 600px;
    margin-inline: auto;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}
.cta-contact {
    color: rgba(255,255,255,.7);
    font-size: .95rem;
}
.cta-contact a {
    color: var(--white);
    font-weight: 500;
}
.cta-contact a:hover { text-decoration: underline; }
.cta-contact .separator { margin-inline: 16px; }

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: var(--white); }
.footer-desc { font-size: .9rem; line-height: 1.8; max-width: 320px; }

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-links a,
.footer-contact a {
    display: block;
    padding: 6px 0;
    font-size: .9rem;
    transition: color var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    text-align: center;
    font-size: .85rem;
}
.footer-bottom a { color: var(--primary-light); font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom .separator { margin-inline: 12px; }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-inline: auto; }
    .hero-cta { justify-content: center; }
    .hero-visual { max-width: 500px; margin-inline: auto; }
    .step-connector { display: none; }
    .steps-grid { flex-direction: column; gap: 16px; }
    .step-card { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        inset-inline-end: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,.1);
        z-index: 999;
    }
    [dir="rtl"] .nav-links { transform: translateX(-100%); }
    .nav-links.open { transform: translateX(0) !important; }
    .nav-links a {
        color: var(--text);
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        font-size: 1.05rem;
    }
    .nav-links a::after { display: none; }
    .hamburger { display: flex; }
    .nav-actions .btn { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .features-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
    .benefits-grid { grid-template-columns: 1fr; }
    .pricing-card { padding: 36px 24px; }
    .price { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
}

@media (max-width: 480px) {
    .container { padding-inline: 16px; }
    .hero { padding-top: 60px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2rem; }
    .section-header h2 { font-size: 1.5rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
}
