/* ==========================================
   Global Styles & Variables
   ========================================== */

:root {
    /* Core Colors */
    --pink-primary: #FF6B9D;
    --purple-accent: #C364EF;
    --gradient-accent: linear-gradient(135deg, #FF6B9D 0%, #C364EF 100%);

    /* Neutrals - Light Mode */
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-tertiary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border: #e5e7eb;

    /* Legacy support */
    --primary-pink: #FF6B9D;
    --primary-purple: #C364EF;
    --dark: #1a1a2e;
    --white: #ffffff;
    --off-white: #f9fafb;
    --gray-200: #e5e7eb;
    --border-color: #e5e7eb;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --gradient-primary: linear-gradient(135deg, #FF6B9D 0%, #C364EF 100%);
}

[data-theme="dark"] {
    /* Neutrals - Dark Mode */
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a2e;
    --border: #2d2d44;

    /* Legacy support */
    --dark: #0f0f23;
    --white: #0f0f23;
    --off-white: #1a1a2e;
    --gray-200: #2d2d44;
    --border-color: #2d2d44;
    --card-bg: #1a1a2e;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px;
    --section-padding-mobile: 40px;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Modern Effects */
    --blur-glass: blur(20px) saturate(180%);
    --gradient-border: linear-gradient(135deg, var(--primary-pink), var(--primary-purple), var(--accent-blue));
}

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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: rgba(255, 107, 157, 0.1);
}

/* Mobile touch optimization */
button,
a,
input,
textarea,
select {
    touch-action: manipulation;
}

/* Prevent iOS text size adjust */
html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    background: #FFF5F8;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
    background: #0f0f23;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

h1 { font-size: 4rem; font-weight: 900; letter-spacing: -1px; }
h2 { font-size: 2.5rem; font-weight: 800; }
h3 { font-size: 1.75rem; font-weight: 700; }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* ==========================================
   Navigation
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 107, 157, 0.2);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo-img {
    height: 75px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

.logo h1 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo h1::before {
    content: '🍬';
    font-size: 1.5rem;
}

[data-theme="dark"] .logo h1 {
    color: #ffffff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-links li {
    margin: 0;
}

.nav-links a:not(.btn-primary) {
    display: block;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.nav-links a:not(.btn-primary):hover {
    color: #1a1a2e;
    background: rgba(255, 107, 157, 0.08);
}

[data-theme="dark"] .nav-links a:not(.btn-primary) {
    color: #d1d5db;
}

[data-theme="dark"] .nav-links a:not(.btn-primary):hover {
    color: #ffffff;
    background: rgba(255, 107, 157, 0.15);
}

/* Contact Us Button - Make it STAND OUT */
.nav-links .btn-primary {
    margin-left: 0.5rem;
    padding: 0.65rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: #FF6B9D;
    color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.nav-links .btn-primary:hover {
    background: #ff5a8f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #FF6B9D;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.25);
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
    background: #ff5a8f;
}

.theme-toggle svg {
    position: absolute;
    transition: all 0.3s ease;
    color: white;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
    font-size: 1rem;
    text-decoration: none;
    line-height: 1.5;
    white-space: nowrap;
}

.btn-primary {
    background: #FF6B9D;
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(255, 107, 157, 0.3);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    clip-path: inset(0 round 8px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    animation: shimmer-slide 4s infinite;
    border-radius: 8px;
}

@keyframes shimmer-slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.btn-primary:hover {
    background: #ff5a8f;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: #1a1a2e;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: #fef3f8;
    border-color: #FF6B9D;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.2);
}

[data-theme="dark"] .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-secondary:hover {
    border-color: #FF6B9D;
    background: rgba(255, 107, 157, 0.1);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 50px;
}

.btn-block {
    width: 100%;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease;
    padding: 3rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .hero-content {
    background: rgba(15, 15, 35, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.hero-logo {
    height: 140px;
    width: auto;
    margin: 0 auto 2.5rem;
    display: block;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

[data-theme="dark"] .hero-logo {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -1px;
    font-weight: 900;
    color: var(--text-primary);
}

[data-theme="dark"] .hero-title {
    color: #ffffff;
}


[data-theme="dark"] .hero-title {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5),
                 0 4px 40px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    font-weight: 900;
}

[data-theme="dark"] .gradient-text {
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 580px;
    line-height: 1.6;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.9),
                 0 4px 30px rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .hero-subtitle {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6),
                 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    align-items: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
    border-top: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.9),
                 0 4px 30px rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .stat-number {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6),
                 0 4px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .stat-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.9),
                 0 4px 30px rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .stat-label {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6),
                 0 4px 30px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ==========================================
   Section Styles
   ========================================== */

section {
    padding: calc(var(--section-padding) * 2) 0 calc(var(--section-padding) * 1.75) 0;
}

.section-header {
    text-align: center;
    margin-top: 0;
    margin-bottom: 5rem;
    position: relative;
}

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    animation: slideIn 0.2s ease-out forwards;
    transform-origin: center;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.75px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* ==========================================
   Products Section
   ========================================== */

.products {
    background: #FFEEF5;
    margin-bottom: 4rem;
}

.products .container {
    padding-top: 6rem;
}

[data-theme="dark"] .products {
    background: var(--bg-secondary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding-bottom: 8rem;
}

.product-card {
    background: var(--card-bg);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 107, 157, 0.3);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.product-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.product-card p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
}

.card-link {
    color: var(--primary-pink);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
    font-size: 0.95rem;
}

.card-link:hover {
    gap: 1rem;
}

/* ==========================================
   About Section
   ========================================== */

.about {
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .about::before {
    background: rgba(26, 26, 46, 0.85);
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    padding-bottom: 8rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 0;
}

.feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
}

.feature h4 {
    margin-bottom: 0.35rem;
    color: var(--text-primary);
    font-weight: 700;
}

.feature p {
    margin: 0;
    font-size: 0.95rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    animation: float 6s ease-in-out infinite;
}

.about-illustration {
    max-width: 100%;
    height: auto;
    width: 100%;
}

/* ==========================================
   Wholesale Section
   ========================================== */

.wholesale {
    background: var(--gradient-primary);
    color: var(--white);
    margin-top: 4rem;
}

.wholesale-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 8rem;
}

.wholesale-card::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    margin: 0 auto 3rem;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.wholesale-card::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    margin: 3rem auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Special styling for wholesale section header on gradient background */
.wholesale .section-header {
    margin-top: 0;
    margin-bottom: 3rem;
}

.wholesale .section-header::after {
    display: none;
}

.wholesale .section-title {
    color: #ffffff;
}

.wholesale .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.wholesale-card h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.wholesale-card > p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.wholesale-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    margin: 3rem 0;
}

.benefit-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wholesale-card .btn-primary {
    background: #ffffff;
    color: #FF6B9D;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.wholesale-card .btn-primary:hover {
    background: #f9fafb;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ==========================================
   Contact Section
   ========================================== */

.contact {
    background: #FFEEF5;
    margin-top: 4rem;
}

.contact .container {
    padding-top: 6rem;
}

[data-theme="dark"] .contact {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    background: var(--card-bg);
    padding: 2.5rem;
    padding-bottom: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    margin-bottom: 6rem;
}

.contact-map {
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.contact-info h2 {
    margin-bottom: 0.75rem;
}

.contact-info > p {
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-item svg {
    min-width: 24px;
    color: var(--primary-pink);
}

.contact-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-base);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
    background: var(--bg-primary);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--gray-100);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    background: var(--gray-100);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 3px solid transparent;
    border-image: var(--gradient-primary);
    border-image-slice: 1;
}

[data-theme="dark"] .footer {
    background: linear-gradient(180deg, #0a0a18 0%, #05050f 100%);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-established {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.footer-contact h4 {
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-contact a:hover {
    color: #FF6B9D;
    transform: translateX(3px);
}

.footer-address {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ==========================================
   Scroll-Driven Animations
   ========================================== */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
    animation: fade-in-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
}

.animate-scale-on-scroll {
    animation: scale-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 25%;
}

/* Staggered delays for grid items */
.animate-delay-1 { animation-delay: 0ms; }
.animate-delay-2 { animation-delay: 30ms; }
.animate-delay-3 { animation-delay: 60ms; }
.animate-delay-4 { animation-delay: 90ms; }
.animate-delay-5 { animation-delay: 120ms; }
.animate-delay-6 { animation-delay: 150ms; }

/* Fallback for browsers that don't support scroll-driven animations */
@supports not (animation-timeline: view()) {
    .animate-on-scroll,
    .animate-scale-on-scroll {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ==========================================
   Responsive Design
   ========================================== */

/* ==========================================
   Mobile Optimization (Enterprise Level)
   ========================================== */

@media (max-width: 968px) {
    :root {
        --section-padding: 60px;
    }

    /* Mobile Navigation - Compact & Clean */
    .navbar {
        padding: 0;
    }

    .nav-wrapper {
        padding: 0.625rem 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        order: 1;
        flex-shrink: 0;
    }

    .logo-img {
        height: 32px;
    }

    /* Show nav-links with only Login */
    .nav-links {
        order: 3;
        display: flex;
        gap: 0;
        align-items: center;
        margin: 0;
        margin-left: 0.25rem;
    }

    .nav-links li {
        display: none;
    }

    /* Show only Login link */
    .nav-links li:nth-child(4) {
        display: block;
    }

    .nav-links a:not(.btn-primary) {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--text-primary);
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .nav-links a:not(.btn-primary):hover {
        background: rgba(255, 107, 157, 0.1);
    }

    /* Theme toggle comes before Login */
    .nav-controls {
        order: 2;
        display: flex;
        align-items: center;
        gap: 0;
        margin-left: auto;
        margin-right: 0;
    }

    /* Hide hamburger menu toggle */
    .mobile-menu-toggle {
        display: none !important;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-logo {
        height: 100px;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }

    .hero-cta .btn {
        flex: 1 1 auto;
        min-width: 140px;
        min-height: 50px;
        font-size: 0.95rem;
        padding: 0.875rem 1.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 2.5rem;
    }

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

    .stat-label {
        font-size: 0.95rem;
    }

    /* Product Cards Mobile */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-card {
        padding: 2rem 1.5rem;
    }

    .product-icon {
        font-size: 3rem;
    }

    /* About Section Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        order: -1;
    }

    .features {
        gap: 1.5rem;
    }

    .feature {
        gap: 1rem;
    }

    .feature-icon {
        min-width: 48px;
        min-height: 48px;
        width: 48px;
        height: 48px;
    }

    /* Wholesale Section Mobile */
    .wholesale-card h2 {
        font-size: 2rem;
        line-height: 1.25;
    }

    .wholesale-card > p {
        font-size: 1.05rem;
    }

    .wholesale-benefits {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .benefit-badge {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wholesale-card .btn {
        min-height: 52px;
        font-size: 1rem;
    }

    /* Contact Section Mobile */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem 1.5rem;
    }

    .contact-map {
        min-height: 300px;
    }

    .contact-map iframe {
        min-height: 300px;
    }

    .form-group input,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents iOS zoom */
        padding: 0.85rem;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-item {
        min-height: 44px;
    }

    .btn-block {
        min-height: 52px;
    }

    /* Section Headers Mobile */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.05rem;
    }

    /* Scroll Indicator Mobile */
    .scroll-indicator {
        display: none;
    }

    /* Section Header Responsive */
    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 50px;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-logo {
        height: 80px;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        gap: 0.75rem;
    }

    .hero-cta .btn {
        font-size: 0.9rem;
        padding: 0.875rem 1.25rem;
        min-height: 48px;
    }

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

    .stat-label {
        font-size: 0.875rem;
    }

    .product-card {
        padding: 1.75rem 1.25rem;
    }

    .contact-wrapper {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 250px;
    }

    .about-illustration {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    .wholesale-card h2 {
        font-size: 1.75rem;
    }

    .wholesale-card > p {
        font-size: 1rem;
    }

    section {
        padding: var(--section-padding-mobile) 0;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
    }

    .footer-brand h3 {
        font-size: 1.25rem;
    }

    .footer-established {
        font-size: 1rem;
    }

    /* Ensure all interactive elements meet 44px minimum */
    button,
    .btn,
    a.btn,
    input[type="submit"] {
        min-height: 48px;
        touch-action: manipulation;
    }

    input,
    textarea,
    select {
        font-size: 16px; /* Prevents iOS zoom */
    }

    /* Section Header Responsive */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* Ultra-small phones (320px - 480px) */
@media (max-width: 480px) {
    :root {
        --section-padding-mobile: 30px;
    }

    /* Navigation - Maintain compact mobile nav */
    .logo-img {
        height: 30px;
    }

    .theme-toggle {
        width: 34px;
        height: 34px;
    }

    .nav-controls {
        margin-right: 0;
    }

    .nav-links {
        margin-left: 0.25rem;
    }

    .nav-links a:not(.btn-primary) {
        padding: 0.375rem 0.625rem;
        font-size: 0.8125rem;
    }

    /* Hero Section - Tighter padding */
    .hero-content {
        padding: 1.5rem 1rem;
    }

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

    .hero-stats {
        gap: 2rem;
    }

    /* Product Grid - Force single column, reduce padding */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 2rem 1.5rem;
    }

    /* Contact Section - Smaller map */
    .contact-map,
    .contact-map iframe {
        min-height: 200px;
    }

    .contact-wrapper {
        padding: 1.5rem 1rem;
    }

    /* Footer - Adjust spacing */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-brand h3 {
        font-size: 1.125rem;
    }

    /* Form Elements - Consistent touch targets */
    .form-group input,
    .form-group textarea {
        padding: 0.875rem 0.875rem;
        font-size: 16px;
        min-height: 48px;
    }

    /* Wholesale Section - Tighter layout */
    .wholesale-benefits {
        gap: 1rem;
    }

    .wholesale-benefit,
    .benefit-badge {
        padding: 1rem 0.875rem;
        font-size: 0.9rem;
    }
}

/* Tablets - Footer layout adjustment */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================
   Animations & Effects
   ========================================== */

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