/* ============================================
   GEMA SOLAR - Agence de Publicité
   Design System - Rouge & Blanc
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    /* Couleurs principales */
    --primary: #E31E24;
    --primary-dark: #B8191E;
    --primary-light: #FF4D52;
    --secondary: #FFFFFF;
    --dark: #1A1A1A;
    --dark-light: #2D2D2D;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --gray-medium: #9CA3AF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #E31E24 0%, #FF4D52 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    --gradient-hero: linear-gradient(135deg, rgba(227, 30, 36, 0.95) 0%, rgba(26, 26, 26, 0.98) 100%);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 5%;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-red: 0 10px 40px rgba(227, 30, 36, 0.3);
    
    /* 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;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--dark);
    background: var(--secondary);
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--secondary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 5%;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 15px 5%;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    transition: var(--transition-normal);
}

.navbar.scrolled .logo {
    color: var(--dark);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.navbar.scrolled .logo-icon {
    background: var(--primary);
}

.logo-icon i {
    font-size: 1.3rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.navbar.scrolled .logo-icon i {
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

.navbar.scrolled .logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary);
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-link {
    color: var(--dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

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

.nav-cta {
    background: var(--secondary);
    color: var(--primary) !important;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    transition: var(--transition-normal);
}

.navbar.scrolled .nav-cta {
    background: var(--primary);
    color: var(--secondary) !important;
}

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

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-normal);
}

.navbar.scrolled .menu-toggle span {
    background: var(--dark);
}

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

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

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--secondary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    top: 50%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(0, -50px) rotate(0deg); }
    75% { transform: translate(-30px, -30px) rotate(-5deg); }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 120px 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    color: var(--secondary);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    color: var(--primary-light);
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    color: var(--secondary);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title span {
    color: var(--primary-light);
    position: relative;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

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

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow-red);
}

.hero-card-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.hero-card h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.8);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--secondary);
    animation: floatElement 6s ease-in-out infinite;
}

.floating-element i {
    color: var(--primary-light);
}

.floating-element-1 {
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.floating-element-2 {
    bottom: 20%;
    left: -40px;
    animation-delay: -2s;
}

.floating-element-3 {
    bottom: 0;
    right: 20%;
    animation-delay: -4s;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

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

.btn-red:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

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

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

.btn-dark {
    background: var(--dark);
    color: var(--secondary);
}

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

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(227, 30, 36, 0.1);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--gray-light);
}

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

.service-card {
    background: var(--secondary);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon i {
    color: var(--secondary);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    margin-bottom: 20px;
}

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

.service-link i {
    transition: var(--transition-normal);
}

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

/* ============================================
   PRODUCTS/PRICING SECTION
   ============================================ */
.products {
    background: var(--secondary);
}

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

.product-card {
    background: var(--secondary);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
}

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

.product-card.featured::before {
    content: 'Populaire';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--secondary);
    padding: 6px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition-normal);
}

.product-card:hover .product-icon,
.product-card.featured .product-icon {
    background: var(--gradient-primary);
}

.product-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.product-card:hover .product-icon i,
.product-card.featured .product-icon i {
    color: var(--secondary);
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.product-subtitle {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.product-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.product-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
    min-height: 70px;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.95rem;
}

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

.product-features li i {
    color: var(--primary);
    font-size: 0.9rem;
}

.product-card .btn {
    width: 100%;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--dark);
    color: var(--secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--primary);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.1;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-content .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
}

.about-content .section-title {
    color: var(--secondary);
}

.about-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(227, 30, 36, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.about-feature h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.about-feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-visual {
    position: relative;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-stat {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.about-stat:hover {
    background: rgba(227, 30, 36, 0.2);
}

.about-stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    display: block;
}

.about-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--gray-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-card {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 50px;
    color: var(--secondary);
}

.contact-info-card h3 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info-card > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(227, 30, 36, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.contact-item-content h4 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item-content p,
.contact-item-content a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-item-content a:hover {
    color: var(--primary-light);
}

.contact-form-wrapper {
    background: var(--secondary);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--secondary);
}

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

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--secondary);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-social a i {
    font-size: 1.1rem;
}

.footer-column h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-family: var(--font-body);
    font-weight: 600;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-contact-item span,
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact-item a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

/* ============================================
   COOKIE MODAL
   ============================================ */
.cookie-modal {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 500px;
    background: var(--secondary);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    transform: translateY(150%);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-light);
}

.cookie-modal.show {
    transform: translateY(0);
}

.cookie-modal h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.cookie-modal h4 i {
    color: var(--primary);
}

.cookie-modal p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.cookie-modal p a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-buttons .btn {
    flex: 1;
    padding: 14px 20px;
}

/* ============================================
   PAGE HEADER (for legal pages)
   ============================================ */
.page-header {
    background: var(--gradient-hero);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

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

.page-header h1 {
    color: var(--secondary);
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Legal Content */
.legal-content {
    padding: 80px 0;
}

.legal-content .container {
    max-width: 900px;
}

.legal-content h2 {
    font-size: 1.6rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark);
}

.legal-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-content ul li {
    margin-bottom: 10px;
    color: var(--gray);
}

.legal-content a {
    color: var(--primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-info-box {
    background: var(--gray-light);
    padding: 25px;
    border-radius: var(--radius-md);
    margin: 30px 0;
    border-left: 4px solid var(--primary);
}

.legal-info-box p {
    margin-bottom: 8px;
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

.legal-date {
    font-style: italic;
    color: var(--gray);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-section {
    padding: 160px 0 80px;
    background: var(--gray-light);
    min-height: 100vh;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-form-wrapper {
    background: var(--secondary);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.checkout-form-wrapper h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.checkout-step {
    margin-bottom: 40px;
}

.checkout-step h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-step h3 span {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.checkout-summary {
    background: var(--secondary);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 120px;
}

.checkout-summary h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
}

.summary-product {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-light);
}

.summary-product-icon {
    width: 60px;
    height: 60px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-product-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.summary-product-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.summary-product-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.summary-totals {
    padding-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1rem;
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    padding-top: 15px;
    border-top: 2px solid var(--gray-light);
    margin-top: 15px;
}

.summary-row.total span:last-child {
    color: var(--primary);
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding: 15px;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--gray);
}

.secure-badge i {
    color: #10B981;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-description {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 0;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--dark);
        padding: 15px 0;
        border-bottom: 1px solid var(--gray-light);
        width: 100%;
    }
    
    .nav-cta {
        margin-top: 20px;
        background: var(--primary);
        color: var(--secondary) !important;
        text-align: center;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-container {
        padding: 100px 5%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-modal {
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 25px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .checkout-form-wrapper,
    .checkout-summary {
        padding: 25px;
    }
}
