﻿/* ================================================
   HOME PAGE - REDESIGNED PREMIUM
   Clean, Modern, Professional
   ================================================ */

/* ================================================
   CSS VARIABLES
   ================================================ */
:root {
    --hero-gradient-start: #209aa2;
    --hero-gradient-end: #205b5f;
    --hero-gradient: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
    --accent-purple: #86b7ba;
    --accent-green: #86b7ba;
    --accent-blue: #209aa2;
    --accent-gold: #e78a56;
}

/* ================================================
   HERO SECTION
   ================================================ */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 120px;
    overflow: hidden;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--hero-gradient);
}

[data-theme="dark"] .hero-gradient {
    background: linear-gradient(135deg, #209aa2 0%, #205b5f 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(134, 183, 186, 0.5);
    top: -150px;
    left: -100px;
    animation: pulse 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(231, 138, 86, 0.35);
    bottom: -100px;
    right: -50px;
    animation: pulse 10s ease-in-out infinite 2s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

/* Hero Wrapper */
.hero-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Content */
.hero-content {
    color: white;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 28px;
    animation: fadeInDown 0.6s ease;
}

.eyebrow-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eyebrow-icon i {
    font-size: 0.85rem;
    color: #e78a56;
}

.eyebrow-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Headline */
.hero-headline {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.headline-line {
    display: block;
    color: white;
}

.headline-gradient {
    display: block;
    background: linear-gradient(90deg, #e78a56, #FFF1E3, #e78a56);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Description */
.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    max-width: 480px;
    animation: fadeInUp 1s ease;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: white;
    color: var(--hero-gradient-start);
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    color: var(--hero-gradient-start);
}

.btn-primary-hero i {
    transition: transform 0.3s ease;
}

.btn-primary-hero:hover i {
    transform: translateX(4px);
}

[dir="rtl"] .btn-primary-hero:hover i {
    transform: translateX(-4px);
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-4px);
}

/* Social Proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 1.4s ease;
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #86b7ba, #209aa2);
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -14px;
    color: white;
    font-size: 1rem;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-more {
    background: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 700;
}

.proof-text {
    display: flex;
    flex-direction: column;
}

.proof-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
}

.proof-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 480px;
}

/* Dashboard Card */
.dashboard-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ef4444; }
.control.yellow { background: #e78a56; }
.control.green { background: #209aa2; }

.dashboard-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.dashboard-body {
    padding: 24px;
}

.stat-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-box-icon.purple {
    background: linear-gradient(135deg, #e78a56, #de9369);
}

.stat-box-icon.green {
    background: linear-gradient(135deg, #86b7ba, #209aa2);
}

.stat-box-icon i {
    font-size: 1.25rem;
    color: white;
}

.stat-box-info {
    display: flex;
    flex-direction: column;
}

.stat-box-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-box-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.progress-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.progress-percent {
    font-weight: 700;
    color: var(--accent-green);
}

.progress-track {
    height: 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, #86b7ba, #205b5f);
    border-radius: 5px;
    animation: progressGrow 2s ease-out;
}

@keyframes progressGrow {
    from { width: 0; }
}

/* Floating Badges */
.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: floatBadge 5s ease-in-out infinite;
}

.float-badge i {
    font-size: 1.1rem;
}

.float-badge-1 {
    top: 5%;
    right: -15%;
    animation-delay: 0s;
}

.float-badge-1 i { color: #86b7ba; }

.float-badge-2 {
    top: 50%;
    left: -20%;
    animation-delay: 1.5s;
}

.float-badge-2 i { color: #e78a56; }

.float-badge-3 {
    bottom: 10%;
    right: 0;
    animation-delay: 3s;
}

.float-badge-3 i { color: #209aa2; }

/* Dark theme fix for float badges - ensure text is visible on white background */
[data-theme="dark"] .float-badge {
    color: #205b5f;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Hero Divider - Modern Geometric Design */
.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    overflow: hidden;
    z-index: 2;
}

.hero-divider .divider-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--bg-body);
    clip-path: polygon(
        0 70%,
        5% 65%,
        15% 75%,
        25% 60%,
        35% 72%,
        45% 55%,
        55% 68%,
        65% 50%,
        75% 65%,
        85% 48%,
        95% 62%,
        100% 55%,
        100% 100%,
        0 100%
    );
}

.hero-divider .divider-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(32, 154, 162, 0.3) 20%,
        rgba(32, 154, 162, 0.8) 50%,
        rgba(32, 154, 162, 0.3) 80%,
        transparent 100%
    );
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ================================================
   STATS SECTION
   ================================================ */
.home-stats {
    padding: 80px 0;
    background: var(--bg-body);
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    padding: 40px 60px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.06);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.stat-icon-wrap {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--accent-purple), #209aa2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(32, 154, 162, 0.3);
}

.stat-icon-wrap.green {
    background: linear-gradient(135deg, var(--accent-green), #205b5f);
    box-shadow: 0 8px 25px rgba(134, 183, 186, 0.3);
}

.stat-icon-wrap.blue {
    background: linear-gradient(135deg, var(--accent-blue), #209aa2);
    box-shadow: 0 8px 25px rgba(32, 154, 162, 0.3);
}

.stat-icon-wrap.gold {
    background: linear-gradient(135deg, var(--accent-gold), #d47840);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.stat-icon-wrap i {
    font-size: 1.5rem;
    color: white;
}

.stat-data {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

/* ================================================
   FEATURES SECTION
   ================================================ */
.home-features {
    padding: 100px 0;
    background: var(--bg-card-hover);
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(32, 154, 162, 0.1);
    color: var(--accent-purple);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

[data-theme="dark"] .section-label {
    background: rgba(32, 154, 162, 0.2);
}

.section-heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-box {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.feature-icon-container {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: transform 0.3s ease;
}

.feature-icon-container.purple {
    background: linear-gradient(135deg, #86b7ba, #209aa2);
    box-shadow: 0 12px 30px rgba(32, 154, 162, 0.35);
}

.feature-icon-container.green {
    background: linear-gradient(135deg, #86b7ba, #205b5f);
    box-shadow: 0 12px 30px rgba(134, 183, 186, 0.35);
}

.feature-icon-container.blue {
    background: linear-gradient(135deg, #86b7ba, #209aa2);
    box-shadow: 0 12px 30px rgba(32, 154, 162, 0.35);
}

.feature-icon-container i {
    font-size: 2rem;
    color: white;
}

.feature-box:hover .feature-icon-container {
    transform: scale(1.1) rotate(-5deg);
}

.feature-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

.feature-link:hover {
    gap: 12px;
    color: #209aa2;
}

.feature-link i {
    transition: transform 0.3s ease;
}

.feature-link:hover i {
    transform: translateX(4px);
}

[dir="rtl"] .feature-link:hover i {
    transform: translateX(-4px);
}

/* ================================================
   STEPS SECTION
   ================================================ */
.home-steps {
    padding: 100px 0;
    background: var(--bg-body);
}

.steps-container {
    position: relative;
}

.steps-line {
    display: none;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.step-box {
    text-align: center;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px 24px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.4s ease;
}

.step-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.step-num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-purple), #209aa2);
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(32, 154, 162, 0.4);
}

.step-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 16px auto 24px;
    background: rgba(32, 154, 162, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] .step-icon-wrap {
    background: rgba(32, 154, 162, 0.15);
}

.step-icon-wrap i {
    font-size: 2rem;
    color: var(--accent-purple);
}

.step-box:hover .step-icon-wrap {
    background: linear-gradient(135deg, var(--accent-purple), #209aa2);
    transform: scale(1.05);
}

.step-box:hover .step-icon-wrap i {
    color: white;
}

.step-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ================================================
   CTA SECTION
   ================================================ */
.home-cta {
    padding: 80px 0 120px;
    background: var(--bg-body);
}

.cta-box {
    position: relative;
    background: var(--hero-gradient);
    border-radius: 32px;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 80px;
}

.cta-text {
    flex: 1;
}

.cta-heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.cta-subtext {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: white;
    color: var(--hero-gradient-start);
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: var(--hero-gradient-start);
}

.btn-cta i {
    font-size: 1.2rem;
}

/* ================================================
   DARK MODE OVERRIDES
   ================================================ */

/* Stats Section - Dark Mode */
[data-theme="dark"] .stats-row {
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat-icon-wrap {
    box-shadow: 0 8px 25px rgba(32, 154, 162, 0.2);
}

[data-theme="dark"] .stat-icon-wrap.green {
    box-shadow: 0 8px 25px rgba(134, 183, 186, 0.2);
}

[data-theme="dark"] .stat-icon-wrap.blue {
    box-shadow: 0 8px 25px rgba(32, 154, 162, 0.2);
}

[data-theme="dark"] .stat-icon-wrap.gold {
    box-shadow: 0 8px 25px rgba(231, 138, 86, 0.2);
}

/* Features Section - Dark Mode */
[data-theme="dark"] .feature-box {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .feature-box:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .feature-icon-container.purple {
    box-shadow: 0 12px 30px rgba(32, 154, 162, 0.2);
}

[data-theme="dark"] .feature-icon-container.green {
    box-shadow: 0 12px 30px rgba(134, 183, 186, 0.2);
}

[data-theme="dark"] .feature-icon-container.blue {
    box-shadow: 0 12px 30px rgba(32, 154, 162, 0.2);
}

[data-theme="dark"] .feature-link:hover {
    color: #86b7ba;
}

/* Steps Section - Dark Mode */
[data-theme="dark"] .step-box {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .step-box:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .step-num {
    box-shadow: 0 8px 25px rgba(32, 154, 162, 0.25);
}

/* CTA Section - Dark Mode */
[data-theme="dark"] .cta-box {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .btn-cta {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .btn-cta:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Dashboard Card - Dark Mode */
[data-theme="dark"] .dashboard-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ================================================
   RTL SUPPORT
   ================================================ */
[dir="rtl"] .avatar {
    margin-left: 0;
    margin-right: -14px;
}

[dir="rtl"] .avatar:first-child {
    margin-right: 0;
}

[dir="rtl"] .float-badge-1 {
    right: auto;
    left: -15%;
}

[dir="rtl"] .float-badge-2 {
    left: auto;
    right: -20%;
}

/* ================================================
   RESPONSIVE STYLES
   ================================================ */
@media (max-width: 1200px) {
    .hero-wrapper {
        gap: 40px;
    }
    
    .features-grid {
        gap: 24px;
    }
    
    .steps-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-line {
        display: none;
    }
}

@media (max-width: 991px) {
    .home-hero {
        padding: 100px 0 100px;
        min-height: auto;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        margin-top: 40px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-social-proof {
        justify-content: center;
    }
    
    .float-badge {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .stats-row {
        padding: 30px;
        gap: 30px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding: 80px 0 80px;
    }

    .stats-row {
        display: grid;
        grid-template-columns: fit-content(100%);
        justify-content: center;
        gap: 24px;
    }

    .stat-item {
        width: 100%;
        justify-content: flex-start;
    }

    .steps-row {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .home-features,
    .home-steps {
        padding: 70px 0;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
    
    .hero-social-proof {
        flex-direction: column;
        gap: 12px;
    }
    
    .proof-text {
        align-items: center;
    }
    
    .visual-container {
        max-width: 100%;
    }
    
    .stat-boxes {
        grid-template-columns: 1fr;
    }
    
    .feature-box {
        padding: 32px 24px;
    }
}
