* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-accent: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--spacing-sm) * 0.9) 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: var(--spacing-md);
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
    transition: background-color 0.2s, color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: var(--bg-accent);
}

.nav-links a.active {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.cart-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: var(--spacing-sm);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    /* Toujours visible dans la barre du haut */
    visibility: visible;
    opacity: 1;
    position: relative;
}

.cart-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cart-text {
    display: inline;
}

.cart-tab--full .cart-icon {
    color: var(--primary-color);
}

.cart-tab--full {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.cart-tab:hover {
    background: var(--bg-accent);
    border-color: var(--text-primary);
    text-decoration: none;
}

.cart-tab--pulse {
    animation: cartPulse 1.1s ease;
}

.cart-tab--pop {
    animation: cartPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1001;
    position: relative;
}

@keyframes cartPulse {
    0% { transform: scale(1); }
    35% { transform: scale(1.12); }
    60% { transform: scale(0.96); }
    100% { transform: scale(1); }
}

@keyframes cartPop {
    0% { 
        transform: scale(1) translateY(0);
        background: white;
        border-color: var(--border-color);
    }
    20% { 
        transform: scale(1.4) translateY(-10px);
        background: var(--primary-color);
        border-color: var(--primary-color);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    }
    40% { 
        transform: scale(1.25) translateY(-6px);
        background: var(--primary-color);
        border-color: var(--primary-color);
        box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
    }
    60% { 
        transform: scale(1.15) translateY(-3px);
        background: rgba(99, 102, 241, 0.1);
        border-color: var(--primary-color);
    }
    80% { 
        transform: scale(1.05) translateY(-1px);
        background: rgba(99, 102, 241, 0.05);
        border-color: var(--primary-color);
    }
    100% { 
        transform: scale(1) translateY(0);
        background: white;
        border-color: var(--border-color);
    }
}

.cart-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: #111827;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px -15px rgba(17, 24, 39, 0.4);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1100;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cart-toast--error {
    background: #dc2626;
}

@media (max-width: 640px) {
    .cart-toast {
        left: 50%;
        right: auto;
        transform: translate(-50%, -12px);
    }

    .cart-toast.is-visible {
        transform: translate(-50%, 0);
    }
}

/* Mobile hamburger */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    margin-left: var(--spacing-sm);
}

.menu-toggle .menu-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: block;
    letter-spacing: -0.01em;
}

@media (max-width: 640px) {
    .logo-text {
        display: none;
    }
    
    .logo-img {
        height: 32px;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }
    .nav-actions {
        margin-left: 0;
    }
    .menu-toggle {
        display: inline-flex;
    }
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

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

.btn-primary.btn-added {
    background: linear-gradient(135deg, #10b981, #059669);
    cursor: default;
}

.btn-primary.btn-added:hover {
    transform: none;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

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

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

.btn-primary.large,
.btn-secondary.large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    padding: calc(var(--spacing-xl) + 80px) 0 var(--spacing-md);
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    text-align: center;
}

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

/* Google Maps Preview in Hero */
.google-maps-preview {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
    max-width: 25vw;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    opacity: 1;
}

.google-maps-preview.hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.google-maps-preview img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .google-maps-preview {
        width: 150px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .google-maps-preview {
        width: 120px;
        top: 5px;
        right: 5px;
    }
}

.hero-content h1 {
    position: relative;
    z-index: 2;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h2 {
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 0 var(--spacing-md) 0;
}


.hero-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.hero-card-background {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

.hero-card-wrapper {
    position: relative;
    width: clamp(126px, 16.8vw, 238px);
    transform-style: preserve-3d;
    transform-origin: center center;
    animation: rotate3d 13.33s linear infinite;
    will-change: transform;
}

/* Face avant de la carte (l'image) */
.hero-card {
    display: block;
    width: clamp(126px, 16.8vw, 238px);
    height: auto;
    border-radius: var(--radius-lg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Positionner l'image à l'avant avec une épaisseur de 3px */
    transform: translateZ(3px);
    position: relative;
    z-index: 2;
    /* Ombre sur l'image pour la faire ressortir */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Dos blanc de la carte */
.hero-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background-color: #fdfcf8;
    background-image: url("photos/product/card-back-3m.svg");
    background-size: 200px 200px;
    background-repeat: repeat;
    background-position: center;
    transform: rotateY(180deg) translateZ(3px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1;
    pointer-events: none;
}

/* Bords latéraux de la carte - crée les 4 côtés visibles en 3D */
.card-edge {
    position: absolute;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    pointer-events: none;
    z-index: 0;
    transform-style: preserve-3d;
}

/* Bord droit - visible quand la carte tourne vers la droite */
.card-edge-right {
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    transform: rotateY(90deg) translateZ(3px);
    transform-origin: right center;
}

/* Bord gauche - visible quand la carte tourne vers la gauche */
.card-edge-left {
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    transform: rotateY(-90deg) translateZ(3px);
    transform-origin: left center;
}

/* Bord supérieur */
.card-edge-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: rotateX(90deg) translateZ(3px);
    transform-origin: center top;
}

/* Bord inférieur */
.card-edge-bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transform: rotateX(-90deg) translateZ(3px);
    transform-origin: center bottom;
}

@keyframes rotate3d {
    0% {
        transform: perspective(1200px) rotateY(0deg) rotateX(-8deg);
    }
    15% {
        transform: perspective(1200px) rotateY(20deg) rotateX(-8deg);
    }
    40% {
        transform: perspective(1200px) rotateY(180deg) rotateX(-8deg);
    }
    55% {
        transform: perspective(1200px) rotateY(260deg) rotateX(-8deg);
    }
    70% {
        transform: perspective(1200px) rotateY(330deg) rotateX(-8deg);
    }
    100% {
        transform: perspective(1200px) rotateY(360deg) rotateX(-8deg);
    }
}

.hero-card.is-active {
    box-shadow: 0 30px 60px -15px rgba(17, 24, 39, 0.3);
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto var(--spacing-md);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card {
        width: min(240px, 60%);
        margin: 0 auto;
    }
}

/* Hero Sliding Banner */
.hero-sliding-banner {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
    padding: 1rem 0;
    z-index: 3;
}

.hero-sliding-track {
    display: flex;
    gap: 2rem;
    animation: slideBanner 30s linear infinite;
    will-change: transform;
}

.hero-sliding-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.hero-sliding-icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

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

@media (max-width: 768px) {
    .hero-sliding-banner {
        padding: 0.75rem 0;
    }

    .hero-sliding-item {
        font-size: 0.875rem;
        gap: 0.5rem;
    }

    .hero-sliding-track {
        gap: 1.5rem;
    }
}

.section-description {
    max-width: 720px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-secondary);
    font-size: 1rem;
}
.section-title-large {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
}

.product-highlight {
    background: var(--bg-primary);
}

.product-highlight.section-padding {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
}

#schema.section-padding {
    padding-top: var(--spacing-lg);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    align-items: start;
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
}

.product-image-wrapper {
    position: relative;
}

.product-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
    width: 100%;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Product Gallery with Swipe */
.product-gallery {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
    touch-action: pan-y;
}

.product-gallery-container {
    position: relative;
    width: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-gallery-container::-webkit-scrollbar {
    display: none;
}

.product-gallery-slide {
    min-width: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    overflow: hidden;
}

.product-gallery-slide.active {
    opacity: 1;
}

.product-gallery-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.product-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.product-install-journey {
    margin-top: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    text-align: left;
}

.product-install-journey ol {
    margin: var(--spacing-xs) 0 0 1.25rem;
    padding: 0;
    color: var(--text-secondary);
}

.product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-color);
    border-radius: 9999px;
    padding: 0.35rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    align-self: flex-start;
}

.product-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: var(--spacing-xs);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: var(--text-primary);
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
}

.product-features li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    line-height: 1.6;
}

.feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--primary-color);
}

.product-features .feature-icon {
    width: 24px;
    height: 24px;
    margin-top: 0.15rem;
}

.product-features li span {
    flex: 1;
    color: #111827;
    font-size: 1rem;
}

.product-features li span strong {
    color: #111827;
    font-weight: 600;
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
}

.product-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: nowrap;
}

.btn-primary.btn-to-cart {
    background: #111827;
    border-color: #111827;
}

.btn-primary.btn-to-cart:hover {
    background: #0f172a;
    border-color: #0f172a;
}

.product-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: auto;
}

.product-details {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    justify-content: center;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
}

.detail-item {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.detail-title {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cart-section {
    background: var(--bg-secondary);
    min-height: calc(100vh - 80px);
}

/* Shopify-style Checkout Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--spacing-lg);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-main {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 0;
}

.checkout-sidebar {
    position: sticky;
    top: calc(80px + var(--spacing-md));
}

.order-summary {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.order-summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.checkout-section {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.checkout-section:last-of-type {
    margin-bottom: 0;
}

.checkout-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.cart-card,
.checkout-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.cart-card h3,
.checkout-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cart-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.cart-items-wrapper {
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    min-height: 140px;
    background: var(--bg-primary);
}

.cart-items,
.order-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.order-items {
    min-height: 100px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.order-item-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.order-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.order-item-quantity {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.order-item-price {
    font-weight: 600;
    color: var(--text-primary);
}

.cart-item-main {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-item-name {
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

.cart-item-remove:hover {
    text-decoration: underline;
}

.cart-empty {
    color: var(--text-secondary);
    text-align: center;
    margin: var(--spacing-md) 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: var(--spacing-md);
}

.order-totals {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.order-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.order-total-line .free-shipping {
    color: var(--success-color);
    font-weight: 500;
}

.order-total-final {
    font-size: 1.125rem;
    font-weight: 700;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
    margin-top: var(--spacing-sm);
}

.cart-footnote,
.order-footnote {
    margin-top: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.checkout-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
    margin-bottom: var(--spacing-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Ensure form fields in checkout are on white background */
.checkout-card .form-group input,
.checkout-card .form-group select,
.checkout-card .form-group textarea,
.checkout-section .form-group input,
.checkout-section .form-group select,
.checkout-section .form-group textarea {
    background: #ffffff;
    color: var(--text-primary);
}

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

.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkout-address-suggestions {
    position: relative;
}

.address-suggestions {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 30px 60px -18px rgba(15, 23, 42, 0.35);
    z-index: 1000;
    overflow: hidden;
}

.address-suggestions-header {
    padding: 0.85rem 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.address-suggestions-list {
    max-height: 260px;
    overflow-y: auto;
}

.address-suggestion {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-size: 0.95rem;
    color: #111827;
    border-bottom: 1px solid rgba(229, 231, 235, 0.4);
}

.address-suggestion:last-child {
    border-bottom: none;
}

.address-suggestion:hover,
.address-suggestion:focus {
    background: #f8fafc;
    outline: none;
}

.address-suggestion-icon {
    font-size: 1rem;
    color: var(--primary-color);
    margin-top: 0.1rem;
}

.address-suggestion-main {
    display: block;
    font-weight: 600;
    color: #111827;
}

.address-suggestion-secondary {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.form-group input.field-error:focus,
.form-group select.field-error:focus,
.form-group textarea.field-error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
}

.field-error-message {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.875rem;
    color: #dc2626;
    line-height: 1.4;
}

.phone-input {
    display: flex;
    gap: 0.5rem;
}

.phone-input select {
    width: 120px;
    flex-shrink: 0;
}

.phone-input input {
    flex: 1;
}

.form-actions {
    margin-top: var(--spacing-sm);
}

.form-hint {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.form-feedback {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

.form-feedback.is-info {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
}

.form-feedback.is-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.form-feedback.is-error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.order-confirmation {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.order-confirmation h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.order-summary {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.order-summary p {
    margin: 0;
}

/* Section Styling */
.section-padding {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-accent);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-top: var(--spacing-sm);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Concept Section */
.concept {
    background: var(--bg-primary);
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.concept-card {
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    background: var(--bg-primary);
}

.concept-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.3), 0 8px 10px -6px rgba(99, 102, 241, 0.3);
}

.concept-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.concept-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Pros and Cons Section */
.pros-cons {
    background: var(--bg-secondary);
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.section-badge.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.section-badge.neutral {
    background: rgba(249, 115, 22, 0.1);
    color: var(--warning-color);
}

.benefit-list,
.challenge-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.benefit-item,
.challenge-item {
    display: flex;
    gap: var(--spacing-sm);
}

.tick-icon,
.info-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.tick-icon {
    background: rgba(16, 185, 129, 0.1);
    position: relative;
}

.tick-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
}

.info-icon {
    background: rgba(249, 115, 22, 0.1);
    position: relative;
}

.info-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--warning-color);
    border-radius: 50%;
}

.benefit-item h4,
.challenge-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.benefit-item p,
.challenge-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features Section */
.features {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s;
    background: var(--bg-primary);
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-content button:hover {
    background: var(--bg-accent);
}

.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer-email {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-email:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary.large,
    .btn-secondary.large {
        width: 100%;
    }

    .product-cta {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

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

    .checkout-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .checkout-sidebar {
        position: static;
        order: -1;
    }

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

    .phone-input {
        flex-direction: column;
    }

    .phone-input select,
    .phone-input input {
        width: 100%;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-content button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section-padding {
        padding: var(--spacing-lg) 0;
    }

    .concept-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile menu panel */
.mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    padding: var(--spacing-sm);
    display: none;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: var(--bg-accent);
}

.mobile-menu .btn-primary {
    width: 100%;
    display: inline-block;
    text-align: center;
}

/* Generic responsive elements */
img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

/* Confirmation Page Styles */
.confirmation-banner {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    border-radius: var(--radius-lg);
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success-color), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto var(--spacing-sm);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.confirmation-banner h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.confirmation-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
}

.confirmation-notice {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    background: rgba(99, 102, 241, 0.08);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.notice-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.confirmation-notice strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.confirmation-notice p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.confirmation-notice span {
    font-weight: 600;
    color: var(--primary-color);
}

.order-section {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

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

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.order-product {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    background: var(--bg-secondary);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
}

.product-image-mini {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: white;
}

.product-image-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details-mini {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.product-name-mini {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.product-quantity {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.product-price-mini {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--success-color);
}

.delivery-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    min-width: 100px;
}

.info-value {
    font-weight: 500;
    color: var(--text-primary);
    text-align: right;
    flex: 1;
    word-break: break-word;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.step {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    align-items: flex-start;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.confirmation-footer {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-note {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.footer-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-note a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .confirmation-banner h1 {
        font-size: 1.5rem;
    }
    
    .confirmation-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .info-value {
        text-align: left;
    }
    
    .product-image-mini {
        width: 60px;
        height: 60px;
    }
}

/* Legal Pages Styles */
.legal-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.legal-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content {
    background: var(--bg-primary);
}

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

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

.legal-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin: var(--spacing-sm) 0;
}

.legal-box p {
    margin-bottom: 0.75rem;
}

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

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

.contact-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border-color: rgba(99, 102, 241, 0.2);
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-sm) 0;
}

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.legal-footer {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.legal-footer em {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-intro {
        font-size: 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .legal-box {
        padding: var(--spacing-sm);
    }
}

/* Contact Page Styles */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.contact-info-card {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-info-icon svg {
    width: 28px;
    height: 28px;
}

.contact-info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.required {
    color: #dc2626;
    font-weight: 700;
}

.contact-success {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success-color), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.contact-success h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.contact-success p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.contact-faq {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.contact-faq h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.faq-item {
    background: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .contact-success h4 {
        font-size: 1.5rem;
    }
}

/* Schema section */
.schema-section {
    background: var(--bg-secondary);
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.schema-section .container {
    max-width: none;
    width: 100%;
    padding: 0 var(--spacing-md);
    margin: 0 auto;
}

.schema-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.schema-intro {
    max-width: 720px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
}

.schema-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.schema-flow-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.schema-flow-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.schema-flow-item h3 {
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

.schema-flow-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.schema-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-sm);
}

.schema-stat-card {
    background: #fff;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.schema-stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.schema-stat-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Google Maps Example Section */
.google-maps-example {
    background: var(--bg-secondary);
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.google-maps-example .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.google-maps-example h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.google-maps-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
}

.google-maps-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-maps-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.google-maps-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.google-maps-stats {
    text-align: center;
    margin-top: var(--spacing-md);
}

.google-maps-stats p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.google-maps-stats strong {
    color: var(--text-primary);
}

.google-maps-stats .highlight {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .google-maps-example h2 {
        font-size: 1.5rem;
    }
    
    .google-maps-image-wrapper {
        max-width: 100%;
        margin: 0 var(--spacing-sm);
    }
}

/* Google Places autocomplete dropdown */
.pac-container {
    border-radius: 14px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
    font-family: 'Lexend', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    z-index: 9999;
}

.pac-item {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover,
.pac-item.pac-item-selected {
    background-color: #f3f4f6;
}

.pac-item-query {
    font-weight: 600;
    color: #111827;
}

.pac-matched {
    color: #6366f1;
}

