/* ========================================
   Design System Variables - Airbnb Style
   ======================================== */

:root {
    /* Color Palette */
    --palette-bg-primary-core: #ff385c;
    --palette-bg-tertiary-core: #e00b41;
    --palette-text-primary-error: #c13515;
    --palette-text-secondary-error-hover: #b32505;
    --palette-bg-primary-luxe: #460479;
    --palette-bg-primary-plus: #92174d;
    
    /* Text Colors */
    --palette-text-primary: #222222;
    --palette-text-focused: #3f3f3f;
    --palette-text-secondary: #6a6a6a;
    --palette-text-material-disabled: rgba(0, 0, 0, 0.24);
    --palette-text-link-disabled: #929292;
    
    /* Interactive Colors */
    --palette-text-legal: #428bff;
    --palette-border-gray: #c1c1c1;
    --palette-light-surface: #f2f2f2;
    
    /* Surface & Shadows */
    --palette-white: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.02) 0px 0px 0px 1px, 
                   rgba(0, 0, 0, 0.04) 0px 2px 6px, 
                   rgba(0, 0, 0, 0.1) 0px 4px 8px;
    --hover-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
    
    /* Typography */
    --font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing System */
    --spacing-xs: 2px;
    --spacing-sm: 4px;
    --spacing-md: 8px;
    --spacing-lg: 12px;
    --spacing-xl: 16px;
    --spacing-2xl: 24px;
    --spacing-3xl: 32px;
    --spacing-4xl: 48px;
    --spacing-5xl: 64px;
    
    /* Border Radius */
    --radius-subtle: 4px;
    --radius-standard: 8px;
    --radius-badge: 14px;
    --radius-card: 20px;
    --radius-large: 32px;
    --radius-circle: 50%;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--palette-text-primary);
    background-color: var(--palette-white);
    line-height: 1.43;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Header Navigation
   ======================================== */

.header {
    position: sticky;
    top: 0;
    background: var(--palette-white);
    border-bottom: 1px solid var(--palette-border-gray);
    z-index: 1000;
    box-shadow: var(--card-shadow);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    flex-shrink: 0;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--palette-text-primary);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-standard);
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: var(--palette-light-surface);
}

.nav-link.active {
    color: var(--palette-bg-primary-core);
    font-weight: 600;
}

.header-actions {
    flex-shrink: 0;
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary-dark {
    background: var(--palette-text-primary);
    color: var(--palette-white);
    border: none;
    padding: 0 var(--spacing-2xl);
    height: 40px;
    border-radius: var(--radius-standard);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.btn-primary-dark:hover {
    background: var(--palette-bg-primary-core);
    box-shadow: var(--hover-shadow);
}

.btn-primary-dark:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--palette-text-primary);
    transform: scale(0.92);
}

.btn-brand {
    background: var(--palette-bg-primary-core);
    color: var(--palette-white);
    border: none;
    padding: 0 var(--spacing-3xl);
    height: 48px;
    border-radius: var(--radius-standard);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.btn-brand:hover {
    background: var(--palette-bg-tertiary-core);
    box-shadow: var(--hover-shadow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--palette-text-primary);
    border: 1px solid var(--palette-text-primary);
    padding: 0 var(--spacing-3xl);
    height: 48px;
    border-radius: var(--radius-standard);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.btn-outline:hover {
    background: var(--palette-light-surface);
}

.btn-full {
    width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    padding: var(--spacing-5xl) var(--spacing-2xl);
    max-width: 1440px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.44px;
    margin-bottom: var(--spacing-xl);
    color: var(--palette-text-primary);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--palette-text-secondary);
    margin-bottom: var(--spacing-3xl);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-large);
    box-shadow: var(--card-shadow);
}

/* ========================================
   Category Pills
   ======================================== */

.category-section {
    padding: var(--spacing-2xl) var(--spacing-2xl);
    background: var(--palette-white);
    border-bottom: 1px solid var(--palette-border-gray);
}

.category-container {
    max-width: 1440px;
    margin: 0 auto;
}

.category-pills {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: var(--spacing-sm);
}

.category-pills::-webkit-scrollbar {
    display: none;
}

.pill {
    flex-shrink: 0;
    padding: var(--spacing-md) var(--spacing-xl);
    border: 1px solid var(--palette-border-gray);
    border-radius: var(--radius-badge);
    background: var(--palette-white);
    color: var(--palette-text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: var(--font-family);
}

.pill:hover {
    border-color: var(--palette-text-primary);
}

.pill.active {
    background: var(--palette-text-primary);
    color: var(--palette-white);
    border-color: var(--palette-text-primary);
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.43;
    letter-spacing: -0.44px;
    margin-bottom: var(--spacing-md);
    color: var(--palette-text-primary);
}

.section-description {
    font-size: 16px;
    font-weight: 400;
    color: var(--palette-text-secondary);
    line-height: 1.5;
}

/* ========================================
   Products Section
   ======================================== */

.products-section {
    padding: var(--spacing-5xl) var(--spacing-2xl);
    max-width: 1440px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
}

.product-card {
    background: var(--palette-white);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.wishlist-btn {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-circle);
    background: var(--palette-white);
    border: none;
    font-size: 18px;
    color: var(--palette-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    transition: all 0.2s ease;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    color: var(--palette-bg-primary-core);
}

.product-info {
    padding: var(--spacing-lg);
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: var(--spacing-sm);
    color: var(--palette-text-primary);
}

.product-description {
    font-size: 14px;
    font-weight: 400;
    color: var(--palette-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.43;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--palette-bg-primary-core);
}

/* ========================================
   Services Section
   ======================================== */

.services-section {
    padding: var(--spacing-5xl) var(--spacing-2xl);
    background: var(--palette-light-surface);
}

.services-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
}

.service-card {
    background: var(--palette-white);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-xl);
    border-radius: var(--radius-circle);
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.18px;
    margin-bottom: var(--spacing-md);
    color: var(--palette-text-primary);
}

.service-description {
    font-size: 14px;
    font-weight: 400;
    color: var(--palette-text-secondary);
    line-height: 1.43;
}

/* ========================================
   Features Section
   ======================================== */

.features-section {
    padding: var(--spacing-5xl) var(--spacing-2xl);
    max-width: 1440px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-3xl);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-2xl);
}

.feature-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--palette-bg-primary-core);
    margin-bottom: var(--spacing-lg);
    line-height: 1;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.18px;
    margin-bottom: var(--spacing-md);
    color: var(--palette-text-primary);
}

.feature-description {
    font-size: 14px;
    font-weight: 400;
    color: var(--palette-text-secondary);
    line-height: 1.43;
}

/* ========================================
   Certificates Section
   ======================================== */

.certificates-section {
    padding: var(--spacing-5xl) var(--spacing-2xl);
    background: var(--palette-light-surface);
}

.certificates-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
}

.certificate-card {
    background: var(--palette-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.certificate-card img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-standard);
}

/* ========================================
   About Section
   ======================================== */

.about-section {
    padding: var(--spacing-5xl) var(--spacing-2xl);
    max-width: 1440px;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-large);
    box-shadow: var(--card-shadow);
}

.about-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.43;
    letter-spacing: -0.44px;
    margin-bottom: var(--spacing-xl);
    color: var(--palette-text-primary);
}

.about-description {
    font-size: 16px;
    font-weight: 400;
    color: var(--palette-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--palette-bg-primary-core);
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--palette-text-secondary);
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
    padding: var(--spacing-5xl) var(--spacing-2xl);
    background: var(--palette-light-surface);
}

.contact-container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

.contact-item {
    padding: var(--spacing-xl);
    background: var(--palette-white);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
}

.contact-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--palette-text-secondary);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.32px;
}

.contact-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--palette-text-primary);
}

.contact-form {
    background: var(--palette-white);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-lg);
    border: 1px solid var(--palette-border-gray);
    border-radius: var(--radius-standard);
    font-size: 14px;
    font-weight: 400;
    color: var(--palette-text-primary);
    font-family: var(--font-family);
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--palette-bg-primary-core);
    box-shadow: 0 0 0 2px rgba(255, 56, 92, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--palette-text-primary);
    color: var(--palette-white);
    padding: var(--spacing-5xl) var(--spacing-2xl) var(--spacing-2xl);
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-4xl);
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.32px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: var(--spacing-sm) 0;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--palette-white);
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 950px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }
    
    .nav-menu {
        display: none;
    }
}

/* Mobile */
@media (max-width: 550px) {
    .header-container {
        padding: var(--spacing-md);
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .hero-section {
        padding: var(--spacing-3xl) var(--spacing-md);
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .products-section,
    .services-section,
    .features-section,
    .certificates-section,
    .about-section,
    .contact-section {
        padding: var(--spacing-3xl) var(--spacing-md);
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Ultra-wide */
@media (min-width: 1920px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
