/* ==========================================
   Sayar Perfume - Main Stylesheet
   Modern, Responsive, Accessible
   ========================================== */

/* CSS Variables */
:root {
    /* Colors - Dark Theme (Default) */
    --color-black: #0a0a0a;
    --color-black-light: #1a1a1a;
    --color-black-medium: #2a2a2a;
    --color-gold: #d4af37;
    --color-gold-light: #f0d77c;
    --color-gold-dark: #b8962e;
    --color-white: #ffffff;
    --color-white-muted: rgba(255, 255, 255, 0.7);
    --color-white-subtle: rgba(255, 255, 255, 0.1);

    /* Force dark theme regardless of system preference */
    color-scheme: dark;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
    --gradient-dark: linear-gradient(180deg, var(--color-black) 0%, var(--color-black-light) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.9) 100%);

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Fluid Spacing - scales with viewport */
    --space-xs: clamp(0.375rem, 0.5vw + 0.25rem, 0.5rem);
    --space-sm: clamp(0.75rem, 1vw + 0.5rem, 1rem);
    --space-md: clamp(1rem, 1.5vw + 0.5rem, 1.5rem);
    --space-lg: clamp(1.5rem, 2vw + 0.5rem, 2rem);
    --space-xl: clamp(2rem, 3vw + 0.5rem, 3rem);
    --space-2xl: clamp(3rem, 5vw + 1rem, 5rem);
    --space-3xl: clamp(4rem, 6vw + 1rem, 8rem);

    /* Borders */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 5px 30px rgba(212, 175, 55, 0.3);

    /* Container widths */
    --container-max: 1200px;
    --container-padding: clamp(1rem, 4vw, 1.5rem);

    /* Touch target minimum size */
    --touch-target-min: 44px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 0.5vw + 13px, 16px);
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-black);
    overflow-x: hidden;
    overflow-y: scroll;
    /* Prevent layout shift from scrollbar */
    min-height: 100vh;
    min-height: 100dvh;
    /* Dynamic viewport height for mobile */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure dark theme colors even if user has light mode preference */
@media (prefers-color-scheme: light) {
    :root {
        color-scheme: dark;
    }

    body {
        background-color: var(--color-black);
        color: var(--color-white);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Remove outline for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
.btn:focus:not(:focus-visible) {
    outline: none;
}

ul,
li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    box-sizing: border-box;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.875rem, 1vw + 0.5rem, 1rem) clamp(1.5rem, 2vw + 0.5rem, 2rem);
    font-size: clamp(0.8rem, 0.5vw + 0.7rem, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    cursor: pointer;
    min-height: var(--touch-target-min);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-black);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.btn-full {
    width: 100%;
}

/* ==========================================
   Header
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition-base);
    /* Ensure header works well with safe areas (notch, etc.) */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-xs) 0;
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: clamp(0.2rem, 0.5vw, 0.3rem);
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw + 0.5rem, 1.5rem);
    font-weight: 700;
    flex-shrink: 0;
}

.logo-image {
    width: clamp(40px, 5vw + 20px, 50px);
    height: clamp(40px, 5vw + 20px, 50px);
    object-fit: contain;
    transition: var(--transition-base);
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    flex-shrink: 0;
}

.logo:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.logo-text-wrapper {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
}

.logo-text {
    color: var(--color-white);
    white-space: nowrap;
}

.logo .logo-accent {
    font-family: 'Great Vibes', cursive;
    color: var(--color-gold);
    margin-left: clamp(0.1rem, 0.2vw, 0.2rem);
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw + 0.5rem, 2.2rem);
    line-height: 1;
    transform: translateY(4px);
    white-space: nowrap;
}

/* Navigation */
.nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
}

.nav-link {
    position: relative;
    font-size: clamp(0.75rem, 0.5vw + 0.6rem, 0.85rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-white-muted);
    padding: var(--space-xs) 0;
    white-space: nowrap;
    min-height: var(--touch-target-min);
    display: flex;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after {
    width: 100%;
}

/* Burger Menu */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    padding: 10px;
    z-index: 1001;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-base);
    transform-origin: center;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.nav.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for mobile browsers */
    background: var(--color-black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.nav.active .nav-list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.nav.active .nav-link {
    font-size: clamp(1rem, 3vw + 0.5rem, 1.2rem);
    min-height: 48px;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-black);
    overflow: hidden;
    scroll-margin-top: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-2xl) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: visible;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: 50px;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: clamp(2.5rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-md);
    text-align: center;
    width: 100%;
    overflow: visible;
}

.hero-title-main {
    display: block;
    color: var(--color-white);
    transform: translateX(-0.15em);
}

.hero-title-accent {
    display: block;
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.1em;
    line-height: 1.4;
    padding-bottom: 0.15em;
    transform: translateX(0.1em);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-gold-light);
    margin-bottom: var(--space-md);
}

.hero-description {
    max-width: min(550px, 90vw);
    margin: 0 auto var(--space-lg);
    font-size: clamp(0.9rem, 1vw + 0.5rem, 1.05rem);
    color: var(--color-white-muted);
    line-height: 1.7;
    text-align: center;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 380px;
}

.hero-buttons .btn {
    width: 100%;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-white-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll-icon {
    width: 20px;
    height: 30px;
    border: 1px solid var(--color-white-muted);
    border-radius: 10px;
    position: relative;
}

.hero-scroll-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

/* ==========================================
   Section Styles
   ========================================== */
.section {
    min-height: 100vh;
    min-height: 100dvh;
    padding: var(--space-2xl) 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section>.container {
    flex: 0 1 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: clamp(0.65rem, 0.5vw + 0.5rem, 0.7rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50px;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(1.75rem, 4vw + 0.5rem, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(0.9rem, 0.5vw + 0.7rem, 1rem);
    color: var(--color-white-muted);
    max-width: min(600px, 90vw);
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================
   About Section
   ========================================== */
.about {
    background: var(--gradient-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.about-card {
    background: var(--color-black-light);
    border: 1px solid var(--color-white-subtle);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition-base);
}

.about-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

@media (hover: none) {
    .about-card:hover {
        transform: none;
    }
}

.about-icon {
    width: clamp(50px, 8vw, 60px);
    height: clamp(50px, 8vw, 60px);
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    color: var(--color-gold);
}

.about-icon svg {
    width: clamp(24px, 4vw, 28px);
    height: clamp(24px, 4vw, 28px);
}

.about-card-title {
    font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.3rem);
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.about-card-text {
    font-size: clamp(0.85rem, 0.5vw + 0.7rem, 0.9rem);
    color: var(--color-white-muted);
    line-height: 1.7;
}

/* ==========================================
   Products Section
   ========================================== */
.products {
    background: var(--color-black);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.product-card {
    background: var(--color-black-light);
    border: 1px solid var(--color-white-subtle);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.product-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

@media (hover: none) {
    .product-card:hover {
        transform: none;
    }
}

.product-image {
    position: relative;
    height: clamp(140px, 20vw, 200px);
    background: linear-gradient(135deg, var(--color-black-medium) 0%, var(--color-black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.product-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

.product-icon svg {
    width: 100%;
    height: 100%;
}

.product-content {
    padding: var(--space-lg);
}

.product-title {
    font-size: clamp(1.25rem, 2vw + 0.5rem, 1.5rem);
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.product-text {
    font-size: clamp(0.85rem, 0.5vw + 0.7rem, 0.95rem);
    color: var(--color-white-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.product-features li {
    padding: var(--space-xs) var(--space-sm);
    font-size: clamp(0.7rem, 0.5vw + 0.6rem, 0.8rem);
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50px;
}

/* ==========================================
   Partners Section
   ========================================== */
.partners {
    background: var(--gradient-dark);
}

.partners-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.partners-text p {
    font-size: clamp(0.9rem, 0.5vw + 0.7rem, 1rem);
    color: var(--color-white-muted);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.partners-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.partners-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: clamp(0.85rem, 0.5vw + 0.7rem, 0.95rem);
    color: var(--color-white);
}

.partners-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(20px, 3vw, 24px);
    height: clamp(20px, 3vw, 24px);
    background: var(--color-gold);
    color: var(--color-black);
    border-radius: 50%;
    font-size: clamp(0.65rem, 0.5vw + 0.5rem, 0.75rem);
    font-weight: 600;
    flex-shrink: 0;
}

.partners-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.stat-item {
    background: var(--color-black-light);
    border: 1px solid var(--color-white-subtle);
    border-radius: var(--border-radius-lg);
    padding: var(--space-md);
    text-align: center;
    transition: var(--transition-base);
}

.stat-item:hover {
    border-color: var(--color-gold);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: clamp(0.7rem, 0.5vw + 0.5rem, 0.85rem);
    color: var(--color-white-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================
   B2B Section
   ========================================== */
.b2b {
    background: var(--color-black);
    overflow: hidden;
}

.b2b-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.b2b-content .section-badge {
    display: inline-block;
}

.b2b-content .section-title {
    text-align: left;
    margin-bottom: var(--space-sm);
}

.b2b-text {
    font-size: clamp(0.9rem, 0.5vw + 0.7rem, 1rem);
    color: var(--color-white-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.b2b-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.b2b-benefit {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--color-black-light);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
}

.b2b-benefit:hover {
    background: var(--color-black-medium);
}

.b2b-benefit-icon {
    flex-shrink: 0;
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--color-gold);
}

.b2b-benefit-text strong {
    display: block;
    font-size: clamp(0.85rem, 0.5vw + 0.7rem, 0.95rem);
    color: var(--color-white);
    margin-bottom: 2px;
}

.b2b-benefit-text span {
    font-size: clamp(0.8rem, 0.5vw + 0.65rem, 0.85rem);
    color: var(--color-white-muted);
}

.b2b-visual {
    display: none;
}

.b2b-card {
    background: linear-gradient(135deg, var(--color-black-light) 0%, var(--color-black-medium) 100%);
    border: 1px solid var(--color-gold);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-gold);
}

.b2b-card-header {
    margin-bottom: var(--space-sm);
}

.b2b-card-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: clamp(0.6rem, 0.5vw + 0.5rem, 0.7rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--color-gold);
    color: var(--color-black);
    border-radius: 50px;
    margin-bottom: var(--space-xs);
}

.b2b-card-header h4 {
    font-size: clamp(1.25rem, 2vw + 0.5rem, 1.5rem);
    color: var(--color-white);
}

.b2b-card-desc {
    font-size: clamp(0.8rem, 0.5vw + 0.7rem, 0.9rem);
    color: var(--color-white-muted);
    margin-bottom: var(--space-sm);
}

/* ==========================================
   AI Bot Section
   ========================================== */
.ai-bot {
    background: var(--color-black);
    overflow: hidden;
}

.ai-bot-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.ai-bot-content {
    text-align: center;
}

.ai-bot-icon {
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    color: var(--color-gold);
}

.ai-bot-icon svg {
    width: clamp(30px, 5vw, 40px);
    height: clamp(30px, 5vw, 40px);
}

.ai-bot-title {
    font-size: clamp(1.4rem, 3vw + 0.5rem, 1.8rem);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.ai-bot-text {
    font-size: clamp(0.9rem, 0.5vw + 0.7rem, 1rem);
    color: var(--color-white-muted);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    max-width: min(500px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.ai-bot-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.ai-bot-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--color-black-light);
    border-radius: var(--border-radius);
    font-size: clamp(0.8rem, 0.5vw + 0.65rem, 0.9rem);
    color: var(--color-white);
}

.ai-bot-feature-icon {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    flex-shrink: 0;
}

.ai-bot-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.ai-bot-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ai-bot-visual {
    display: none;
}

.ai-bot-mockup {
    background: var(--color-black-light);
    border: 1px solid var(--color-white-subtle);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.ai-bot-mockup-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-black-medium);
    border-bottom: 1px solid var(--color-white-subtle);
}

.ai-bot-mockup-dot {
    width: 10px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 50%;
}

.ai-bot-mockup-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
}

.ai-bot-mockup-name .accent {
    font-family: 'Great Vibes', cursive;
    font-size: 1.3em;
    font-weight: 400;
    color: var(--color-gold);
}

.ai-bot-mockup-chat {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-height: 200px;
}

.ai-bot-message {
    max-width: 80%;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    line-height: 1.5;
}

.ai-bot-message.bot {
    background: var(--color-black-medium);
    color: var(--color-white);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.ai-bot-message.user {
    background: var(--gradient-gold);
    color: var(--color-black);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Desktop AI Bot */
@media (min-width: 768px) {
    .ai-bot-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.b2b-card-content ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.b2b-card-content li {
    font-size: 0.9rem;
    color: var(--color-white);
    padding-left: var(--space-md);
    position: relative;
}

.b2b-card-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

/* ==========================================
   Reviews Section
   ========================================== */
.reviews {
    background: var(--gradient-dark);
}

.reviews-slider {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 100%;
    padding: var(--space-xl);
    background: var(--color-black-light);
    border: 1px solid var(--color-white-subtle);
    border-radius: var(--border-radius-lg);
    margin: 0 var(--space-sm);
}

.review-stars {
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
    letter-spacing: 4px;
}

.review-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.review-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.review-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    font-weight: 600;
    color: var(--color-black);
    font-size: 0.9rem;
}

.review-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
}

.review-role {
    font-size: 0.8rem;
    color: var(--color-white-muted);
}

.reviews-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.review-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black-light);
    border: 1px solid var(--color-white-subtle);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition-base);
}

.review-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
}

.review-btn svg {
    width: 20px;
    height: 20px;
}

.reviews-dots {
    display: flex;
    gap: var(--space-xs);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-white-subtle);
    transition: var(--transition-base);
    cursor: pointer;
}

.dot.active {
    background: var(--color-gold);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================
   Social Networks Section
   ========================================== */
.social {
    background: var(--gradient-dark);
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.social-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-black-light);
    border: 1px solid var(--color-white-subtle);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-base);
    min-height: var(--touch-target-min);
}

.social-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

@media (hover: none) {
    .social-card:hover {
        transform: none;
    }
}

.social-card-icon {
    width: clamp(48px, 8vw, 60px);
    height: clamp(48px, 8vw, 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition-base);
    flex-shrink: 0;
}

.social-card:hover .social-card-icon {
    background: var(--color-gold);
    color: var(--color-black);
}

.social-card-icon svg {
    width: clamp(22px, 4vw, 28px);
    height: clamp(22px, 4vw, 28px);
}

.social-card-content {
    flex: 1;
    min-width: 0;
}

.social-card-title {
    font-size: clamp(1.2rem, 2vw + 0.5rem, 1.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0;
}

.social-card-arrow {
    color: var(--color-gold);
    transform: translateX(0);
    transition: var(--transition-base);
}

.social-card:hover .social-card-arrow {
    transform: translateX(10px);
}

/* ==========================================
   Contacts Section
   ========================================== */
.contacts {
    background: var(--color-black);
}

.contacts-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.contacts-info-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contacts-map-column {
    width: 100%;
}

.map-container {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-white-subtle);
    background: var(--color-black-light);
}

.map-wrapper {
    width: 100%;
    height: 350px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 50%, transparent 100%);
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    pointer-events: none;
}

.map-address-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    pointer-events: auto;
}

.map-address-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    color: var(--color-black);
    box-shadow: var(--shadow-gold);
}

.map-address-icon svg {
    width: 24px;
    height: 24px;
}

.map-address-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.map-address-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
}

.map-address-location {
    font-size: 0.95rem;
    color: var(--color-white-muted);
}

/* Desktop Layout */
@media (min-width: 768px) {
    .map-wrapper {
        height: 400px;
    }
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.contact-icon {
    flex-shrink: 0;
    width: clamp(44px, 6vw, 50px);
    height: clamp(44px, 6vw, 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    color: var(--color-gold);
}

.contact-icon svg {
    width: clamp(18px, 3vw, 22px);
    height: clamp(18px, 3vw, 22px);
}

.contact-label {
    display: block;
    font-size: clamp(0.7rem, 0.5vw + 0.6rem, 0.8rem);
    color: var(--color-white-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.contact-value {
    font-size: clamp(0.9rem, 0.5vw + 0.7rem, 1rem);
    color: var(--color-white);
    transition: var(--transition-base);
    word-break: break-word;
}

a.contact-value:hover {
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black-light);
    border: 1px solid var(--color-white-subtle);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    background: var(--color-black-light);
    border: 1px solid var(--color-white-subtle);
    border-radius: var(--border-radius);
    color: var(--color-white);
    transition: var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-white-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: var(--space-md);
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--color-white-muted);
    pointer-events: none;
    transition: var(--transition-base);
    opacity: 0;
}

.form-group textarea~label {
    top: var(--space-md);
    transform: none;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 0.75rem;
    color: var(--color-gold);
    background: var(--color-black);
    padding: 0 5px;
    opacity: 1;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--color-black-light);
    padding: var(--space-lg) 0 var(--space-md);
    border-top: 1px solid var(--color-white-subtle);
    /* Safe area for mobile devices */
    padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom));
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
    margin-bottom: var(--space-sm);
}

.footer-brand .logo {
    justify-content: center;
    margin-bottom: var(--space-xs);
}

.footer-desc {
    font-size: clamp(0.85rem, 0.5vw + 0.7rem, 0.9rem);
    color: var(--color-white-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs) var(--space-sm);
}

.footer-links a {
    font-size: clamp(0.8rem, 0.5vw + 0.65rem, 0.85rem);
    color: var(--color-white-muted);
    transition: var(--transition-base);
    min-height: var(--touch-target-min);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-white-subtle);
}

.footer-bottom p {
    font-size: clamp(0.75rem, 0.5vw + 0.6rem, 0.8rem);
    color: var(--color-white-muted);
}

/* ==========================================
   Animations
   ========================================== */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in:nth-child(1) {
    animation-delay: 0.2s;
}

.animate-fade-in:nth-child(2) {
    animation-delay: 0.4s;
}

.animate-fade-in:nth-child(3) {
    animation-delay: 0.6s;
}

.animate-fade-in:nth-child(4) {
    animation-delay: 0.8s;
}

.animate-fade-in:nth-child(5) {
    animation-delay: 1s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility classes for better touch experience */
.touch-manipulation {
    touch-action: manipulation;
}

/* Selection styling */
::selection {
    background: var(--color-gold);
    color: var(--color-black);
}

::-moz-selection {
    background: var(--color-gold);
    color: var(--color-black);
}

/* Scrollbar styling for Webkit browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-black-light);
}

::-webkit-scrollbar-thumb {
    background: var(--color-black-medium);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--color-black-medium) var(--color-black-light);
}

/* ==========================================
   Responsive Design
   ========================================== */

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    html {
        scroll-padding-top: 70px;
    }

    .section {
        padding: var(--space-xl) 0;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .section-header {
        margin-bottom: var(--space-md);
    }

    .logo-text-wrapper {
        flex-direction: column;
        line-height: 1;
        justify-content: center;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo .logo-accent {
        font-size: 1.3rem;
        margin-left: 0;
        transform: translateY(0);
    }

    .hero-title-main {
        transform: translateX(-0.1em);
    }

    .hero-title-accent {
        transform: translateX(0.05em);
    }

    .hero-content {
        padding: var(--space-xl) var(--space-sm);
    }

    /* Tighter spacing on small screens */
    .about-card,
    .social-card,
    .contact-item {
        padding: var(--space-sm);
    }

    .ai-bot-features {
        gap: var(--space-xs);
    }

    .b2b-benefits {
        gap: var(--space-xs);
    }
}

/* Mobile - Landscape & Large phones (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    html {
        scroll-padding-top: 70px;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-bot-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        max-width: none;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .b2b-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-bot-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contacts-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .map-wrapper {
        height: 400px;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .nav {
        display: flex;
    }

    .burger {
        display: none;
    }

    .logo-image {
        width: 60px;
        height: 60px;
    }

    .logo {
        font-size: 1.6rem;
    }

    .about-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .partners-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .b2b-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .b2b-visual {
        display: block;
    }

    .ai-bot-wrapper {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .ai-bot-content {
        text-align: left;
    }

    .ai-bot-icon {
        margin-left: 0;
    }

    .ai-bot-text {
        margin-left: 0;
    }

    .ai-bot-feature {
        justify-content: flex-start;
    }

    .ai-bot-visual {
        display: block;
    }

    .contacts-layout {
        grid-template-columns: 1fr 1.5fr;
        align-items: stretch;
    }

    .contacts-info-column {
        justify-content: center;
    }

    .map-wrapper {
        height: 100%;
        min-height: 450px;
    }

    .map-container {
        height: 100%;
    }

    .review-card {
        flex: 0 0 calc(100% / 3 - var(--space-md));
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-brand .logo {
        justify-content: flex-start;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .logo-image {
        width: 70px;
        height: 70px;
    }
}

/* High resolution displays */
@media (min-resolution: 2dppx) {
    .hero-bg::before {
        opacity: 0.02;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {

    .header,
    .hero-scroll,
    .burger,
    .ai-bot-visual,
    .b2b-visual {
        display: none !important;
    }

    .section {
        padding: 1rem 0;
        break-inside: avoid;
    }

    body {
        color: #000;
        background: #fff;
    }

    .section-title,
    .product-title,
    .about-card-title {
        color: #000;
    }
}