/* ===================================================================
   itzmine – Customized Gifts | White & Blue Theme
   Premium Design System
   =================================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
    /* Blue Palette */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;

    /* Primary Colors */
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.25);

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* WhatsApp */
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    --gradient-hero: linear-gradient(135deg, #eff6ff 0%, #dbeafe 30%, #ffffff 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --gradient-cta: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 10px -2px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 40px -5px rgba(0,0,0,0.1), 0 8px 16px -4px rgba(0,0,0,0.05);
    --shadow-blue: 0 8px 30px rgba(37, 99, 235, 0.2);
    --shadow-float: 0 20px 60px rgba(37, 99, 235, 0.15);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

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

/* ---------- LOADER ---------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-ring {
    width: 50px;
    height: 50px;
    border: 3px solid var(--blue-100);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

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

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--blue-50);
}

.nav-link.active {
    color: var(--primary);
    background: var(--blue-50);
    font-weight: 600;
}

/* Nav CTA */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.nav-cta:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--gray-800);
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

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

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

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

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-spring);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-800);
    padding: 12px 32px;
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out);
}

.mobile-link:hover {
    color: var(--primary);
    background: var(--blue-50);
}

.mobile-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 16px 36px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

/* ---------- HERO SECTION ---------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--blue-200);
    top: -10%;
    right: -5%;
    animation: float1 12s ease-in-out infinite;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--blue-100);
    bottom: 10%;
    left: -5%;
    animation: float2 10s ease-in-out infinite;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(37, 99, 235, 0.1);
    top: 40%;
    left: 30%;
    animation: float3 8s ease-in-out infinite;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: rgba(96, 165, 250, 0.15);
    bottom: 20%;
    right: 20%;
    animation: float1 14s ease-in-out infinite reverse;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.05); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -25px) scale(1.03); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, 20px); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Content */
.hero-content {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--white);
    border: 1px solid var(--blue-200);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-800);
    border: 1.5px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-top: 4px;
    font-weight: 500;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    opacity: 0;
    transform: translateX(40px);
    animation: fadeInRight 0.8s var(--ease-out) 0.8s forwards;
}

.hero-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--white);
    transition: transform 0.4s var(--ease-spring);
}

.hero-card:hover {
    transform: scale(1.05) !important;
    z-index: 10;
}

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

.hero-card-1 {
    width: 260px;
    height: 300px;
    top: 10%;
    left: 5%;
    transform: rotate(-6deg);
    z-index: 3;
    animation: cardFloat1 6s ease-in-out infinite;
}

.hero-card-2 {
    width: 220px;
    height: 260px;
    top: 5%;
    right: 5%;
    transform: rotate(4deg);
    z-index: 2;
    animation: cardFloat2 7s ease-in-out infinite;
}

.hero-card-3 {
    width: 200px;
    height: 240px;
    bottom: 5%;
    left: 20%;
    transform: rotate(-3deg);
    z-index: 1;
    animation: cardFloat3 8s ease-in-out infinite;
}

@keyframes cardFloat1 {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(-10px); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: rotate(4deg) translateY(0); }
    50% { transform: rotate(6deg) translateY(-12px); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-1deg) translateY(-8px); }
}

/* Floating Tags */
.hero-float-tag {
    position: absolute;
    padding: 10px 18px;
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    box-shadow: var(--shadow-lg);
    z-index: 20;
    white-space: nowrap;
}

.tag-1 {
    top: 0;
    left: 45%;
    animation: tagFloat 5s ease-in-out infinite;
}

.tag-2 {
    bottom: 15%;
    right: 0;
    animation: tagFloat 6s ease-in-out infinite 1s;
}

.tag-3 {
    bottom: 0;
    left: 0;
    animation: tagFloat 7s ease-in-out infinite 0.5s;
}

@keyframes tagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 0.6s var(--ease-out) 1.5s forwards;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    color: var(--gray-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--primary);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -50%; }
    100% { top: 150%; }
}

/* ---------- MARQUEE BANNER ---------- */
.marquee-banner {
    background: var(--gradient-primary);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
}

.marquee-dot {
    opacity: 0.5;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- SECTION COMMON ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--blue-50);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid var(--blue-200);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- SHOP SECTION ---------- */
.shop-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.product-card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.4s var(--ease-out);
    opacity: 0;
    transform: translateY(30px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-float);
    border-color: var(--blue-200);
}

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

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-order-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-spring);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.product-card:hover .product-order-btn {
    transform: translateY(0);
}

.product-order-btn:hover {
    background: var(--whatsapp-dark);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
}

.product-badge.new {
    background: #06b6d4;
}

.product-badge.hot {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.product-info {
    padding: 22px 24px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}

.product-quick-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--blue-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s var(--ease-out);
}

.product-quick-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(3px);
}

/* Shop CTA */
.shop-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--blue-50);
    border-radius: var(--radius-xl);
    border: 1px dashed var(--blue-200);
}

.shop-cta p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    font-weight: 500;
}

/* ---------- HOW IT WORKS ---------- */
.hiw-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
    position: relative;
}

.hiw-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.hiw-line {
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue-200), var(--blue-400), var(--blue-200));
}

.hiw-step {
    display: flex;
    gap: 32px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s var(--ease-out);
}

.hiw-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.hiw-step:last-child {
    margin-bottom: 0;
}

.hiw-step-number {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-blue);
    position: relative;
    z-index: 2;
}

.hiw-step-number span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

.hiw-step-content {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: all 0.3s var(--ease-out);
}

.hiw-step-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue-200);
}

.hiw-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--blue-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 18px;
}

.hiw-step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.hiw-step-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* HIW CTA */
.hiw-cta {
    margin-top: 80px;
}

.hiw-cta-card {
    background: var(--gradient-cta);
    border-radius: var(--radius-xl);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: var(--shadow-float);
    position: relative;
    overflow: hidden;
}

.hiw-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.hiw-cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hiw-cta-content {
    position: relative;
    z-index: 2;
}

.hiw-cta-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.hiw-cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
}

.hiw-cta-card .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.hiw-cta-card .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--gray-400);
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s var(--ease-out);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links-group h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links-group a {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-400);
    padding: 6px 0;
    transition: all 0.3s var(--ease-out);
}

.footer-links-group a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding: 28px 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ---------- WHATSAPP FLOATING BUTTON ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s var(--ease-out);
    position: relative;
    z-index: 10;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
}

.wa-icon {
    position: relative;
    z-index: 2;
}

.wa-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--whatsapp);
    opacity: 0.4;
    animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* WhatsApp Popup */
.whatsapp-popup {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 340px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s var(--ease-spring);
    transform-origin: bottom right;
}

.whatsapp-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--whatsapp-dark);
    color: var(--white);
}

.wa-popup-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.wa-popup-header strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}

.wa-popup-header span {
    font-size: 0.78rem;
    opacity: 0.85;
}

.wa-popup-close {
    margin-left: auto;
    color: var(--white);
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.wa-popup-close:hover {
    opacity: 1;
}

.wa-popup-body {
    padding: 20px;
    background: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4ccc3' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.wa-message {
    background: var(--white);
    border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
    padding: 12px 16px;
    max-width: 85%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    position: relative;
}

.wa-message p {
    font-size: 0.88rem;
    color: var(--gray-800);
    line-height: 1.5;
    margin-bottom: 4px;
}

.wa-message p:last-of-type {
    margin-bottom: 6px;
}

.wa-time {
    font-size: 0.7rem;
    color: var(--gray-400);
    float: right;
}

.wa-popup-footer {
    padding: 14px 20px;
}

.wa-send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.wa-send-btn:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* WA Tooltip */
.wa-tooltip {
    position: absolute;
    bottom: 12px;
    right: 75px;
    padding: 10px 18px;
    background: var(--white);
    color: var(--gray-800);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s var(--ease-out);
    animation: tooltipShow 0.5s var(--ease-spring) 3s forwards;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--white);
    box-shadow: 2px -2px 4px rgba(0, 0, 0, 0.04);
}

@keyframes tooltipShow {
    to {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

.wa-tooltip.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--blue-100);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--ease-out);
    z-index: 800;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        height: 350px;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-card-1 {
        width: 200px;
        height: 230px;
    }

    .hero-card-2 {
        width: 170px;
        height: 200px;
    }

    .hero-card-3 {
        width: 160px;
        height: 190px;
    }

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

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

    .hiw-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 48px 32px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-visual {
        height: 280px;
    }

    .hero-card-1 {
        width: 160px;
        height: 190px;
        left: 0;
    }

    .hero-card-2 {
        width: 140px;
        height: 170px;
    }

    .hero-card-3 {
        width: 130px;
        height: 160px;
        left: 15%;
    }

    .hero-float-tag {
        font-size: 0.72rem;
        padding: 7px 14px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .hiw-timeline {
        padding-left: 0;
    }

    .hiw-line {
        display: none;
    }

    .hiw-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hiw-step-content {
        padding: 24px;
    }

    .hiw-icon {
        margin: 0 auto 18px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .hiw-cta-content h3 {
        font-size: 1.4rem;
    }

    .whatsapp-popup {
        width: calc(100vw - 40px);
        right: -8px;
    }
}

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

    .hero-stats {
        gap: 16px;
    }

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

    .hero-visual {
        height: 240px;
    }

    .hero-card-1 {
        width: 140px;
        height: 170px;
    }

    .hero-card-2 {
        width: 120px;
        height: 150px;
    }

    .hero-card-3 {
        width: 110px;
        height: 140px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.88rem;
    }
}
