/*
 * The-GlobalEducation - Style Principal
 * Version: 2.0
 */

/* ========== Variables ========== */
:root {
    /* Couleurs principales - par défaut */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --primary-hover: #4338ca;
    --primary-contrast: #ffffff;
    
    /* Couleurs secondaires */
    --secondary: #64748b;
    --secondary-light: #94a3b8;
    --secondary-dark: #475569;
    --secondary-hover: #475569;
    --secondary-contrast: #ffffff;
    
    /* Couleurs d'accentuation */
    --accent: #f43f5e;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Couleurs neutres - Mode clair (par défaut) */
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-darker: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #cbd5e1;
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* Polices */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Dimensions */
    --header-height: 80px;
    --container-max-width: 1200px;
    --container-padding: 1.5rem;
    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-full: 9999px;
}

/* Mode sombre */
.dark-mode {
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --text-lighter: #64748b;
    --background: #0f172a;
    --background-alt: #1e293b;
    --background-darker: #0f172a;
    --border: #334155;
    --border-light: #1e293b;
    --border-dark: #475569;
    --shadow: rgba(0, 0, 0, 0.3);
}

/* ========== Reset et styles de base ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    transition: background-color var(--transition), color var(--transition);
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

input, textarea, select {
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--text);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    width: 100%;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231e293b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
    padding-right: 2.5rem;
}

.dark-mode select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e2e8f0'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

/* ========== Layout et containers ========== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== Animations de chargement ========== */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-svg {
    width: 80px;
    height: 80px;
    animation: rotate 2s linear infinite;
}

.loader-circle {
    fill: none;
    stroke: var(--primary);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: dash 1.5s ease-in-out infinite;
}

.loader-text {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 200;
    }
    50% {
        stroke-dashoffset: 50;
    }
    100% {
        stroke-dashoffset: 200;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

/* ========== Logo ========== */
.logo {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 20px;
    /*top: 0;
    left: 0;
    height: 10px;
    width: 10px;
    padding: 15px;*/
}

.logo-icon {
    position: relative;
    width: 42px;
    height: 42px;
    margin-right: 12px;
}

.logo-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    animation: pulse-logo 4s infinite ease-in-out;
}

.logo-globe {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-radius: 50%;
    background-color: var(--background);
    overflow: hidden;
}

.logo-globe:before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    background-image: 
        linear-gradient(90deg, rgba(79, 70, 229, 0.1) 50%, transparent 50%),
        linear-gradient(var(--primary-light) 50%, transparent 50%);
    background-size: 8px 8px, 8px 8px;
    animation: rotate-globe 10s linear infinite;
}

.logo-book {
    position: absolute;
    width: 50%;
    height: 15%;
    bottom: 20%;
    left: 25%;
    background-color: var(--primary-light);
    border-radius: 2px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    transform: perspective(100px) rotateX(30deg);
}

.logo-text h1 {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

@keyframes pulse-logo {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4);
    }
}

@keyframes rotate-globe {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ========== En-tête et navigation ========== */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: background-color var(--transition), border-color var(--transition), transform 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.hidden {
    transform: translateY(-100%);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: var(--border-radius-full);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Bouton de thème */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    border-radius: var(--border-radius-full);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.theme-toggle:hover {
    background-color: var(--background-darker);
    color: var(--primary);
}

/* Sélecteur de langue */
.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius-full);
    font-weight: 500;
    transition: background-color var(--transition-fast);
}

.lang-btn .current-lang {
    margin-right: 0.5rem;
}

.lang-btn:hover {
    background-color: var(--background-darker);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 150px;
    background-color: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    z-index: 10;
}

.language-selector:hover .language-dropdown,
.language-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.language-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text);
    transition: background-color var(--transition-fast);
}

.language-dropdown a:hover {
    background-color: var(--background-alt);
}

.language-dropdown a.active {
    color: var(--primary);
    font-weight: 500;
}

/* Boutons de connexion/inscription */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--border-radius-full);
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.btn.primary {
    background-color: var(--primary);
    color: var(--primary-contrast);
}

.btn.primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn.login-btn {
    color: var(--text);
    border: 1px solid var(--border);
}

.btn.login-btn:hover {
    background-color: var(--background-alt);
    border-color: var(--primary);
    color: var(--primary);
}

.btn i {
    margin-right: 0.5rem;
}

.btn.full-width {
    width: 100%;
}

.btn.outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn.outline:hover {
    background-color: var(--primary);
    color: var(--primary-contrast);
}

/* Menu mobile */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text);
    border-radius: var(--border-radius-full);
    transition: transform var(--transition), opacity var(--transition), background-color var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--background);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    z-index: 99;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    padding: 0.5rem 0;
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-menu .mobile-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 1rem 2rem;
}

.tour-btn {
    display: flex;
    align-items: center;
    color: var(--text);
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-full);
    background-color: var(--background-alt);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.tour-btn:hover {
    background-color: var(--background-darker);
    color: var(--primary);
    transform: translateY(-2px);
}

.tour-btn i {
    margin-right: 0.5rem;
    font-size: 1.25rem;
    color: var(--primary);
}

.hero-image {
    position: relative;
}

.hero-illustration {
    position: relative;
    width: 100%;
    height: 400px;
}

.floating-card {
    position: absolute;
    background-color: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(0);
    animation: float 5s infinite ease-in-out;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.floating-card span {
    font-weight: 500;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    left: 15%;
    animation-delay: 1s;
}

.card-3 {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}

.dashboard-preview {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    right: 0;
    background-color: var(--background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    background-image: linear-gradient(135deg, var(--background-alt) 25%, transparent 25%), 
                     linear-gradient(225deg, var(--background-alt) 25%, transparent 25%), 
                     linear-gradient(45deg, var(--background-alt) 25%, transparent 25%), 
                     linear-gradient(315deg, var(--background-alt) 25%, transparent 25%);
    background-position: 10px 0, 10px 0, 0 0, 0 0;
    background-size: 20px 20px;
    background-repeat: repeat;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
}

.dashboard-preview::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 80px);
    background-color: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: -1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ========== Features Section ========== */
.features {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-contrast);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
}

/* ========== How It Works ========== */
.how-it-works {
    padding: 5rem 0;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 300px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--primary-contrast);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.step p {
    color: var(--text-light);
}

.step-connector {
    height: 2px;
    flex: 1;
    background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
    max-width: 150px;
    position: relative;
}

.step-connector::before, .step-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary);
    transform: translateY(-50%);
}

.step-connector::before {
    left: 0;
}

.step-connector::after {
    right: 0;
}

/* ========== Pricing Section ========== */
.pricing {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background);
    transition: var(--transition);
    border-radius: 34px;
    border: 1px solid var(--border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 3px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--background);
}

input:checked + .slider:before {
    transform: translateX(28px);
}

.discount {
    display: inline-block;
    background-color: var(--success);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-full);
    margin-left: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.pricing-card {
    background-color: var(--background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: 12px;
    right: -30px;
    background: var(--primary);
    color: var(--primary-contrast);
    padding: 0.25rem 2rem;
    font-weight: 500;
    transform: rotate(45deg);
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.price {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
}

.amount.annual {
    display: none;
}

.period {
    color: var(--text-light);
}

.pricing-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.pricing-features li i.fa-check {
    color: var(--success);
}

.pricing-features li i.fa-times {
    color: var(--error);
}

.pricing-features li.not-included {
    color: var(--text-lighter);
}

.pricing-btn {
    width: calc(100% - 4rem);
    margin: 0 2rem 2rem;
}

/* ========== Testimonials ========== */
.testimonials {
    padding: 5rem 0;
}

.testimonial-slider {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform var(--transition);
}

.testimonial-card {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-content {
    background-color: var(--background-alt);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: var(--shadow-md);
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--background-alt);
    transform: rotate(45deg);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
}

.testimonial-content::before {
    content: "\201C";
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 1.5rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    border: 3px solid var(--primary-light);
    box-shadow: var(--shadow-md);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-prev, .testimonial-next {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background-color: var(--background);
    color: var(--text);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: var(--primary);
    color: var(--primary-contrast);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--border-radius-full);
    background-color: var(--border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot:hover {
    background-color: var(--primary-light);
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* ========== Stats ========== */
.stats {
    padding: 5rem 0;
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    color: var(--primary-contrast);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ========== CTA ========== */
.cta {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.cta .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-content {
    max-width: 600px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.color-picker {
    background-color: var(--background);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.color-picker h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    border: 3px solid var(--background);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.color-option:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.color-option.active {
    border-color: var(--text);
    transform: scale(1.2);
}

/* ========== Footer ========== */
footer {
    background-color: var(--background);
    border-top: 1px solid var(--border);
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column ul a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.footer-column ul a:hover {
    color: var(--primary);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.branding p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background-color: var(--background-alt);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--primary-contrast);
    transform: translateY(-5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-light);
}

.language-picker {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    color: var(--text-light);
}

/* ========== Modals ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-alt);
    color: var(--text);
    transition: all var(--transition-fast);
    z-index: 1;
}

.close-modal:hover {
    background-color: var(--error);
    color: white;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.modal-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.modal-tab:hover {
    color: var(--text);
}

.modal-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.input-with-icon input {
    padding-left: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
}

.toggle-password:hover {
    color: var(--primary);
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.forgot-password {
    color: var(--text-light);
    font-size: 0.9rem;
}

.forgot-password:hover {
    color: var(--primary);
    text-decoration: underline;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 3rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: var(--background-darker);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.social-auth {
    margin-top: 2rem;
    text-align: center;
}

.social-auth p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
}

.social-auth p:before, .social-auth p:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 25%;
    height: 1px;
    background-color: var(--border);
}

.social-auth p:before {
    left: 0;
}

.social-auth p:after {
    right: 0;
}

.social-auth-buttons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    flex: 1;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.social-btn.google {
    background-color: #ffffff;
    color: #333;
    border: 1px solid var(--border);
}

.social-btn.google:hover {
    background-color: #f2f2f2;
    box-shadow: var(--shadow-md);
}

.social-btn.microsoft {
    background-color: #2f74e0;
    color: white;
}

.social-btn.microsoft:hover {
    background-color: #1e5ebd;
    box-shadow: var(--shadow-md);
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background-color: var(--border);
    border-radius: var(--border-radius-full);
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-progress {
    height: 100%;
    width: 20%;
    background-color: var(--error);
    border-radius: var(--border-radius-full);
    transition: width var(--transition), background-color var(--transition);
}

.strength-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

.select-wrapper {
    position: relative;
}

.select-wrapper i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.terms-privacy {
    margin-bottom: 1.5rem;
}

.terms-privacy label {
    margin-bottom: 0.75rem;
}

.terms-privacy a {
    color: var(--primary);
}

.terms-privacy a:hover {
    text-decoration: underline;
}

.video-modal .modal-content {
    max-width: 800px;
    padding: 0;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-darker);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text);
    gap: 1rem;
}

.video-placeholder i {
    font-size: 5rem;
    color: var(--primary);
}

.theme-modal .modal-content {
    max-width: 800px;
}

.theme-settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.appearance-mode h3, .color-theme h3, .custom-color h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.theme-toggle-container {
    display: flex;
    gap: 1rem;
}

.theme-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
}

.theme-option:hover {
    background-color: var(--background-alt);
}

.theme-option.active {
    border-color: var(--primary);
    background-color: rgba(79, 70, 229, 0.1);
}

.theme-option i {
    font-size: 1.5rem;
}

.theme-preview {
    margin-bottom: 2rem;
}

.preview-container {
    height: 200px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    overflow: hidden;
    background-color: var(--background);
}

.preview-header {
    height: 50px;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.preview-logo {
    width: 100px;
    height: 30px;
    border-radius: var(--border-radius);
    background-color: var(--primary);
}

.preview-nav {
    display: flex;
    gap: 1rem;
}

.preview-content {
    height: calc(100% - 50px);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-button {
    width: 120px;
    height: 40px;
    border-radius: var(--border-radius);
}

.preview-button.primary {
    background-color: var(--primary);
}

.preview-button.secondary {
    background-color: var(--background-alt);
    border: 1px solid var(--border);
}

.preview-card {
    flex: 1;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.theme-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

#custom-color-picker {
    width: 100%;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
}

.color-code {
    display: inline-block;
    font-family: monospace;
    margin-top: 0.5rem;
    color: var(--text-light);
}

/* ========== Contact Page ========== */
.contact-hero {
    position: relative;
    padding: 5rem 0;
    text-align: center;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background-color: var(--background);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.contact-card-icon i {
    font-size: 2rem;
    color: var(--primary-contrast);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.contact-link:hover {
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.contact-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: -1;
}

.contact-hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.contact-form-section {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.contact-info > p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.25rem;
}

.method-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.method-details p {
    color: var(--text-light);
    line-height: 1.5;
}

.social-connections h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background-color: var(--background);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--primary-contrast);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-form-container {
    background-color: var(--background);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-with-button {
    display: flex;
    width: 100%;
}

.input-with-button input {
    flex: 1;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border-right: none;
}

.input-with-button .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem;
}

.form-success {
    text-align: center;
    padding: 2rem 0;
}

.form-success.hidden {
    display: none;
}

.success-animation {
    margin-bottom: 2rem;
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    position: relative;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark {
    width: 50px;
    height: 25px;
    border-right: 5px solid var(--success);
    border-bottom: 5px solid var(--success);
    transform: rotate(45deg);
    animation: checkmark 0.5s ease-in-out 0.5s forwards;
    opacity: 0;
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--success);
}

.form-success p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.map-section {
    padding: 5rem 0;
}

.map-container {
    margin-top: 3rem;
    position: relative;
}

.world-map {
    width: 100%;
    height: 400px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><path fill="%23e2e8f0" d="M58,300 Q100,280 120,280 Q150,260 170,270 Q220,250 230,230 Q270,220 290,210 Q310,230 350,220 Q370,210 390,200 Q410,220 450,210 Q490,200 510,210 Q530,220 550,210 Q570,200 590,210 Q630,200 650,210 Q670,220 690,210 Q710,200 730,210 Q750,220 770,210 Q790,200 810,210 Q830,220 850,210 Q870,200 890,210 Q910,220 930,210 Q950,200 970,210 Q990,220 1000,230 V400 H0 V320 Q20,290 58,300 Z"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: var(--border-radius-lg);
    background-color: var(--background-alt);
    box-shadow: var(--shadow-md);
    position: relative;
}

.map-location {
    position: absolute;
    transform: translate(-50%, -50%);
}

.location-dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.location-pulse {
    width: 30px;
    height: 30px;
    background-color: rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    animation: pulse-map 2s infinite;
    z-index: 1;
}

@keyframes pulse-map {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
}

.location-info {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--background);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    pointer-events: none;
    z-index: 3;
}

.map-location:hover .location-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.location-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.location-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.faq-section {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.accordion {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-item {
    background-color: var(--background);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text);
    border: none;
    background: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.accordion-header:hover {
    background-color: var(--background-alt);
}

.accordion-header i {
    font-size: 1rem;
    color: var(--text-light);
    transition: transform var(--transition-fast);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.faq-cta p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.newsletter {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--primary-contrast);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn {
    background-color: white;
    color: var(--primary);
}

.newsletter-form .btn:hover {
    background-color: var(--background-darker);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.newsletter-form .checkbox-container {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form .checkmark {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-form .checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.2);
}

.newsletter-form .checkbox-container input:checked ~ .checkmark {
    background-color: white;
    border-color: white;
}

.newsletter-form .checkbox-container .checkmark:after {
    border-color: var(--primary);
}

/* ========== Legal Pages ========== */
.legal-page {
    padding: 5rem 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.legal-header p {
    color: var(--text-light);
}

.legal-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

.legal-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    height: fit-content;
}

.toc {
    background-color: var(--background-alt);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.toc h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.toc ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toc a {
    color: var(--text-light);
    transition: color var(--transition-fast);
    padding: 0.25rem 0;
    display: block;
}

.toc a:hover {
    color: var(--primary);
}

.legal-text {
    background-color: var(--background);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.legal-text section {
    margin-bottom: 2.5rem;
}

.legal-text h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.legal-text h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    color: var(--text);
}

.legal-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.legal-text ul, .legal-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-text ul {
    list-style-type: disc;
}

.legal-text ol {
    list-style-type: decimal;
}

.legal-text li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.contact-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-list i {
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.legal-footer p {
    margin-bottom: 1.5rem;
}

/* ========== Media Queries ========== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .steps {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .step {
        max-width: 100%;
        width: 100%;
    }
    
    .step-connector {
        display: none;
    }
    
    .cta .container {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        max-width: 100%;
        text-align: center;
    }
    
    .color-picker {
        margin: 0 auto;
        max-width: 400px;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 14px;
    }
    
    .nav-links, .header-actions .login-btn, .header-actions .theme-toggle, .header-actions .language-selector {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        grid-template-columns: 1fr;
    }
    
    .legal-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }
    
    .pricing-grid {
        gap: 1rem;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-header h2, .cta-content h2, .contact-title, .legal-header h1 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .theme-settings {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        gap: 1rem;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn, .tour-btn {
        width: 100%;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .social-auth-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .pricing-toggle {
        flex-direction: column;
    }
}