/**
 * Celox Digital - Premium Styles
 * Modern dark theme with vibrant accents
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.05);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #a855f7;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --container-width: 1280px;
    --section-padding: 120px;
    --nav-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

ul, ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

/* ============================================
   Custom Cursor (disabled)
   ============================================ */
.cursor {
    display: none;
}

/* ============================================
   Loader
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    font-size: 48px;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-text {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-bottom: 30px;
}

.loader-text span {
    display: inline-block;
    animation: letterFade 1.5s ease-in-out infinite;
}

.loader-text span:nth-child(1) { animation-delay: 0s; }
.loader-text span:nth-child(2) { animation-delay: 0.1s; }
.loader-text span:nth-child(3) { animation-delay: 0.2s; }
.loader-text span:nth-child(4) { animation-delay: 0.3s; }
.loader-text span:nth-child(5) { animation-delay: 0.4s; }

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-primary);
    animation: loadProgress 1.5s ease-in-out forwards;
}

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

@keyframes letterFade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition-medium);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: var(--transition-medium);
}

.navbar.scrolled::before {
    opacity: 1;
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--gradient-secondary);
    border-radius: var(--radius-xl);
    color: var(--text-primary) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.lang-btn.active {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.lang-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 20px;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .lang-switcher {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-links li {
    margin: 20px 0;
}

.mobile-nav-links a {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-block;
    transition: var(--transition-fast);
}

.mobile-nav-links a:hover {
    color: var(--accent-primary);
    transform: translateX(10px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.floating-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    will-change: auto;
}

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

.float-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    top: 60%;
    right: 10%;
}

.float-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-tertiary);
    bottom: 20%;
    left: 30%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-badge.animated {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(48px, 8vw, 90px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

.title-line.animated .word {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.title-line .word:nth-child(2) {
    transition-delay: 0.1s;
}

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

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-subtitle.animated {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta.animated {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

.hero-scroll.animated {
    opacity: 1;
    transition: var(--transition-smooth);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-glow {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-light);
}

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

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

.btn-large {
    padding: 20px 40px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Marquee Section
   ============================================ */
.marquee-section {
    padding: 30px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
}

.marquee-separator {
    color: var(--accent-primary);
    font-size: 12px;
}

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

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    margin-bottom: 60px;
}

.section-number {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
}

.section-number.animated {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Animation styles for elements */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.services-showcase {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 180px 150px;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-medium);
}

.service-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
}


.service-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 16px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.service-visual {
    display: flex;
    justify-content: center;
}

.visual-box {
    width: 100px;
    height: 100px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.service-item:hover .visual-box {
    transform: scale(1.1) rotate(5deg);
}

.box-inner svg {
    width: 50px;
    height: 50px;
    color: var(--text-primary);
}

.service-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--accent-primary);
}

.service-link:hover svg {
    transform: translate(4px, -4px);
}

.services-cta {
    margin-top: 60px;
    text-align: center;
}

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

    .service-tags {
        justify-content: center;
    }

    .service-link {
        justify-content: center;
    }
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-prefix {
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-bottom: 5px;
    background: none;
    -webkit-text-fill-color: var(--text-secondary);
}

.stat-suffix {
    font-size: 32px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

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

    .stat-number {
        font-size: 40px;
    }
}

/* ============================================
   Featured Pricing
   ============================================ */
.featured-pricing {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-medium);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-light);
}

.pricing-card.featured {
    background: var(--gradient-secondary);
    border: none;
    transform: scale(1.05);
}

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

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card.featured .card-badge {
    background: rgba(255, 255, 255, 0.2);
}

.card-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-card.featured .card-desc {
    color: rgba(255, 255, 255, 0.8);
}

.card-price {
    margin-bottom: 24px;
}

.card-price .price {
    font-family: var(--font-primary);
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}

.card-price .currency {
    font-size: 24px;
    font-weight: 600;
    vertical-align: super;
}

.card-price .price-prefix {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.pricing-card.featured .price-prefix {
    color: rgba(255, 255, 255, 0.7);
}

.card-features {
    margin-bottom: 30px;
}

.card-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card.featured .card-features li {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 600;
}

.pricing-more {
    text-align: center;
}

.pricing-more p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent-primary);
}

.link-arrow svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

@media (max-width: 968px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* ============================================
   Process Section
   ============================================ */
.process {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-progress {
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--border-color);
    border-radius: 2px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process-step {
    display: flex;
    gap: 24px;
    padding-left: 40px;
    position: relative;
    opacity: 0.5;
    transition: var(--transition-medium);
}

.process-step.active {
    opacity: 1;
}

.step-marker {
    position: absolute;
    left: 0;
    top: 4px;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    transition: var(--transition-medium);
}

.process-step.active .marker-dot {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.marker-time {
    display: none;
}

.step-content h3 {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content h3 span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 15px;
}

@media (max-width: 768px) {
    .process-step {
        padding-left: 40px;
        gap: 20px;
    }
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition-medium);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.value-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.value-card h4 {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.value-card p {
    font-size: 13px;
    color: var(--text-muted);
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    text-align: center;
}

.big-text {
    font-family: var(--font-primary);
    font-weight: 900;
    line-height: 1;
}

.number-animate {
    font-size: 180px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-h {
    font-size: 80px;
    color: var(--text-secondary);
}

.visual-label {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 16px;
}

@media (max-width: 968px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .number-animate {
        font-size: 120px;
    }

    .text-h {
        font-size: 60px;
    }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.cta-wrapper {
    position: relative;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    padding: 80px;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 0% 0%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 100% 100%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: var(--font-primary);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form {
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-group textarea ~ label {
    top: 20px;
    transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: 8px;
    font-size: 11px;
    color: var(--accent-primary);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.file-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.file-label:hover {
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
}

.file-label svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.file-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.file-name {
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 500;
    margin-left: auto;
}

.file-name:empty {
    display: none;
}

.file-info {
    display: none;
}

.file-input:focus + .file-label {
    border-color: var(--accent-primary);
    outline: 2px solid rgba(99, 102, 241, 0.2);
}

/* Hide reCAPTCHA badge - disclosure in privacy policy */
.grecaptcha-badge {
    visibility: hidden !important;
}

.form-recaptcha-notice {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-recaptcha-notice a {
    color: var(--text-secondary);
    text-decoration: underline;
}

.form-recaptcha-notice a:hover {
    color: var(--accent-primary);
}

.btn-submit {
    margin: 0 auto;
    display: flex;
}

@media (max-width: 768px) {
    .cta-wrapper {
        padding: 40px 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a,
.footer-col ul span {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.social-link:hover svg {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--text-primary);
}

@media (max-width: 968px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 568px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ============================================
   Tarifs Page Specific Styles
   ============================================ */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--bg-primary);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
}

.page-header .container {
    position: relative;
}

.page-title {
    font-family: var(--font-primary);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-section {
    padding: 80px 0;
}

.pricing-section:nth-child(even) {
    background: var(--bg-secondary);
}

.pricing-section .section-header {
    text-align: center;
}

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

.pricing-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .pricing-grid,
    .pricing-grid.two-cols {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

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

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: var(--transition-fast);
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-medium);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-light);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars span {
    color: #f59e0b;
    font-size: 18px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}

.author-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
    background: #fff;
}

.testimonial-author h4 {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 968px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ============================================
   WhatsApp Button & Contact Buttons
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-medium);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp .btn-icon svg {
    width: 20px;
    height: 20px;
}

.contact-buttons,
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================
   Packages Section
   ============================================ */
.packages-section .section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 16px;
    margin-bottom: 60px;
}

.packages-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

.package-card {
    padding-top: 60px;
}

.package-card .price-prefix {
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.package-savings {
    text-align: center;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 20px;
}

.pricing-card.featured .package-savings {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

@media (max-width: 1200px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 800px !important;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
    }
}

/* ============================================
   Legal Pages Styles
   ============================================ */
.legal-header {
    padding-bottom: 60px;
}

.legal-content {
    padding: 60px 0 var(--section-padding);
    background: var(--bg-primary);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.legal-section h3 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-section p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.legal-section ul li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.legal-section ul ul {
    margin-top: 8px;
    margin-bottom: 8px;
}

.legal-section ul ul li::before {
    background: var(--text-muted);
    width: 4px;
    height: 4px;
}

.legal-section a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    color: var(--accent-secondary);
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.legal-table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
}

.legal-table td {
    color: var(--text-secondary);
}

.legal-update {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .legal-section h2 {
        font-size: 20px;
    }

    .legal-table {
        font-size: 13px;
    }

    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
    }
}

/* ============================================
   Cookie Consent Banner & Modal
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 24px;
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-banner-text h3 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cookie-banner-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.cookie-link {
    font-size: 13px;
    color: var(--accent-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--gradient-secondary);
    color: white;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-btn-reject:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-light);
}

.cookie-btn-settings {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.cookie-btn-settings:hover {
    background: var(--bg-card-hover);
}

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

.cookie-btn-save:hover {
    background: var(--accent-secondary);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px 16px;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.cookie-modal-content {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.cookie-modal.visible .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.cookie-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cookie-modal-close:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.cookie-modal-body {
    padding: 24px;
}

.cookie-category {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.cookie-category-info h4 {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cookie-category-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-toggle label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    width: 50px;
    height: 28px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    display: inline-block;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--text-secondary);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.cookie-toggle input:checked + .toggle-slider {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.cookie-toggle input:checked + .toggle-slider::after {
    transform: translateX(22px);
    background: white;
}

.cookie-toggle.disabled {
    pointer-events: none;
}

.cookie-toggle.disabled .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.cookie-toggle.disabled .toggle-slider::after {
    background: white;
    transform: translateX(22px);
}

.toggle-label {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    margin-left: 10px;
}

.cookie-modal-footer {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid var(--border-color);
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .cookie-modal-content {
        max-height: 85vh;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }

    .cookie-category-header {
        flex-direction: column;
        gap: 16px;
    }
}

body.cookie-modal-open {
    overflow: hidden;
}

/* Manage cookies link in footer */
.manage-cookies-link {
    cursor: pointer;
}

/* ============================================
   Portfolio Styles
   ============================================ */

/* Section subtitle (homepage portfolio preview) */
.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* Portfolio preview section on homepage */
.portfolio-preview {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.portfolio-preview .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-cta {
    text-align: center;
    margin-top: 48px;
}

/* Portfolio grid (shared homepage + page) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Portfolio card */
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-medium);
}

.portfolio-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.15);
}

/* Browser chrome mockup */
.portfolio-browser {
    background: var(--bg-tertiary);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
}

.browser-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.browser-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-bar {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-secondary);
}

/* Screenshot image container */
.portfolio-img-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.portfolio-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img-container img {
    transform: scale(1.04);
}

/* Hover overlay with "Voir le site" CTA */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
    backdrop-filter: blur(4px);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-visit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-primary);
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-visit:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.portfolio-visit svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Card info area */
.portfolio-info {
    padding: 28px 28px 24px;
}

.portfolio-info .portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.portfolio-info h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ---- Portfolio Page (portfolio.html) ---- */
.portfolio-section {
    padding: 80px 0 var(--section-padding);
    background: var(--bg-primary);
}

/* Alternating case-study layout on portfolio page */
.portfolio-case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.portfolio-case:last-child {
    margin-bottom: 0;
}

.portfolio-case.reverse {
    direction: rtl;
}

.portfolio-case.reverse > * {
    direction: ltr;
}

.portfolio-case-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition-medium);
}

.portfolio-case-image:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.2);
}

.portfolio-case-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portfolio-case-content .portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-case-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.portfolio-case-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.portfolio-case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.case-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.case-meta-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.case-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.portfolio-case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
    margin-top: 4px;
}

.portfolio-case-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.portfolio-case-link:hover {
    color: var(--accent-tertiary);
}

.portfolio-case-link:hover svg {
    transform: translate(3px, -3px);
}

/* Responsive */
@media (max-width: 968px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .portfolio-case {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 60px;
    }

    .portfolio-case.reverse {
        direction: ltr;
    }
}

@media (max-width: 568px) {
    .portfolio-info {
        padding: 20px;
    }
}

