/* ═══════════════════════════════════════════════════════════
   EWRISTO — Premium Edible Caffeine Bracelets
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Colors - Luxe Coffee Palette */
    --bg-dark: #0a0908;
    --bg-elevated: #141210;
    --bg-card: #1a1815;
    
    --text-primary: #f5f0e8;
    --text-secondary: #a39e94;
    --text-muted: #6b6660;
    
    --accent: #c9a86c;
    --accent-light: #e0c99a;
    --accent-dark: #a68a4d;
    
    --espresso: #3d2b1f;
    --espresso-light: #5c4033;
    --matcha: #4a5d23;
    --matcha-light: #6b8e23;
    --caramel: #8b6914;
    --caramel-light: #d4a84b;
    --berry: #722f37;
    --berry-light: #a84450;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Syne', system-ui, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ═══════════════════════════════════════════════════════════
   Reset & Base
   ═══════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent);
    color: var(--bg-dark);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ═══════════════════════════════════════════════════════════
   Cursor Glow Effect
   ═══════════════════════════════════════════════════════════ */

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 168, 108, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════════ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(to bottom, var(--bg-dark), transparent);
    transition: background 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
    background: rgba(10, 9, 8, 0.95);
    backdrop-filter: blur(20px);
    padding: var(--space-xs) var(--space-md);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

.cart-btn {
    position: relative;
    color: var(--text-primary);
    padding: var(--space-xs);
    transition: color 0.3s ease;
}

.cart-btn:hover {
    color: var(--accent);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: var(--bg-dark);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.3s var(--ease-out);
}

.cart-count.active {
    transform: scale(1);
}

/* ═══════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: var(--space-xl) var(--space-lg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(201, 168, 108, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(61, 43, 31, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-elevated) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero-content {
    max-width: 600px;
}

.hero-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { 
    animation-delay: 0.45s;
    color: var(--accent);
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 450px;
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.75s forwards;
}

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

/* Hero Visual - Bracelet Animation */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.bracelet-showcase {
    position: relative;
    width: 350px;
    height: 350px;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotateX(10deg); }
    50% { transform: translateY(-20px) rotateX(15deg); }
}

.bracelet-ring {
    position: absolute;
    inset: 0;
    animation: rotate 30s linear infinite;
}

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

.bracelet-bead {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--espresso-light) 0%, var(--espresso) 100%);
    box-shadow: 
        inset -4px -4px 8px rgba(0,0,0,0.4),
        inset 4px 4px 8px rgba(255,255,255,0.1),
        0 10px 30px rgba(0,0,0,0.3);
    left: 50%;
    top: 50%;
    transform-origin: center;
    transform: 
        rotate(calc(var(--i) * 30deg)) 
        translateY(-140px) 
        rotate(calc(var(--i) * -30deg));
}

.bracelet-bead:nth-child(odd) {
    background: linear-gradient(135deg, var(--caramel-light) 0%, var(--caramel) 100%);
}

.bracelet-bead:nth-child(3n) {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-dark) 100%);
}

.bracelet-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(201, 168, 108, 0.2) 0%, transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ═══════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(201, 168, 108, 0.3);
}

.btn-ghost {
    border: 1px solid var(--text-muted);
    color: var(--text-primary);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-add {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-primary);
}

.btn-add:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
}

.btn-add svg {
    transition: transform 0.3s var(--ease-out);
}

.btn-add:hover svg {
    transform: rotate(90deg);
}

/* ═══════════════════════════════════════════════════════════
   Stats Bar
   ═══════════════════════════════════════════════════════════ */

.stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-md);
    background: var(--bg-elevated);
    border-top: 1px solid rgba(201, 168, 108, 0.1);
    border-bottom: 1px solid rgba(201, 168, 108, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--accent);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    opacity: 0.3;
}

/* ═══════════════════════════════════════════════════════════
   Section Headers
   ═══════════════════════════════════════════════════════════ */

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

.section-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
}

/* ═══════════════════════════════════════════════════════════
   Collection / Products
   ═══════════════════════════════════════════════════════════ */

.collection {
    padding: var(--space-xl) var(--space-lg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(201, 168, 108, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover .product-image::before {
    opacity: 1;
}

.product-bracelet {
    position: relative;
    width: 140px;
    height: 140px;
    transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-bracelet {
    transform: rotate(15deg) scale(1.05);
}

.mini-bead {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform-origin: center;
    transform: 
        rotate(calc(var(--i) * 45deg)) 
        translateY(-55px) 
        rotate(calc(var(--i) * -45deg));
    box-shadow: 
        inset -3px -3px 6px rgba(0,0,0,0.4),
        inset 3px 3px 6px rgba(255,255,255,0.1),
        0 5px 15px rgba(0,0,0,0.2);
}

.product-bracelet.espresso .mini-bead {
    background: linear-gradient(135deg, var(--espresso-light) 0%, var(--espresso) 100%);
}

.product-bracelet.espresso .mini-bead:nth-child(odd) {
    background: linear-gradient(135deg, #4a3828 0%, #2a1a10 100%);
}

.product-bracelet.matcha .mini-bead {
    background: linear-gradient(135deg, var(--matcha-light) 0%, var(--matcha) 100%);
}

.product-bracelet.matcha .mini-bead:nth-child(odd) {
    background: linear-gradient(135deg, #8fbc8f 0%, #556b2f 100%);
}

.product-bracelet.caramel .mini-bead {
    background: linear-gradient(135deg, var(--caramel-light) 0%, var(--caramel) 100%);
}

.product-bracelet.caramel .mini-bead:nth-child(odd) {
    background: linear-gradient(135deg, #daa520 0%, #8b6914 100%);
}

.product-bracelet.berry .mini-bead {
    background: linear-gradient(135deg, var(--berry-light) 0%, var(--berry) 100%);
}

.product-bracelet.berry .mini-bead:nth-child(odd) {
    background: linear-gradient(135deg, #c75050 0%, #5a1a1a 100%);
}

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--bg-dark);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
}

.product-badge.new {
    background: var(--matcha-light);
}

.product-info {
    padding: var(--space-md);
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-xs);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.product-caffeine {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   Story Section
   ═══════════════════════════════════════════════════════════ */

.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) var(--space-lg);
    align-items: center;
}

.story-visual {
    position: relative;
}

.story-image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
}

.image-frame {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, var(--bg-elevated) 0%, var(--espresso) 50%, var(--bg-dark) 100%);
}

.beans-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 20px 30px at 20% 20%, var(--espresso-light) 0%, transparent 70%),
        radial-gradient(ellipse 20px 30px at 60% 40%, var(--caramel) 0%, transparent 70%),
        radial-gradient(ellipse 20px 30px at 40% 70%, var(--espresso-light) 0%, transparent 70%),
        radial-gradient(ellipse 20px 30px at 80% 80%, var(--caramel) 0%, transparent 70%),
        radial-gradient(ellipse 20px 30px at 30% 50%, var(--accent-dark) 0%, transparent 70%),
        radial-gradient(ellipse 20px 30px at 70% 20%, var(--espresso-light) 0%, transparent 70%),
        radial-gradient(ellipse 20px 30px at 50% 90%, var(--caramel) 0%, transparent 70%);
    opacity: 0.6;
    animation: beansFloat 20s ease-in-out infinite;
}

@keyframes beansFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.story-floating-text {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 300;
    font-style: italic;
    color: var(--accent);
    opacity: 0.2;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.story-content {
    max-width: 500px;
}

.story-text {
    margin-bottom: var(--space-md);
}

.story-text p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-size: 1.05rem;
}

.story-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.value {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.value-icon {
    color: var(--accent);
    font-size: 0.8rem;
}

.value-text {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   Science Section
   ═══════════════════════════════════════════════════════════ */

.science {
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-elevated);
}

.science-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto var(--space-lg);
}

.step {
    position: relative;
    padding: var(--space-md);
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid rgba(201, 168, 108, 0.1);
    transition: border-color 0.4s ease, transform 0.4s var(--ease-out);
}

.step:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 300;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: var(--space-xs);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-visual {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(201, 168, 108, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 30px;
    height: 30px;
    background: var(--accent);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.step-icon.wrist {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
}

.step-icon.bite {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.step-icon.energy {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
}

.science-cta {
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   Testimonials
   ═══════════════════════════════════════════════════════════ */

.testimonials {
    padding: var(--space-lg) 0;
    overflow: hidden;
    border-top: 1px solid rgba(201, 168, 108, 0.1);
    border-bottom: 1px solid rgba(201, 168, 108, 0.1);
}

.testimonials-track {
    display: flex;
    gap: var(--space-lg);
    animation: scroll 40s linear infinite;
    width: max-content;
}

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

.testimonial {
    flex-shrink: 0;
    width: 400px;
    padding: var(--space-md);
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   Newsletter
   ═══════════════════════════════════════════════════════════ */

.newsletter {
    position: relative;
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    overflow: hidden;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: var(--space-xs);
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.newsletter-form {
    display: flex;
    gap: var(--space-xs);
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(201, 168, 108, 0.2);
    border-radius: 100px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    border-color: var(--accent);
}

.newsletter-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decor-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 108, 0.1);
}

.decor-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.decor-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
}

.decor-circle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 20%;
    right: -50px;
}

/* ═══════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════ */

.footer {
    padding: var(--space-xl) var(--space-lg) var(--space-md);
    background: var(--bg-elevated);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    max-width: 250px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.footer-col h4 {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(201, 168, 108, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

/* ═══════════════════════════════════════════════════════════
   Cart Sidebar
   ═══════════════════════════════════════════════════════════ */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 2000;
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: var(--bg-card);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 2001;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid rgba(201, 168, 108, 0.1);
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
}

.cart-close {
    color: var(--text-secondary);
    padding: var(--space-xs);
    transition: color 0.3s ease;
}

.cart-close:hover {
    color: var(--text-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
}

.cart-empty {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.cart-empty p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--bg-elevated);
    border-radius: 12px;
    margin-bottom: var(--space-sm);
    animation: slideIn 0.3s var(--ease-out);
}

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

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-mini-bracelet {
    width: 40px;
    height: 40px;
    position: relative;
}

.cart-mini-bracelet .mini-bead {
    width: 12px;
    height: 12px;
    transform: 
        rotate(calc(var(--i) * 45deg)) 
        translateY(-16px) 
        rotate(calc(var(--i) * -45deg));
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.cart-item-remove {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: var(--berry-light);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-item-qty button:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

.cart-item-qty span {
    min-width: 20px;
    text-align: center;
}

.cart-footer {
    padding: var(--space-md);
    border-top: 1px solid rgba(201, 168, 108, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.cart-total span:last-child {
    color: var(--accent);
    font-size: 1.5rem;
}

.btn-checkout {
    width: 100%;
    justify-content: center;
}

.cart-shipping {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* ═══════════════════════════════════════════════════════════
   Toast Notification
   ═══════════════════════════════════════════════════════════ */

.toast {
    position: fixed;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(201, 168, 108, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
    z-index: 3000;
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-icon {
    font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: var(--space-md);
    }
    
    .bracelet-showcase {
        width: 250px;
        height: 250px;
    }
    
    .bracelet-bead {
        width: 30px;
        height: 30px;
        transform: 
            rotate(calc(var(--i) * 30deg)) 
            translateY(-100px) 
            rotate(calc(var(--i) * -30deg));
    }
    
    .story {
        grid-template-columns: 1fr;
    }
    
    .story-visual {
        order: -1;
    }
    
    .science-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .stats-bar {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat {
        flex: 1 1 40%;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 2rem;
        --space-xl: 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   Animations - Intersection Observer Triggered
   ═══════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

