/*
Theme Name: Swiss TryOn
Description: Enterprise-Grade Virtual Try-On Landing Page Theme
Version: 1.0.0
Author: Swiss TryOn Team
*/

/* ========================================
   CSS Variables (Design System)
   ======================================== */
:root {
    /* Swiss Style Design System - Trust & Precision */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(222, 47%, 11%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222, 47%, 11%);
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(222, 47%, 11%);

    /* Primary: Deep Navy Blue - Authority & Trust */
    --primary: hsl(222, 47%, 11%);
    --primary-foreground: hsl(0, 0%, 100%);

    /* Secondary: Light subtle backgrounds */
    --secondary: hsl(220, 14%, 96%);
    --secondary-foreground: hsl(222, 47%, 11%);

    /* Muted: Subtle text and backgrounds */
    --muted: hsl(220, 13%, 95%);
    --muted-foreground: hsl(215, 16%, 47%);

    /* Accent: Electric Indigo - CTAs & Interactive */
    --accent: hsl(239, 84%, 67%);
    --accent-foreground: hsl(0, 0%, 100%);

    /* Destructive */
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);

    /* Border and inputs */
    --border: hsl(220, 13%, 91%);
    --input: hsl(220, 13%, 91%);
    --ring: hsl(239, 84%, 67%);

    --radius: 0.5rem;

    /* Swiss Red option for alternative accent */
    --swiss-red: hsl(4, 100%, 60%);

    /* Shadows for depth */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-base: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* ========================================
   Container & Layout
   ======================================== */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-cta {
    background: linear-gradient(135deg, hsl(239, 84%, 67%) 0%, hsl(239, 84%, 57%) 100%);
    color: var(--accent-foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

.btn-cta-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-cta-outline:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ========================================
   Cards
   ======================================== */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 1.5rem;
}

.card-content {
    padding: 0 1.5rem 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--card-foreground);
}

.card-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.navbar-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 8rem;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsl(222, 47%, 11%) 0%, hsl(239, 84%, 67%, 0.1) 100%);
    opacity: 0.5;
    z-index: -1;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-image-container {
    position: relative;
}

.hero-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Trust Bar
   ======================================== */
.trust-bar {
    padding: 3rem 0;
    background: var(--secondary);
}

.trust-logos {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.6;
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits-section {
    padding: 6rem 0;
    background: rgba(var(--secondary), 0.3);
}

.benefits-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    background: rgba(var(--accent), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-features {
    list-style: none;
    margin-top: 1rem;
}

.benefit-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.benefit-features li::before {
    content: "";
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--accent);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing-section {
    padding: 6rem 0;
    background: rgba(var(--secondary), 0.3);
}

.pricing-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.price-period {
    color: var(--muted-foreground);
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    padding: 6rem 0;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    background: var(--card);
    margin-bottom: 1rem;
}

.accordion-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-weight: 600;
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    color: var(--muted-foreground);
    padding-bottom: 1.5rem;
    line-height: 1.7;
}

/* ========================================
   Contact Form
   ======================================== */
.contact-section {
    padding: 6rem 0;
    background: rgba(var(--secondary), 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    color: var(--foreground);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--ring), 0.1);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 3rem 0;
    background: var(--primary);
    color: var(--primary-foreground);
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.shadow-smooth {
    box-shadow: var(--shadow-lg);
}

.transition-smooth {
    transition: var(--transition-smooth);
}

/* ========================================
   Responsive Utilities
   ======================================== */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
}

@media (min-width: 769px) {
    .desktop-hidden {
        display: none;
    }
}
