/* assets/css/main.css */

/* ==========================================
   1. ROOT VARIABLES & CUSTOM PROPERTIES
========================================== */
:root {
    /* Brand Colors - من الهوية البصرية */
    --primary-color: #453bad;
    --primary-dark: #342887;
    --primary-light: #5647c9;
    --secondary-color: #f0f4f5;
    --accent-1: #f0e1da;
    --accent-2: #f0bfcf;
    --accent-3: #f1bda4;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #453bad 0%, #5647c9 50%, #f1bda4 100%);
    --gradient-secondary: linear-gradient(135deg, #f0e1da 0%, #f0bfcf 50%, #f1bda4 100%);
    --gradient-dark: linear-gradient(135deg, #342887 0%, #453bad 100%);
    --gradient-light: linear-gradient(135deg, #f0f4f5 0%, #ffffff 100%);
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
    
    /* Typography - من الهوية البصرية */
    --font-primary: 'Tajawal', sans-serif;
    --font-secondary: 'IBM Plex Sans Arabic', sans-serif;
    
    /* Font Sizes - نظام طباعي هرمي */
    --fs-h1: clamp(2.5rem, 5vw, 4rem);
    --fs-h2: clamp(2rem, 4vw, 3rem);
    --fs-h3: clamp(1.5rem, 3vw, 2rem);
    --fs-h4: clamp(1.25rem, 2.5vw, 1.5rem);
    --fs-h5: 1.125rem;
    --fs-h6: 1rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    
    /* Spacing System */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 50%;
    
    /* Shadows - 8K Quality */
    --shadow-sm: 0 2px 4px rgba(69, 59, 173, 0.05);
    --shadow-md: 0 4px 8px rgba(69, 59, 173, 0.1);
    --shadow-lg: 0 8px 16px rgba(69, 59, 173, 0.15);
    --shadow-xl: 0 16px 32px rgba(69, 59, 173, 0.2);
    --shadow-2xl: 0 24px 48px rgba(69, 59, 173, 0.25);
    --shadow-glow: 0 0 40px rgba(69, 59, 173, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Z-Index Layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ==========================================
   2. RESET & BASE STYLES
========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    direction: rtl;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

/* ==========================================
   3. PRELOADER STYLES
========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-slow);
}

.loader-container {
    text-align: center;
}

.wismerch-loader {
    animation: pulse 2s infinite;
}

.loading-text {
    margin-top: var(--spacing-lg);
    font-family: var(--font-primary);
    font-size: var(--fs-h5);
    color: var(--primary-color);
    animation: fadeInOut 2s infinite;
}

/* ==========================================
   4. NAVIGATION STYLES
========================================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color) !important;
}

.logo-main {
    height: 40px;
    margin-left: 10px;
}

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

.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--dark-gray);
    padding: 0.5rem 1rem;
    position: relative;
    transition: all var(--transition-base);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-base);
    transform: translateX(50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.nav-cta {
    margin-right: var(--spacing-lg);
    padding: 0.5rem 1.5rem !important;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: var(--white) !important;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transform: translateY(0);
    transition: all var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   5. HERO SECTION
========================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(69, 59, 173, 0.9) 0%, rgba(241, 189, 164, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: var(--spacing-3xl) 0;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    color: var(--white);
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
}

.hero-title {
    font-size: var(--fs-h1);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--spacing-xl);
    line-height: 1.2;
}

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

.hero-subtitle {
    font-size: var(--fs-h5);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: var(--fs-h2);
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: var(--fs-body);
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-3xl);
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: var(--fs-h6);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.hero-trust {
    text-align: center;
}

.trust-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}

.trust-logos img {
    height: 40px;
    opacity: 0.8;
    filter: grayscale(1) brightness(2);
    transition: all var(--transition-base);
}

.trust-logos img:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
}

/* ==========================================
   6. FEATURES SECTION
========================================== */
.features-section {
    background: var(--secondary-color);
    position: relative;
}

.section-header {
    margin-bottom: var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: var(--fs-h2);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    font-size: var(--fs-h5);
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 0 0 0 100%;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.feature-card:hover::before {
    width: 200px;
    height: 200px;
    opacity: 0.1;
}

.feature-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: var(--radius-lg);
    animation: iconPulse 3s infinite;
}

.feature-title {
    font-size: var(--fs-h4);
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

.feature-description {
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.feature-list li {
    padding: var(--spacing-sm) 0;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--primary-color);
    margin-left: var(--spacing-sm);
    font-size: 0.875rem;
}

.feature-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition-base);
}

.feature-link:hover {
    color: var(--primary-dark);
    transform: translateX(-5px);
}

.feature-link i {
    margin-right: var(--spacing-sm);
    transition: transform var(--transition-base);
}

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

/* ==========================================
   7. SERVICES SECTION
========================================== */
.services-section {
    background: var(--white);
    position: relative;
}

.services-tabs .nav-tabs {
    border: none;
    background: var(--secondary-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-sm);
    display: inline-flex;
}

.services-tabs .nav-link {
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-xl);
    color: var(--gray);
    font-weight: 600;
    transition: all var(--transition-base);
    background: transparent;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.services-tabs .nav-link i {
    font-size: 1.25rem;
}

.services-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.service-content {
    padding: var(--spacing-xl);
}

.service-title {
    font-size: var(--fs-h3);
    margin-bottom: var(--spacing-lg);
    color: var(--dark-gray);
}

.service-description {
    font-size: var(--fs-h6);
    color: var(--gray);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.service-features {
    margin-bottom: var(--spacing-xl);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
}

.feature-icon-small {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: var(--spacing-lg);
    flex-shrink: 0;
}

.feature-icon-small i {
    color: var(--white);
    font-size: 1.25rem;
}

.feature-text h4 {
    font-size: var(--fs-h5);
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

.feature-text p {
    color: var(--gray);
    margin: 0;
}

.service-image {
    position: relative;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
}

.image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.decoration-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.decoration-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    opacity: 0.2;
    animation: float 6s ease-in-out infinite reverse;
}

/* ==========================================
   8. PRICING SECTION
========================================== */
.pricing-section {
    background: var(--secondary-color);
    position: relative;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-size: var(--fs-small);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--secondary-color);
}

.plan-name {
    font-size: var(--fs-h4);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.currency {
    font-size: var(--fs-h5);
    color: var(--gray);
    margin-left: var(--spacing-sm);
}

.amount {
    font-size: var(--fs-h1);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: var(--fs-body);
    color: var(--gray);
    margin-right: var(--spacing-sm);
}

.custom-price {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--primary-color);
}

.plan-description {
    color: var(--gray);
}

.pricing-body {
    flex-grow: 1;
    margin-bottom: var(--spacing-xl);
}

.plan-features {
    list-style: none;
}

.plan-features li {
    padding: var(--spacing-md) 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--secondary-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    margin-left: var(--spacing-md);
    font-size: 1rem;
}

.plan-features li i.fa-check {
    color: #10b981;
}

.plan-features li i.fa-times {
    color: #ef4444;
}

.plan-features li.disabled {
    opacity: 0.5;
}

.pricing-footer {
    margin-top: auto;
}

.pricing-comparison {
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(69, 59, 173, 0.1);
}

.comparison-text {
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
}

/* ==========================================
   9. CTA SECTION
========================================== */
.cta-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.cta-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    position: relative;
    z-index: 1;
}

.cta-content {
    color: var(--white);
}

.cta-title {
    font-size: var(--fs-h2);
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
}

.cta-subtitle {
    font-size: var(--fs-h5);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.cta-features {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    font-size: var(--fs-body);
}

.cta-feature i {
    color: var(--accent-3);
}

.cta-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
}

.cta-form .form-control {
    border: 1px solid var(--secondary-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--fs-body);
    transition: all var(--transition-base);
}

.cta-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(69, 59, 173, 0.25);
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: var(--fs-small);
}

.form-note i {
    color: var(--primary-color);
    margin-left: var(--spacing-sm);
}

.cta-countdown {
    text-align: center;
    color: var(--white);
}

.countdown-title {
    font-size: var(--fs-h3);
    margin-bottom: var(--spacing-xl);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    min-width: 100px;
}

.countdown-value {
    font-size: var(--fs-h2);
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: var(--fs-small);
    opacity: 0.8;
}

/* ==========================================
   10. FOOTER SECTION
========================================== */
.footer-section {
    background: var(--dark-gray);
    color: var(--white);
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget {
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-logo img {
    height: 40px;
}

.footer-brand {
    font-family: var(--font-primary);
    font-size: var(--fs-h4);
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.widget-title {
    font-size: var(--fs-h5);
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(-5px);
    display: inline-block;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    color: var(--white);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.footer-badge {
    height: 30px;
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.footer-badge:hover {
    opacity: 1;
}

/* ==========================================
   11. BACK TO TOP BUTTON
========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

/* ==========================================
   12. UTILITY CLASSES
========================================== */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--gradient-primary);
    color: var(--white);
}

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

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--fs-h6);
}

/* ==========================================
   13. ANIMATIONS
========================================== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes iconPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.2;
    }
}

/* ==========================================
   14. MEDIA QUERIES - RESPONSIVE DESIGN
========================================== */
@media (max-width: 1200px) {
    :root {
        --fs-h1: 3rem;
        --fs-h2: 2.5rem;
        --fs-h3: 1.75rem;
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        padding: var(--spacing-lg) 0;
    }
    
    .nav-cta {
        margin-right: 0;
        margin-top: var(--spacing-lg);
    }
    
    .hero-stats {
        gap: var(--spacing-xl);
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    :root {
        --fs-h1: 2.5rem;
        --fs-h2: 2rem;
        --fs-h3: 1.5rem;
        --spacing-3xl: 3rem;
    }
    
    .hero-section {
        min-height: 100vh;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
    }
    
    .feature-card {
        margin-bottom: var(--spacing-xl);
    }
    
    .countdown-timer {
        gap: var(--spacing-md);
    }
    
    .countdown-item {
        min-width: 80px;
        padding: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    :root {
        --fs-h1: 2rem;
        --fs-h2: 1.75rem;
        --fs-h3: 1.25rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .trust-logos {
        gap: var(--spacing-lg);
    }
    
    .trust-logos img {
        height: 30px;
    }
    
    .cta-wrapper {
        padding: var(--spacing-xl);
    }
    
    .footer-badges {
        justify-content: center;
        margin-top: var(--spacing-lg);
    }
}

/* ==========================================
   15. PRINT STYLES
========================================== */
@media print {
    .navbar,
    .hero-particles,
    .back-to-top,
    .social-links,
    .btn,
    .form-control {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    .section-title {
        page-break-after: avoid;
    }
    
    .feature-card,
    .pricing-card {
        page-break-inside: avoid;
    }
}