/* ========================================
   SLUEKIE - Main Stylesheet
   Luxury Sleep Collection E-commerce
   ======================================== */

/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #0F1B2E;
}

:root {
    /* Brand Colors */
    --deep-sleep: #1E2D4D;
    --sage-calm: #CBDAD5;
    --soft-mist: #E8EBF0;
    --lavender-smoke: #D4CFE7;
    --deep-charcoal: #4A4A4A;
    --pure-white: #FFFFFF;
    --midnight-blue: #0F1B2E;
    --twilight: #243856;
    --dawn: #F4E4BC;
    --noon: #87CEEB;
    --dusk: #FF6B6B;
    --cream: #FFF8E7;

    /* Functional Colors */
    --success: #4CAF50;
    --error: #f44336;
    --warning: #ff9800;
    --info: #2196F3;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 100px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 50px;

    /* Shadows - Softer for white design */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.1);
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);

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

/* Base Typography */
body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--deep-charcoal);
    overflow-x: hidden;
    background: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

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

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Full-width container for header/footer */
.container-wide {
    max-width: 100%;
    padding: 0 40px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 45px;
    width: auto;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    background: linear-gradient(135deg, white 0%, var(--sage-calm) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: var(--deep-sleep);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--sage-calm);
}

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

.nav-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: var(--deep-sleep);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    border: none;
}

.nav-icon:hover {
    background: var(--sage-calm);
    color: var(--deep-sleep);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--sage-calm);
    color: var(--deep-sleep);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--deep-sleep);
    transition: var(--transition-normal);
}

/* ========================================
   DYNAMIC SKY BACKGROUND
   ======================================== */
.sky-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #0F1B2E 0%, #1a2332 30%, #1E2D4D 60%, #1E2D4D 100%);
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.celestial-body {
    position: absolute;
    border-radius: 50%;
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sun {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 70%, #FF6347 100%);
    box-shadow: 0 0 80px rgba(255, 215, 0, 0.6);
    right: 10%;
    top: 20%;
    opacity: 0;
}

.moon {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 30% 30%, #F0F4F8 0%, #E8EBF0 50%, #CBDAD5 100%);
    box-shadow: 0 0 60px rgba(240, 244, 248, 0.4);
    right: 15%;
    top: 10%;
    opacity: 1;
}

.moon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(203, 218, 213, 0.4);
    border-radius: 50%;
    top: 25%;
    left: 35%;
}

.moon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(203, 218, 213, 0.3);
    border-radius: 50%;
    top: 55%;
    left: 20%;
}

.clouds {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.cloud:nth-child(1) {
    width: 200px;
    height: 60px;
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.cloud:nth-child(2) {
    width: 150px;
    height: 40px;
    top: 25%;
    right: 30%;
    animation-delay: 5s;
}

.cloud:nth-child(3) {
    width: 180px;
    height: 50px;
    top: 35%;
    left: 60%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-10px) translateX(20px); }
    66% { transform: translateY(5px) translateX(-15px); }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-primary {
    background: var(--deep-sleep);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 45, 77, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(30, 45, 77, 0.3);
    background: var(--twilight);
}

.btn-secondary {
    background: white;
    color: var(--deep-sleep);
    border: 2px solid var(--soft-mist);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #FAFBFC;
    border-color: var(--sage-calm);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: var(--deep-sleep);
    color: white;
    box-shadow: var(--shadow-sm);
}

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

.btn-small {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

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

.card-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    z-index: 2;
    background: transparent;
}

.section-alt {
    background: rgba(255, 255, 255, 0.02);
}

.section-light {
    background: rgba(255, 255, 255, 0.01);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sage-calm);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.section-desc {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 100px;
    background: transparent;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    width: 100%;
}

.hero-left {
    opacity: 0;
    animation: slideInLeft 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

.brand-essence {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sage-calm);
    margin-bottom: 25px;
    font-weight: 600;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
    color: white;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    line-height: 1.4;
}

.hero-visual {
    position: relative;
    height: 600px;
    opacity: 0;
    animation: slideInRight 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

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

/* ========================================
   METRICS CARDS
   ======================================== */
.sleep-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.metric-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sage-calm);
}

.metric-number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    color: white;
    display: block;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.product-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.12);
}

.product-image {
    height: 280px;
    background: linear-gradient(145deg, var(--sage-calm), var(--lavender-smoke));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--sage-calm);
    color: var(--deep-sleep);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-normal);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.product-action-btn:hover {
    background: var(--sage-calm);
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-category {
    font-size: 12px;
    color: var(--sage-calm);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: white;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.original-price {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
    text-decoration: line-through;
    margin-left: 8px;
}

.add-to-cart-btn {
    background: var(--deep-sleep);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.add-to-cart-btn:hover {
    background: var(--twilight);
    transform: translateY(-2px);
}

/* ========================================
   FORM STYLES
   ======================================== */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--deep-sleep);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--soft-mist);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    transition: var(--transition-normal);
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--sage-calm);
    box-shadow: 0 0 0 4px rgba(203, 218, 213, 0.2);
}

.form-input::placeholder {
    color: var(--deep-charcoal);
    opacity: 0.5;
}

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

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

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--sage-calm);
}

.form-error {
    color: var(--error);
    font-size: 13px;
    margin-top: 6px;
}

/* ========================================
   CART STYLES
   ======================================== */
.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(145deg, var(--sage-calm), var(--lavender-smoke));
}

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

.cart-item-details h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 8px;
}

.cart-item-details p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    opacity: 1;
    margin-bottom: 15px;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.quantity-btn {
    color: white;
}

.quantity-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.quantity-value {
    width: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.cart-item-price {
    text-align: right;
}

.cart-item-price .price {
    font-size: 20px;
    margin-bottom: 15px;
}

.remove-item {
    background: none;
    border: none;
    color: var(--error);
    font-size: 14px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-normal);
}

.remove-item:hover {
    opacity: 1;
}

.cart-summary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.cart-summary h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.summary-row.total {
    font-size: 20px;
    font-weight: 600;
    color: white;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: transparent;
}

.page-title {
    font-size: 56px;
    margin-bottom: 20px;
    color: white;
}

.page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: var(--sage-calm);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #FFFFFF;
    padding: 60px 0 30px;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--deep-sleep);
}

.footer-section p {
    color: var(--deep-charcoal);
    line-height: 1.6;
}

.footer-section a {
    color: var(--deep-charcoal);
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--deep-sleep);
    transform: translateX(3px);
}

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

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

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-sleep);
    transition: var(--transition-normal);
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-link:hover {
    background: var(--sage-calm);
    color: var(--deep-sleep);
    transform: translateY(-3px);
}

/* TNAADO Badge */
.tnaado-badge-container {
    display: inline-block;
    position: relative;
    margin: 10px;
}

.tnaado-verification-badge {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
    background: url('../emblem.png') center/contain no-repeat;
}

.tnaado-verification-badge:hover {
    transform: scale(1.1);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: white; }
.text-muted { color: var(--deep-charcoal); opacity: 0.7; }

.bg-white { background: white; }
.bg-dark { background: var(--midnight-blue); }
.bg-light { background: var(--soft-mist); }
.bg-gray { background: #F8F9FA; }
.bg-gray-light { background: #FAFBFC; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-5 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

/* Multi-column Layout Utilities */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

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

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

/* Content Split Layouts */
.split-50-50 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.split-60-40 {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.split-40-60 {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.split-70-30 {
    display: grid;
    grid-template-columns: 2.33fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.split-30-70 {
    display: grid;
    grid-template-columns: 1fr 2.33fr;
    gap: var(--spacing-xl);
    align-items: center;
}

/* Gap Utilities */
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

/* Flex Utilities */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* Border Utilities */
.border { border: 1px solid #E8EBF0; }
.border-top { border-top: 1px solid #E8EBF0; }
.border-bottom { border-bottom: 1px solid #E8EBF0; }
.border-left { border-left: 1px solid #E8EBF0; }
.border-right { border-right: 1px solid #E8EBF0; }
.border-thick { border-width: 2px; }
.border-sage { border-color: var(--sage-calm); }
.border-navy { border-color: var(--deep-sleep); }

/* Rounded Corners */
.rounded { border-radius: var(--radius-md); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: 9999px; }

/* Shadow Utilities */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-none { box-shadow: none; }

/* Text Utilities */
.text-navy { color: var(--deep-sleep); }
.text-charcoal { color: var(--deep-charcoal); }
.text-sage { color: var(--sage-calm); }

/* Content Cards */
.content-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.content-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--sage-calm);
    background: rgba(255, 255, 255, 0.12);
}

.content-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: white;
    margin-bottom: 16px;
}

.content-card-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Feature Box */
.feature-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    transition: var(--transition-normal);
}

.feature-box:hover {
    border-color: var(--sage-calm);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--sage-calm);
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* CTA Banner */
.cta-banner {
    background: var(--deep-sleep);
    color: white;
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 16px;
    color: white;
}

.cta-banner-text {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.cta-banner .btn-primary {
    background: white;
    color: var(--deep-sleep);
}

.cta-banner .btn-primary:hover {
    background: var(--sage-calm);
    color: var(--deep-sleep);
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, var(--sage-calm), var(--lavender-smoke));
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--deep-sleep);
}

.info-banner-title {
    font-weight: 600;
    color: var(--deep-sleep);
    margin-bottom: 8px;
}

.info-banner-text {
    color: var(--deep-charcoal);
    font-size: 14px;
}

/* Stats Display */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 600;
    color: white;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonial Card */
.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-quote {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.testimonial-name {
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.testimonial-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

/* Image Card */
.image-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.image-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.image-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.image-card-content {
    padding: var(--spacing-md);
}

.image-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: white;
    margin-bottom: 12px;
}

.image-card-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* List Styles for White Background */
.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.styled-list li:last-child {
    border-bottom: none;
}

.styled-list li::before {
    content: "✓";
    color: var(--sage-calm);
    font-weight: bold;
    margin-right: 12px;
}

/* Divider */
.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: var(--spacing-lg) 0;
}

.divider-thick {
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.divider-gradient {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sage-calm), transparent);
}

/* Quote Block */
.quote-block {
    border-left: 4px solid var(--sage-calm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin: var(--spacing-lg) 0;
}

.quote-block-author {
    font-style: normal;
    font-weight: 600;
    color: white;
    margin-top: 12px;
    font-size: 14px;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #FFF9E6, #FFF3D6);
    border: 2px solid #FFE4A1;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.highlight-box-title {
    font-weight: 600;
    color: var(--deep-sleep);
    margin-bottom: 8px;
}

/* Icon Button */
.icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    color: white;
}

.icon-btn:hover {
    background: var(--sage-calm);
    color: var(--deep-sleep);
    border-color: var(--sage-calm);
    transform: scale(1.1);
}

/* Breadcrumb Light */
.breadcrumb-light {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-light a {
    color: var(--sage-calm);
    text-decoration: none;
}

.breadcrumb-light a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb-light .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .container-wide {
        padding: 0 20px;
    }

    .hero-content {
        gap: 60px;
    }

    .nav-menu {
        gap: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--midnight-blue);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        right: 0;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-visual {
        height: 400px;
    }

    .sleep-metrics {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-item-image {
        margin: 0 auto;
    }

    .cart-item-price {
        text-align: center;
    }

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

    .page-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    /* Responsive grid utilities */
    .grid-2-col,
    .grid-3-col,
    .grid-4-col,
    .split-50-50,
    .split-60-40,
    .split-40-60,
    .split-70-30,
    .split-30-70 {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn-large {
        padding: 16px 32px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-banner-title {
        font-size: 28px;
    }

    .cta-banner-text {
        font-size: 16px;
    }

    .stat-value {
        font-size: 36px;
    }

    .grid-auto-fit,
    .grid-auto-fill {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   LOADING STATES
   ======================================== */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid var(--soft-mist);
    border-top-color: var(--sage-calm);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInToast 0.3s ease;
    max-width: 400px;
}

@keyframes slideInToast {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--error); }
.toast.info { border-left: 4px solid var(--info); }

/* ========================================
   MODAL STYLES
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--soft-mist);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 24px;
    color: var(--deep-sleep);
}

.modal-close {
    width: 40px;
    height: 40px;
    background: var(--soft-mist);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.modal-close:hover {
    background: var(--sage-calm);
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--soft-mist);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}
