/* ============================================================
   VAPOR NOIR — Premium Vape Shop
   Dark elegant theme · Gold + Electric Purple accents
   ============================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors */
    --black: #000000;
    --bg: #0a0a0a;
    --bg-2: #111111;
    --bg-3: #161616;
    --surface: #1a1a1a;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);

    --text: #f5f5f5;
    --text-mute: #a1a1a1;
    --text-dim: #6b6b6b;

    --gold: #d4af37;
    --gold-light: #f4d35e;
    --gold-deep: #8a6d1f;
    --gold-glow: rgba(212, 175, 55, 0.45);

    --purple: #a855f7;
    --purple-light: #c084fc;
    --purple-deep: #6d28d9;
    --purple-glow: rgba(168, 85, 247, 0.55);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;

    /* Layout */
    --container: 1320px;
    --header-h: 76px;

    /* Easing */
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    min-height: 100vh;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.4s var(--ease);
}

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

ul {
    list-style: none;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--surface);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-deep);
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.overline {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: transparent;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.section-sub {
    color: var(--text-mute);
    font-size: 17px;
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin: 0 auto 80px;
    max-width: 800px;
}

.section-header .overline,
.section-header .section-title,
.section-header .section-sub {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--text);
    color: var(--black);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 999px;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.5s var(--ease), color 0.4s var(--ease);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep));
    transform: translateY(101%);
    transition: transform 0.5s var(--ease);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--black);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    transform: translateY(0);
}

.btn-primary svg {
    transition: transform 0.4s var(--ease);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.btn-primary:disabled:hover::before {
    transform: translateY(101%);
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    border-bottom-color: var(--line);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.4s var(--ease);
}

.brand:hover .brand-mark {
    background: var(--gold);
    color: var(--black);
}

.brand-text {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.35em;
    color: var(--text);
}

.brand-text em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    position: relative;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-mute);
    padding: 6px 0;
    transition: color 0.4s var(--ease);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease);
}

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

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

.cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    transition: all 0.4s var(--ease);
}

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

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: var(--black);
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(20, 20, 20, 1) 0%, var(--bg) 70%);
    z-index: -3;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
    z-index: -2;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
}

.hero-glow-gold {
    background: var(--gold);
    top: 10%;
    left: -10%;
    animation: float 14s ease-in-out infinite;
}

.hero-glow-purple {
    background: var(--purple);
    bottom: 10%;
    right: -10%;
    animation: float 16s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(60px, -40px); }
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 120px 32px 160px;
    max-width: 900px;
}

.hero-overline {
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 14vw, 11rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-title-line span,
.hero-title-line {
    display: block;
}

.hero-title .accent {
    font-style: italic;
    color: transparent;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-mute);
    margin-bottom: 56px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-tagline em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text);
}

.hero .btn-primary {
    opacity: 0;
    transform: translateY(20px);
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    opacity: 0;
}

.scroll-line {
    position: relative;
    width: 1px;
    height: 38px;
    background: rgba(212, 175, 55, 0.25);
    overflow: hidden;
}

.scroll-line span {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scroll-line 2.4s ease-in-out infinite;
}

@media (max-height: 720px) {
    .hero-scroll {
        display: none;
    }
}

@keyframes scroll-line {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ---------- Vape Animation Section ---------- */
.vape-section {
    position: relative;
    background: linear-gradient(180deg, var(--bg) 0%, #060606 50%, var(--bg) 100%);
}

.vape-sticky {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.vape-text {
    max-width: 480px;
}

.vape-intro {
    color: var(--text-mute);
    font-size: 17px;
    margin-bottom: 56px;
    max-width: 380px;
}

.vape-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vape-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    opacity: 0.25;
    transform: translateX(-10px);
    transition: all 0.6s var(--ease);
}

.vape-step:last-child {
    border-bottom: 1px solid var(--line);
}

.vape-step.active {
    opacity: 1;
    transform: translateX(0);
}

.vape-step.active .step-num {
    color: var(--gold);
}

.vape-step.active h3 {
    color: var(--text);
}

.step-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--text-dim);
    min-width: 24px;
    transition: color 0.5s var(--ease);
}

.vape-step h3 {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-mute);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    transition: color 0.5s var(--ease);
}

.vape-step p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}

/* Vape SVG */
.vape-visual {
    position: relative;
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 600px;
}

.vape-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.vape-svg {
    position: relative;
    z-index: 1;
    height: 80vh;
    max-height: 640px;
    width: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.vape-part {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
}

.vape-label {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
    z-index: 2;
    transition: opacity 0.4s var(--ease);
}

/* ---------- Products ---------- */
.products-section {
    padding: 160px 0;
    background: var(--bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.6s var(--ease), border-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.8),
        0 0 80px -20px rgba(212, 175, 55, 0.2);
}

.product-image {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--bg-3);
    overflow: hidden;
}

.product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1s var(--ease);
}

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

.product-placeholder {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    transition: transform 1s var(--ease);
}

.product-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0, transparent 12px, rgba(255, 255, 255, 0.02) 12px, rgba(255, 255, 255, 0.02) 13px);
    opacity: 0.5;
}

.product-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 160px;
    transform: translate(-50%, -50%);
    background:
        linear-gradient(180deg,
            transparent 0%,
            transparent 12%,
            rgba(212, 175, 55, 0.18) 12%,
            rgba(212, 175, 55, 0.08) 18%,
            rgba(255, 255, 255, 0.05) 22%,
            rgba(255, 255, 255, 0.05) 88%,
            rgba(212, 175, 55, 0.18) 88%,
            transparent 95%,
            transparent 100%);
    border-radius: 12px;
    opacity: 0.7;
    transition: transform 1s var(--ease), opacity 0.5s var(--ease);
}

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

.product-card:hover .product-placeholder::after {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
}

.product-tag {
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 0.1em;
    z-index: 2;
}

.product-info {
    padding: 24px 28px 28px;
    border-top: 1px solid var(--line);
}

.product-info h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-price {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.02em;
}

.add-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

.add-cart:hover {
    background: var(--text);
    color: var(--black);
    border-color: var(--text);
}

.add-cart.added {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

/* ---------- Flavors ---------- */
.flavors-section {
    padding: 160px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.flavors-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.flavors-section .container {
    position: relative;
    z-index: 1;
}

.flavors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.flavor-card {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.55s var(--ease), border-color 0.5s var(--ease), box-shadow 0.55s var(--ease);
    cursor: pointer;
}

.flavor-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow:
        0 25px 50px -20px rgba(0, 0, 0, 0.7),
        0 0 60px -20px rgba(212, 175, 55, 0.15);
}

.flavor-swatch {
    position: relative;
    aspect-ratio: 2 / 3;
    background: var(--flavor);
    overflow: hidden;
}

.flavor-swatch-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.9s var(--ease);
}

.flavor-card:hover .flavor-swatch-img {
    transform: scale(1.05);
}

.flavor-num {
    position: absolute;
    top: 14px;
    left: 18px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    z-index: 2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.flavor-info {
    padding: 22px 24px 24px;
    border-top: 1px solid var(--line);
}

.flavor-info h3 {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.flavor-notes {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.flavor-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.flavor-price {
    font-size: 15px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.02em;
}

.add-flavor {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    transition: all 0.4s var(--ease);
    flex-shrink: 0;
}

.add-flavor:hover {
    background: var(--text);
    color: var(--black);
    border-color: var(--text);
    transform: rotate(90deg);
}

.add-flavor.added {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: rotate(90deg);
}

/* ---------- Why Us ---------- */
.why-section {
    padding: 160px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #060606 100%);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.feature-card {
    position: relative;
    padding: 56px 40px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s var(--ease);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.04), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.feature-card:hover {
    border-color: var(--gold-glow);
    transform: translateY(-6px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover .feature-icon {
    color: var(--gold);
    transform: rotate(5deg) scale(1.05);
}

.feature-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 32px;
    letter-spacing: 0.1em;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 36px;
    color: var(--text-mute);
    transition: all 0.6s var(--ease);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-mute);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-detail {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ---------- Footer ---------- */
.footer {
    padding: 120px 0 40px;
    background: var(--black);
    border-top: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 100px;
    margin-bottom: 80px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.footer-cta {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    flex: 1;
    min-width: 300px;
}

.footer-cta em {
    font-style: italic;
    color: transparent;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--line);
}

.footer-brand .brand-text {
    font-size: 18px;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-mute);
    transition: color 0.4s var(--ease);
}

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-links a {
    font-size: 14px;
    color: var(--text-mute);
    transition: color 0.4s var(--ease);
    width: fit-content;
    position: relative;
}

.social-links a::after {
    content: '↗';
    margin-left: 6px;
    opacity: 0;
    transition: all 0.3s var(--ease);
    display: inline-block;
}

.social-links a:hover {
    color: var(--gold);
}

.social-links a:hover::after {
    opacity: 1;
    transform: translate(2px, -2px);
}

.footer-bottom {
    padding-top: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--text-dim);
    font-size: 12px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.legal-links a {
    color: var(--text-dim);
    transition: color 0.4s var(--ease);
}

.legal-links a:hover {
    color: var(--text-mute);
}

.age-warning {
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    text-align: center;
}

/* ---------- Cart Panel ---------- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
    z-index: 200;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 460px;
    max-width: 100vw;
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.6s var(--ease-out);
    z-index: 201;
}

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

.cart-header {
    padding: 28px 32px 24px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cart-overline {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.cart-header h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--text);
}

.cart-close {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text-mute);
    transition: all 0.4s var(--ease);
}

.cart-close:hover {
    color: var(--text);
    border-color: var(--text);
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
}

.cart-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-mute);
    gap: 14px;
    padding: 40px 20px;
}

.cart-empty svg {
    color: var(--text-dim);
    margin-bottom: 4px;
}

.cart-empty p {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--text);
}

.cart-empty span {
    font-size: 13px;
    color: var(--text-dim);
}

.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
}

.cart-item:last-child {
    border-bottom: 0;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.cart-item-img::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 36px;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.4), rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.1) 70%, rgba(212, 175, 55, 0.4));
    border-radius: 4px;
}

.cart-item-info h4 {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 6px;
}

.cart-item-info .price {
    font-size: 13px;
    color: var(--gold);
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 10px;
}

.qty-control button {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    color: var(--text-mute);
    transition: color 0.3s var(--ease);
    font-size: 14px;
    line-height: 1;
}

.qty-control button:hover {
    color: var(--gold);
}

.qty-control span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    min-width: 14px;
    text-align: center;
}

.cart-item-remove {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s var(--ease);
}

.cart-item-remove:hover {
    color: #ff6b6b;
}

.cart-footer {
    padding: 24px 32px 28px;
    border-top: 1px solid var(--line);
    background: var(--bg-3);
}

.cart-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-mute);
    margin-bottom: 10px;
}

.cart-line.muted {
    color: var(--text-dim);
    font-size: 12px;
}

.cart-line.cart-total {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--text);
}

.cart-line.cart-total span:last-child {
    color: var(--gold);
    font-weight: 500;
}

.cart-checkout {
    width: 100%;
    margin-top: 20px;
    justify-content: center;
}

.cart-note {
    text-align: center;
    margin-top: 14px;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    padding: 14px 24px;
    background: var(--surface);
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--text);
    font-size: 13px;
    letter-spacing: 0.05em;
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(212, 175, 55, 0.15);
    white-space: nowrap;
}

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

/* ---------- Reveal Animations (initial state) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* ---------- Footer button ---------- */
.footer-btn {
    flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .vape-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .vape-text {
        max-width: 100%;
        margin: 0 auto;
        order: 2;
    }

    .vape-visual {
        order: 1;
        min-height: 400px;
    }

    .vape-svg {
        height: 50vh;
        max-height: 480px;
    }

    .vape-step {
        text-align: left;
    }

    .products-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flavors-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

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

    .nav {
        display: none;
    }

    .header-container {
        gap: 16px;
    }

    .hero-content {
        padding: 100px 20px 80px;
    }

    .products-section,
    .why-section {
        padding: 100px 0;
    }

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

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

    .feature-card {
        padding: 40px 28px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 60px;
        margin-bottom: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer {
        padding: 80px 0 32px;
    }

    .cart-panel {
        width: 100vw;
    }

    .vape-sticky {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 80px;
    }

    .section-header {
        margin-bottom: 56px;
    }
}
