/* ===================================
   WeSell Landing Page - Styles
   Bilingual (EN/AR) with RTL Support
   =================================== */

/* === CSS Variables === */
:root {
    /* Colors */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --secondary-dark: #059669;
    --accent: #F59E0B;
    --dark: #1F2937;
    --dark-light: #374151;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --light: #F9FAFB;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);

    /* Typography */
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ar: 'Cairo', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 6rem;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: var(--font-en);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Arabic font */
[data-lang="ar"] body {
    font-family: var(--font-ar);
}

/* Language visibility */
.ar { display: none; }
.en { display: inline; }

[data-lang="ar"] .ar { display: inline; }
[data-lang="ar"] .en { display: none; }

/* RTL adjustments */
[dir="rtl"] {
    text-align: right;
}

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

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

ul {
    list-style: none;
}

/* === Container === */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section__description {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin-inline: auto;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn--white {
    background: var(--white);
    color: var(--primary);
}

.btn--white:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.btn--block {
    display: flex;
    width: 100%;
}

/* === Header / Navigation === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

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

.nav__logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-weight: 500;
    color: var(--dark-light);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

[dir="rtl"] .nav__link::after {
    left: auto;
    right: 0;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--light);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.lang-toggle:hover {
    background: var(--primary);
    color: var(--white);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all var(--transition-fast);
}

/* Mobile menu */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-normal);
    }

    [dir="rtl"] .nav__menu {
        right: auto;
        left: -100%;
    }

    .nav__menu.active {
        right: 0;
    }

    [dir="rtl"] .nav__menu.active {
        right: auto;
        left: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__actions .btn {
        display: none;
    }
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.hero__blob--1 {
    width: 500px;
    height: 500px;
    background: var(--primary-light);
    top: -10%;
    right: -10%;
}

.hero__blob--2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -10%;
    left: -10%;
    animation-delay: -4s;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero__features {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--dark-light);
}

.hero__features svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
    flex-shrink: 0;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero Visual / Mockup */
.hero__visual {
    position: relative;
}

.hero__image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero__shapes {
    position: absolute;
    inset: -50px;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.shape--circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    top: 10%;
    right: 10%;
}

.shape--square {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: var(--radius-sm);
    bottom: 20%;
    left: 5%;
    animation-delay: -2s;
    transform: rotate(45deg);
}

.shape--triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid var(--accent);
    top: 60%;
    right: 5%;
    animation-delay: -4s;
}

.shape--dots {
    width: 80px;
    height: 80px;
    background-image: radial-gradient(var(--primary) 2px, transparent 2px);
    background-size: 10px 10px;
    bottom: 10%;
    right: 20%;
}

.hero__mockup {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mockup__header {
    display: flex;
    gap: 6px;
    padding: 1rem;
    background: var(--light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mockup__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-light);
}

.mockup__dot:first-child { background: #FF5F57; }
.mockup__dot:nth-child(2) { background: #FFBD2E; }
.mockup__dot:last-child { background: #28C840; }

.mockup__content {
    display: flex;
    height: 300px;
}

.mockup__sidebar {
    width: 60px;
    background: var(--dark);
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup__nav-item {
    height: 40px;
    background: var(--dark-light);
    border-radius: var(--radius-sm);
    opacity: 0.5;
}

.mockup__nav-item.active {
    opacity: 1;
    background: var(--primary);
}

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

.mockup__card {
    height: 60px;
    background: var(--light);
    border-radius: var(--radius-md);
}

.mockup__table {
    flex: 1;
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup__row {
    height: 30px;
    background: var(--white);
    border-radius: var(--radius-sm);
}

/* Hero scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

/* Mobile hero */
@media (max-width: 968px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        max-width: none;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__mockup {
        max-width: 400px;
        margin-inline: auto;
    }

    .mockup__content {
        height: 200px;
    }

    .hero__shapes {
        display: none;
    }
}

/* === Stats Section === */
.stats {
    padding: 4rem 0;
    background: var(--light);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--primary);
    display: inline;
}

.stat__plus {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
}

.stat__label {
    display: block;
    font-size: 1rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats__grid {
        grid-template-columns: 1fr;
    }
}

/* === Features Section === */
.features {
    padding: var(--section-padding) 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature__icon svg {
    width: 28px;
    height: 28px;
}

.feature__icon--secondary {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.feature__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature__description {
    color: var(--gray);
    font-size: 0.95rem;
}

@media (max-width: 968px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features__grid {
        grid-template-columns: 1fr;
    }
}

/* === Providers Section === */
.providers {
    padding: var(--section-padding) 0;
    background: var(--light);
    overflow: hidden;
}

.providers__carousel {
    margin-top: 3rem;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.providers__track {
    display: flex;
    gap: 2rem;
    animation: scroll-providers 30s linear infinite;
}

.provider {
    flex-shrink: 0;
    padding: 1.5rem 2.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--dark-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

@keyframes scroll-providers {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

[dir="rtl"] .providers__track {
    animation: scroll-providers-rtl 30s linear infinite;
}

@keyframes scroll-providers-rtl {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* === How It Works Section === */
.how-it-works {
    padding: var(--section-padding) 0;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin-inline: auto;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
}

.step__number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.step__content {
    flex: 1;
}

.step__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step__description {
    color: var(--gray);
}

.step__visual {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: var(--radius-lg);
    color: var(--primary);
}

.step__icon svg {
    width: 30px;
    height: 30px;
}

.step__connector {
    width: 3px;
    height: 40px;
    background: var(--gradient-primary);
    margin-inline-start: calc(2rem + 28.5px);
    border-radius: 2px;
}

@media (max-width: 640px) {
    .step {
        grid-template-columns: auto 1fr;
    }

    .step__visual {
        display: none;
    }

    .step__connector {
        margin-inline-start: calc(2rem + 28.5px);
    }
}

/* === Platform Section === */
.platform {
    padding: var(--section-padding) 0;
    background: var(--light);
}

.platform__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.platform__row:last-child {
    margin-bottom: 0;
}

.platform__row--reverse {
    direction: rtl;
}

.platform__row--reverse .platform__content,
.platform__row--reverse .platform__visual {
    direction: ltr;
}

[dir="rtl"] .platform__row--reverse .platform__content,
[dir="rtl"] .platform__row--reverse .platform__visual {
    direction: rtl;
}

.platform__title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.platform__description {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.platform__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.platform__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark-light);
}

.platform__features li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--secondary);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    mask-size: contain;
    flex-shrink: 0;
}

.platform__visual {
    display: flex;
    justify-content: center;
}

.platform__mockup {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
}

.mockup__card--order {
    height: auto;
    padding: 1.5rem;
}

.order__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order__id {
    font-weight: 600;
    color: var(--dark);
}

.order__status {
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.order__details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order__row {
    height: 12px;
    background: var(--light);
    border-radius: var(--radius-sm);
}

.order__row:last-child {
    width: 60%;
}

.platform__mockup--inventory {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.inventory__bar {
    height: 24px;
    background: var(--light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.inventory__fill {
    height: 100%;
    width: var(--fill);
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    animation: fill-bar 1.5s ease-out forwards;
}

@keyframes fill-bar {
    from { width: 0; }
    to { width: var(--fill); }
}

@media (max-width: 968px) {
    .platform__row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .platform__row--reverse {
        direction: ltr;
    }

    [dir="rtl"] .platform__row--reverse {
        direction: rtl;
    }

    .platform__visual {
        order: -1;
    }

    .platform__features {
        align-items: center;
    }
}

/* === Why Section === */
.why {
    padding: var(--section-padding) 0;
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why__card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.why__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.why__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.why__icon svg {
    width: 32px;
    height: 32px;
}

.why__icon--secondary {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.why__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.why__description {
    color: var(--gray);
}

@media (max-width: 768px) {
    .why__grid {
        grid-template-columns: 1fr;
    }
}

/* === Benefits Section === */
.benefits {
    padding: var(--section-padding) 0;
    background: var(--light);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.benefit:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.benefit__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    color: var(--primary);
}

.benefit__icon svg {
    width: 28px;
    height: 28px;
}

.benefit__icon--secondary {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.benefit__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.benefit__description {
    color: var(--gray);
    font-size: 0.95rem;
}

@media (max-width: 968px) {
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .benefits__grid {
        grid-template-columns: 1fr;
    }
}

/* === Pricing Section === */
.pricing {
    padding: var(--section-padding) 0;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.pricing__card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing__card--featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing__badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing__header {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing__card--featured .pricing__header {
    padding-top: 2rem;
}

.pricing__name {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.pricing__price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pricing__amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing__period {
    font-size: 0.875rem;
    color: var(--gray);
}

.pricing__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pricing__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--dark-light);
}

.pricing__features svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 968px) {
    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-inline: auto;
    }

    .pricing__card--featured {
        order: -1;
    }
}

/* === FAQ Section === */
.faq {
    padding: var(--section-padding) 0;
    background: var(--light);
}

.faq__list {
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq__item {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq__item:hover {
    box-shadow: var(--shadow-md);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    text-align: start;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.faq__question:hover {
    color: var(--primary);
}

.faq__question svg {
    width: 24px;
    height: 24px;
    color: var(--gray);
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.faq__item.active .faq__question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq__item.active .faq__answer {
    max-height: 500px;
}

.faq__answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
    line-height: 1.7;
}

/* === CTA Section === */
.cta {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--dark);
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.cta__blob--1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -20%;
    left: -10%;
}

.cta__blob--2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -20%;
    right: -5%;
}

.cta__content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
}

.cta__title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta__description {
    color: var(--gray-light);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.cta__form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.cta__input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-md);
    background: var(--white);
    font-family: inherit;
}

.cta__input::placeholder {
    color: var(--gray);
}

.cta__note {
    color: var(--gray-light);
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .cta__form {
        flex-direction: column;
    }
}

/* === Footer === */
.footer {
    padding: 4rem 0 2rem;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: inline-block;
    margin-bottom: 1rem;
}

.footer__logo .logo-img {
    height: 36px;
    width: auto;
}

.footer__tagline {
    color: var(--gray-light);
}

.footer__title {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a {
    color: var(--gray-light);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
    color: var(--gray-light);
    font-size: 0.875rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--gray-light);
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: span 2;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__brand {
        grid-column: span 1;
    }
}

/* === Animations === */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Fade in up animation */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in left */
.animate-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

[dir="rtl"] .animate-fade-left {
    transform: translateX(30px);
}

.animate-fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale animation */
.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Gradient animation for hero blob */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Shimmer effect */
.shimmer {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-start { text-align: start; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
