/* ============================
   Doziva Brand Website Styles
   ============================ */

/* --- CSS Variables --- */
:root {
    --color-primary: #2D6BB4;
    --color-primary-light: #4A8ED6;
    --color-accent: #4CC8D4;
    --color-dark: #0D1B2A;
    --color-dark-alt: #1A1A2E;
    --color-text: #374151;
    --color-text-light: #6B7280;
    --color-text-lighter: #9CA3AF;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-bg-dark: #0B1120;
    --color-border: #E5E7EB;
    --gradient-brand: linear-gradient(135deg, #4A6CF7, #4CC8D4);
    --gradient-brand-reverse: linear-gradient(135deg, #4CC8D4, #4A6CF7);
    --gradient-dark: linear-gradient(135deg, #0D1B2A, #1A1A2E);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --container-max: 1200px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(74, 108, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 108, 247, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* ============================
   Navigation
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: var(--nav-height);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: opacity var(--transition-base);
}

.nav-logo-dark {
    opacity: 0;
    position: absolute;
}

.nav-logo-light {
    opacity: 1;
}

.navbar.scrolled .nav-logo-dark {
    opacity: 1;
    position: relative;
}

.navbar.scrolled .nav-logo-light {
    opacity: 0;
    position: absolute;
}

.nav-logo:hover img {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.navbar.scrolled .nav-link {
    color: var(--color-text);
}

.nav-link:hover {
    color: var(--color-accent);
}

.navbar.scrolled .nav-link:hover {
    color: var(--color-primary);
    background: var(--color-bg-alt);
}

.nav-link--cta {
    background: var(--gradient-brand);
    color: #fff !important;
    padding: 8px 24px;
    margin-left: 8px;
}

.nav-link--cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-dark);
}

.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 Section
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 27, 42, 0.85) 0%,
        rgba(13, 27, 42, 0.5) 40%,
        rgba(13, 27, 42, 0.3) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    border: 1px solid rgba(76, 200, 212, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    background: rgba(76, 200, 212, 0.08);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* ============================
   About Section
   ============================ */
.about {
    padding: 120px 0;
    background: var(--color-bg);
}

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

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 4px;
}

/* ============================
   Products Section
   ============================ */
.products {
    padding: 120px 0;
    background: var(--color-bg-alt);
}

.color-showcase {
    text-align: center;
    margin-bottom: 64px;
}

.color-showcase-img {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.color-showcase-text {
    margin-top: 16px;
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 500;
    letter-spacing: 1px;
}

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

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

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

.product-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    background: var(--gradient-brand);
    border-radius: 50px;
    letter-spacing: 1px;
}

.product-card-badge--pro {
    background: linear-gradient(135deg, #1a1a2e, #333);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/7;
}

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

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

.product-card-content {
    padding: 32px;
}

.product-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.product-card-material {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.product-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-card-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.product-card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--color-text);
}

.product-card-features li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-accent);
}

/* ============================
   Features Section
   ============================ */
.features {
    padding: 120px 0;
    background: var(--color-bg);
}

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

.feature-card {
    padding: 36px 28px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

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

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================
   AI Advisor Section
   ============================ */
.ai-advisor {
    padding: 120px 0;
    background: var(--color-bg-alt);
}

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

.advisor-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.advisor-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.advisor-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.advisor-feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    border-radius: var(--radius-sm);
    color: #fff;
}

.advisor-feature-icon svg {
    width: 22px;
    height: 22px;
}

.advisor-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.advisor-feature p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.advisor-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.advisor-image img {
    width: 100%;
    transition: transform var(--transition-slow);
}

.advisor-image:hover img {
    transform: scale(1.03);
}

/* ============================
   Sleep Section
   ============================ */
.sleep-section {
    padding: 120px 0;
    background: var(--color-bg);
}

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

.sleep-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.sleep-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.sleep-metrics {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sleep-metric-bar {
    height: 8px;
    background: var(--color-bg-alt);
    border-radius: 4px;
    overflow: hidden;
}

.sleep-metric-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-brand);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sleep-metric-fill.animated {
    width: var(--fill-width);
}

.sleep-metric-info {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.88rem;
}

.sleep-metric-info span:first-child {
    color: var(--color-text-light);
}

.sleep-metric-info span:last-child {
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================
   Lifestyle Section
   ============================ */
.lifestyle {
    padding: 120px 0;
    background: var(--color-bg-alt);
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.lifestyle-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.lifestyle-item--large {
    grid-row: 1 / 3;
}

.lifestyle-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.lifestyle-item:hover img {
    transform: scale(1.05);
}

.lifestyle-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.lifestyle-item:hover .lifestyle-overlay {
    opacity: 1;
}

.lifestyle-overlay span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ============================
   CTA Section
   ============================ */
.cta-section {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(13, 27, 42, 0.7) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.cta-contact-info {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.cta-contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.cta-contact-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

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

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--color-bg-dark);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================
   App Download Section
   ============================ */
.app-section {
    padding: 120px 0;
    background: var(--color-bg);
}

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

.app-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.app-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-qr {
    display: flex;
    justify-content: center;
}

.qr-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-base);
    max-width: 320px;
}

.qr-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.qr-card img {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: var(--radius-sm);
}

.qr-card p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.qr-card span {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ============================
   Footer Contact Details
   ============================ */
.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.footer-contact-details a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

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

.footer-contact-details svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* ============================
   Animations
   ============================ */
[data-animate] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 1024px) {
    .about-grid,
    .advisor-grid,
    .sleep-grid {
        gap: 48px;
    }

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

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

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(11, 17, 32, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: right var(--transition-base);
    }

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

    .nav-link {
        color: rgba(255, 255, 255, 0.8);
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--color-accent);
    }

    .nav-link--cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .about-grid,
    .advisor-grid,
    .sleep-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .advisor-grid {
        direction: ltr;
    }

    .advisor-image {
        order: -1;
    }

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

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

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

    .lifestyle-item--large {
        grid-row: auto;
    }

    .lifestyle-item {
        aspect-ratio: 4/3;
    }

    .lifestyle-item--large {
        aspect-ratio: 3/4;
    }

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

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

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .about,
    .products,
    .features,
    .ai-advisor,
    .sleep-section,
    .lifestyle,
    .app-section {
        padding: 80px 0;
    }

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

    .cta-contact-info {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-section {
        padding: 100px 0;
    }

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

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

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

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

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .product-card-content {
        padding: 24px;
    }
}

/* ============================
   Scrollbar
   ============================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Selection */
::selection {
    background: rgba(76, 200, 212, 0.2);
    color: var(--color-dark);
}
