/* ============================================
   DIG LYFE VAPOR CO. — Brand Stylesheet
   Palette: Charcoal (#1A1D23 / #2C3038) + Coral (#FF6B4A / #FF8F75)
   Fonts: Inter (body) + Space Grotesk (headings)
============================================ */

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

:root {
    --charcoal-deep: #1A1D23;
    --charcoal-mid: #2C3038;
    --charcoal-light: #3D4250;
    --coral-primary: #FF6B4A;
    --coral-light: #FF8F75;
    --coral-dark: #E85535;
    --white: #FFFFFF;
    --off-white: #F5F6F8;
    --gray-100: #E8EAED;
    --gray-200: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-600: #6B7280;
    --gray-800: #374151;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(26, 29, 35, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 29, 35, 0.10);
    --shadow-lg: 0 12px 40px rgba(26, 29, 35, 0.14);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal-deep);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--charcoal-deep);
}

.logo-accent {
    color: var(--coral-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--charcoal-deep);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral-primary);
    transition: width var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 74, 0.35);
}

.btn-secondary {
    background: var(--charcoal-deep);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--charcoal-mid);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-nav {
    background: var(--charcoal-deep);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-nav:hover {
    background: var(--coral-primary);
}

.btn-light {
    background: var(--white);
    color: var(--charcoal-deep);
}

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* --- Mobile Nav Toggle --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--charcoal-deep);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--off-white);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--coral-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 28px;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--coral-primary);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--charcoal-deep);
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: normal;
    color: var(--coral-primary);
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 28px 0;
    border-top: 1px solid var(--gray-100);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--charcoal-deep);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
    margin: 0 24px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-stack {
    position: relative;
    height: 620px;
}

.hero-img {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img-primary {
    width: 500px;
    height: 620px;
    top: 0;
    right: 0;
}

.hero-img-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-secondary {
    width: 300px;
    height: 380px;
    bottom: 40px;
    left: 0;
    z-index: 2;
}

.hero-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-accent-box {
    position: absolute;
    bottom: 200px;
    right: -20px;
    z-index: 3;
    background: var(--charcoal-deep);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: var(--shadow-lg);
}

.accent-box-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--coral-light);
    font-weight: 600;
}

.accent-box-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--coral-primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--charcoal-deep);
    margin-bottom: 20px;
}

/* --- Features --- */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

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

.feature-card {
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--transition);
}

.feature-card:hover {
    background: var(--white);
    border-color: var(--coral-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal-deep);
    border-radius: var(--radius-sm);
    color: var(--coral-light);
    margin-bottom: 24px;
}

.feature-card:hover .feature-icon {
    background: var(--coral-primary);
    color: var(--white);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal-deep);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--gray-600);
}

/* --- Products --- */
.products {
    padding: 100px 0;
    background: var(--charcoal-deep);
    color: var(--white);
}

.products-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.products-info .section-label {
    color: var(--coral-light);
}

.products-info .section-title {
    color: var(--white);
}

.products-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 40px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--charcoal-mid);
    border: 1px solid var(--charcoal-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.category-item:hover {
    border-color: var(--coral-primary);
    background: rgba(255, 107, 74, 0.08);
}

.category-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral-primary);
    flex-shrink: 0;
}

.category-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    flex: 1;
}

.category-count {
    font-size: 0.82rem;
    color: var(--gray-400);
    display: none;
}

.products-visual {
    position: relative;
    height: 480px;
}

.product-img-main {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.product-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-img-float {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--charcoal-deep);
}

.product-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- CTA Strip --- */
.cta-strip {
    padding: 80px 0;
    background: var(--coral-primary);
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Location --- */
.location {
    padding: 100px 0;
    background: var(--off-white);
}

.location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.location-info .section-title {
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    color: var(--coral-primary);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-size: 0.95rem;
    color: var(--charcoal-deep);
    font-weight: 500;
}

.contact-link {
    color: var(--coral-primary);
}

.contact-link:hover {
    color: var(--coral-dark);
    text-decoration: underline;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.location-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 640px;
}

.location-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal-deep);
    color: var(--white);
    padding: 64px 0 0;
}

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

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-200);
}

.footer-links a:hover {
    color: var(--coral-light);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-contact .contact-link {
    font-size: 0.9rem;
    color: var(--coral-light);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--gray-600);
}

.footer-legal {
    font-size: 0.78rem !important;
    color: var(--gray-600) !important;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-image-stack {
        height: 500px;
    }

    .hero-img-primary {
        width: 380px;
        height: 500px;
    }

    .hero-img-secondary {
        width: 240px;
        height: 300px;
    }

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

    .products-layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

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

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

    .products-visual {
        order: -1;
        height: 320px;
    }

    .product-img-float {
        display: none;
    }

    .location-layout {
        grid-template-columns: 1fr;
    }

    .location-visual {
        display: none;
    }

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

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

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
