/* ============================================
   DHEERAN LABS — WEBSITE STYLESHEET
   Color Palette: Sky Blue + Pleasant Green
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Primary — Sky Blue */
    --blue-50: #f0f9ff;
    --blue-100: #e0f2fe;
    --blue-200: #bae6fd;
    --blue-300: #7dd3fc;
    --blue-400: #38bdf8;
    --blue-500: #0ea5e9;
    --blue-600: #0284c7;
    --blue-700: #0369a1;
    --blue-800: #075985;
    --blue-900: #0c4a6e;
    --blue-950: #082f49;

    /* Secondary — Pleasant Green */
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-300: #86efac;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #14532d;
    --green-950: #052e16;

    /* Neutrals */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--blue-500) 0%, var(--green-500) 100%);
    --gradient-primary-soft: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(34, 197, 94, 0.08));
    --gradient-hero: linear-gradient(180deg, var(--blue-50) 0%, #ffffff 50%, var(--green-50) 100%);
    --gradient-text: linear-gradient(135deg, var(--blue-600) 0%, var(--green-600) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --section-pad: 120px;
    --container-max: 1280px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: #ffffff;
    color: var(--slate-600);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Gradient Text ---------- */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-200);
    padding: 10px 0;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-800);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 1px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--blue-500);
}

.logo-accent {
    color: var(--green-500);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-500);
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--slate-800);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s var(--ease-out);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary) !important;
    color: var(--slate-950) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--slate-600);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--blue-600);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--slate-800);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 560px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    animation: fadeInUp 0.8s var(--ease-out) 1s both;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--slate-800);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Hero Visual / Drone Illustration */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: fadeIn 1.2s var(--ease-out) 0.6s both;
}

/* ============================================
   DRONE — SVG TOP-DOWN TACTICAL VIEW
   ============================================ */
.drone-3d-scene {
    position: relative;
    width: 440px;
    height: 420px;
}

/* ── Radar sweep ── */
.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(14, 165, 233, 0.06) 30deg,
        transparent 60deg
    );
    animation: radarSpin 4s linear infinite;
}

.radar-sweep::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(14, 165, 233, 0.08);
}

@keyframes radarSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Orbit path ── */
.orbit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px dashed rgba(14, 165, 233, 0.1);
}

.orbit-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--blue-400);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--blue-400);
    animation: orbitMove 8s linear infinite;
}

@keyframes orbitMove {
    from { transform: rotate(0deg) translateX(170px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(170px) rotate(-360deg); }
}

/* ── Main drone craft container ── */
.drone-craft {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    animation: droneFloat 6s ease-in-out infinite;
}

@keyframes droneFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    25% { transform: translate(-50%, -52%) scale(1.02) rotate(1deg); }
    50% { transform: translate(-50%, -48%) scale(0.98) rotate(-0.5deg); }
    75% { transform: translate(-50%, -51%) scale(1.01) rotate(0.5deg); }
}

/* ── SVG Drone Styles ── */
.drone-svg-main {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Body hexagon */
.body-hex {
    fill: #1e293b;
    stroke: #475569;
    stroke-width: 2;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.body-hex-inner {
    fill: none;
    stroke: rgba(14, 165, 233, 0.2);
    stroke-width: 1;
}

.body-line {
    stroke: rgba(14, 165, 233, 0.15);
    stroke-width: 0.5;
}

.body-center-dot {
    fill: none;
    stroke: var(--blue-400);
    stroke-width: 1;
    opacity: 0.4;
}

/* GPS chip */
.gps-chip {
    fill: #334155;
    stroke: #475569;
    stroke-width: 1;
}

.gps-led {
    fill: var(--green-400);
    animation: gpsLedBlink 2s ease-in-out infinite;
}

@keyframes gpsLedBlink {
    0%, 100% { fill: var(--green-400); opacity: 1; }
    50% { fill: var(--green-300); opacity: 0.4; }
}

/* Camera */
.cam-ring {
    fill: none;
    stroke: #475569;
    stroke-width: 2;
}

.cam-lens {
    fill: #0c4a6e;
    stroke: var(--blue-400);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
}

.cam-dot {
    fill: #38bdf8;
    opacity: 0.8;
    animation: camPulse 3s ease-in-out infinite;
}

@keyframes camPulse {
    0%, 100% { opacity: 0.8; r: 2; }
    50% { opacity: 0.3; r: 1.5; }
}

/* Front arrow */
.front-arrow {
    fill: var(--blue-400);
    opacity: 0.7;
}

/* Arms */
.arm-line {
    stroke: #3a4a5c;
    stroke-width: 6;
    stroke-linecap: round;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Motors */
.motor-circle {
    fill: #1e293b;
    stroke: #556677;
    stroke-width: 2;
}

.motor-inner {
    fill: #2d3b4d;
    stroke: #475569;
    stroke-width: 1;
}

.motor-shaft-dot {
    fill: #94a3b8;
}

/* Rotor discs */
.rotor-disc {
    fill: none;
    stroke: rgba(14, 165, 233, 0.12);
    stroke-width: 1;
    stroke-dasharray: 8 4;
}

.rd-cw {
    animation: svgRotorCW 0.6s linear infinite;
    transform-origin: center;
}

.rd-ccw {
    animation: svgRotorCCW 0.7s linear infinite;
    transform-origin: center;
}

/* We need per-element transform-origin, use transform-box */
.rd-cw, .rd-ccw, .rb-cw, .rb-ccw {
    transform-box: fill-box;
    transform-origin: center;
}

@keyframes svgRotorCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes svgRotorCCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Rotor blades */
.rotor-blade {
    stroke: rgba(14, 165, 233, 0.3);
    stroke-width: 3;
    stroke-linecap: round;
}

.rb-cw {
    animation: svgRotorCW 0.15s linear infinite;
}

.rb-ccw {
    animation: svgRotorCCW 0.18s linear infinite;
}

/* Thrust glow rings */
.thrust-ring {
    fill: none;
    stroke-width: 2;
    animation: thrustGlow 0.4s ease-in-out infinite alternate;
}

.tr-blue {
    stroke: rgba(14, 165, 233, 0.15);
}

.tr-green {
    stroke: rgba(74, 222, 128, 0.15);
}

@keyframes thrustGlow {
    from { opacity: 0.3; stroke-width: 1; }
    to { opacity: 0.8; stroke-width: 3; }
}

/* Navigation LEDs */
.nav-led {
    animation: navLedBlink 1.5s ease-in-out infinite;
}

.led-blue {
    fill: #38bdf8;
    filter: drop-shadow(0 0 8px #38bdf8);
}

.led-green {
    fill: #4ade80;
    filter: drop-shadow(0 0 8px #4ade80);
    animation-delay: 0.75s;
}

@keyframes navLedBlink {
    0%, 45%, 55%, 100% { opacity: 1; }
    50% { opacity: 0.1; }
}

/* ── HUD Labels ── */
.hud-label {
    position: absolute;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--blue-300);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    white-space: nowrap;
    animation: hudFade 4s ease-in-out infinite;
}

.hud-alt { top: 12%; left: 5%; }
.hud-spd { top: 12%; right: 5%; color: var(--green-300); border-color: rgba(74, 222, 128, 0.2); }
.hud-bat { bottom: 12%; left: 5%; color: var(--green-300); border-color: rgba(74, 222, 128, 0.2); }
.hud-gps { bottom: 12%; right: 5%; }

@keyframes hudFade {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.5; }
}

/* ── Ground shadow ── */
.drone-shadow {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 40%, transparent 70%);
    border-radius: 50%;
    animation: shadowFloat 6s ease-in-out infinite;
}

@keyframes shadowFloat {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.7; }
    25% { transform: translateX(-50%) scale(0.85); opacity: 0.4; }
    50% { transform: translateX(-50%) scale(0.75); opacity: 0.3; }
    75% { transform: translateX(-50%) scale(0.9); opacity: 0.5; }
}

/* ── Telemetry signal rings ── */
.telem-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(14, 165, 233, 0.1);
    animation: telemPulse 4s ease-out infinite;
}

.tr1 { width: 220px; height: 220px; animation-delay: 0s; }
.tr2 { width: 300px; height: 300px; animation-delay: 1.3s; }
.tr3 { width: 380px; height: 380px; animation-delay: 2.6s; }

@keyframes telemPulse {
    0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.5; border-color: rgba(14, 165, 233, 0.2); }
    50% { border-color: rgba(74, 222, 128, 0.12); }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}

/* Propeller animations (legacy compat) */
.propeller { animation: spin 0.3s linear infinite; transform-origin: center; }
.prop-1 { animation-duration: 0.25s; }
.prop-2 { animation-duration: 0.28s; }
.prop-3 { animation-duration: 0.22s; }
.prop-4 { animation-duration: 0.26s; }

/* Signal pulse */
.signal { animation: pulse 3s ease-in-out infinite; }
.s1 { animation-delay: 0s; }
.s2 { animation-delay: 0.5s; }
.s3 { animation-delay: 1s; }

/* LED blink */
.led-blink { animation: ledBlink 1.5s ease-in-out infinite; }
.led-blink-slow { animation: ledBlink 2.5s ease-in-out infinite; }

/* GPS signals */
.gps-signal { animation: gpsSignal 2s ease-in-out infinite; }
.gs1 { animation-delay: 0s; }
.gs2 { animation-delay: 0.3s; }
.gs3 { animation-delay: 0.6s; }

/* Satellite float */
.satellite { animation: satFloat 4s ease-in-out infinite; }
.sat1 { animation-delay: 0s; }
.sat2 { animation-delay: 1s; }

/* Radio waves */
.radio-wave { animation: radioWave 2s ease-in-out infinite; }
.rw1 { animation-delay: 0s; }
.rw2 { animation-delay: 0.3s; }
.rw3 { animation-delay: 0.6s; }

/* Data packet */
.data-packet { animation: dataMove 3s linear infinite; }

/* Waveform */
.waveform { animation: waveShift 4s linear infinite; stroke-dasharray: 300; stroke-dashoffset: 0; }
.waveform2 { animation: waveShift 6s linear infinite reverse; stroke-dasharray: 300; stroke-dashoffset: 0; }

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--slate-400);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeIn 1s var(--ease-out) 1.5s both;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid var(--slate-300);
    border-radius: 12px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--blue-400);
    border-radius: 3px;
    animation: scrollBounce 2s ease-in-out infinite;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--slate-950);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(14, 165, 233, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--slate-600);
    border: 1px solid var(--slate-300);
}

.btn-outline:hover {
    border-color: var(--blue-500);
    color: var(--blue-600);
    background: rgba(14, 165, 233, 0.05);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-primary-soft);
    border: 1px solid rgba(14, 165, 233, 0.15);
    color: var(--blue-600);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--slate-800);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.8;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: var(--section-pad) 0;
    background: #ffffff;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-200), var(--green-200), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.about-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out);
}

.about-card:hover {
    border-color: var(--blue-200);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.08);
}

.about-icon {
    width: 48px;
    height: 48px;
    color: var(--blue-500);
    margin-bottom: 20px;
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 12px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--slate-50), #ffffff, var(--slate-50));
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.product-showcase:last-child {
    margin-bottom: 0;
}

.product-showcase.reverse {
    direction: rtl;
}

.product-showcase.reverse > * {
    direction: ltr;
}

.product-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-3d {
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
    border: none;
    padding: 0;
    transition: all 0.4s var(--ease-out);
}

.product-card-3d:hover {
    border-color: transparent;
    box-shadow: none;
    transform: scale(1.02);
}

.product-svg {
    width: 100%;
    height: auto;
}

.product-info {
    padding: 20px 0;
}

.product-tag {
    display: inline-block;
    background: var(--blue-50);
    color: var(--blue-600);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.product-tag.green {
    background: var(--green-50);
    color: var(--green-600);
}

.product-tag.blue {
    background: var(--blue-50);
    color: var(--blue-600);
}

.product-name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--slate-800);
    margin-bottom: 16px;
}

.product-desc {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 28px;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--slate-600);
}

.product-features li svg {
    flex-shrink: 0;
    color: var(--blue-500);
}

/* ============================================
   FEATURES / CAPABILITIES
   ============================================ */
.features {
    padding: var(--section-pad) 0;
    background: #ffffff;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-200), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    border-color: var(--blue-200);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.08);
}

.feature-icon {
    width: 44px;
    height: 44px;
    color: var(--green-500);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ============================================
   SPECS / SPECIFICATIONS
   ============================================ */
.specs {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--slate-50), #ffffff);
}

.specs-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.spec-tab {
    padding: 12px 28px;
    border-radius: 8px;
    border: 1px solid var(--slate-200);
    background: transparent;
    color: var(--slate-500);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.spec-tab:hover {
    border-color: var(--blue-400);
    color: var(--blue-600);
}

.spec-tab.active {
    background: var(--gradient-primary);
    color: var(--slate-950);
    border-color: transparent;
    font-weight: 600;
}

.spec-panel {
    display: none;
    animation: fadeIn 0.4s var(--ease-out);
}

.spec-panel.active {
    display: block;
}

.spec-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--slate-200);
}

.spec-table tr {
    border-bottom: 1px solid var(--slate-100);
    transition: background 0.2s;
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table tr:hover {
    background: var(--blue-50);
}

.spec-table td {
    padding: 16px 24px;
    font-size: 0.92rem;
}

.spec-table td:first-child {
    color: var(--slate-500);
    font-weight: 500;
    width: 35%;
    background: var(--slate-50);
}

.spec-table td:last-child {
    color: var(--slate-700);
    font-family: 'Space Grotesk', monospace;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--slate-50);
}

.cta-box {
    background: linear-gradient(145deg, var(--blue-50), var(--green-50));
    border: 1px solid var(--blue-200);
    border-radius: 24px;
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(34, 197, 94, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.cta-box h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--slate-800);
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    color: var(--slate-500);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 36px;
    position: relative;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: var(--section-pad) 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s var(--ease-out);
}

.contact-card:hover {
    border-color: var(--blue-300);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.06);
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--blue-500);
}

.contact-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.contact-card p a {
    color: var(--slate-600);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card p a:hover {
    color: var(--blue-500);
}

/* Contact Form */
.contact-form {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate-600);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    color: var(--slate-700);
    font-family: var(--font-primary);
    font-size: 0.92rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group select option {
    background: #ffffff;
    color: var(--slate-700);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 72px 0 32px;
    background: var(--slate-800);
    border-top: 1px solid var(--slate-700);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--slate-400);
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-100);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--slate-500);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--blue-400);
}

.footer .logo {
    color: var(--slate-50);
}

.footer-bottom {
    border-top: 1px solid var(--slate-700);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--slate-400);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.05); }
}

@keyframes ledBlink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; filter: drop-shadow(0 0 6px currentColor); }
}

@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 14px; opacity: 0.3; }
}

@keyframes gpsSignal {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

@keyframes satFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, -5px); }
}

@keyframes radioWave {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.7; }
}

@keyframes dataMove {
    0% { transform: translateX(-30px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(30px); opacity: 0; }
}

@keyframes waveShift {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 300; }
}

/* Scroll-triggered animation helper */
.aos-animate {
    animation: fadeInUp 0.7s var(--ease-out) both;
}

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-delay="100"] { transition-delay: 0.1s !important; }
[data-delay="200"] { transition-delay: 0.2s !important; }
[data-delay="300"] { transition-delay: 0.3s !important; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root { --section-pad: 80px; }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }

    .hero-visual {
        order: -1;
        max-width: 380px;
        margin: 0 auto;
    }

    .product-showcase,
    .product-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .product-showcase.reverse > * { direction: ltr; }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root { --section-pad: 64px; }

    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right 0.4s var(--ease-out);
        border-left: 1px solid var(--slate-200);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a::after { display: none; }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .stat { text-align: center; }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-box {
        padding: 48px 24px;
    }

    .contact-form {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .product-name { font-size: 1.5rem; }
    .section-title { font-size: 1.6rem; }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .specs-tabs {
        gap: 6px;
    }

    .spec-tab {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .spec-table td {
        padding: 12px 14px;
        font-size: 0.82rem;
    }
}

/* Particle dots in hero */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--blue-500);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.1; }
    25% { opacity: 0.4; }
    50% { transform: translateY(-100px) translateX(50px); opacity: 0.2; }
    75% { opacity: 0.35; }
}

/* ============================================
   GALLERY / PHOTOS & VIDEOS
   ============================================ */
.gallery {
    padding: var(--section-pad) 0;
    background: var(--slate-50);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-200), var(--green-200), transparent);
}

/* Gallery Filter Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 10px 24px;
    border-radius: 8px;
    border: 1px solid var(--slate-200);
    background: transparent;
    color: var(--slate-500);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.gallery-tab:hover {
    border-color: var(--blue-400);
    color: var(--blue-600);
}

.gallery-tab.active {
    background: var(--gradient-primary);
    color: var(--slate-950);
    border-color: transparent;
    font-weight: 600;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-item {
    transition: all 0.4s var(--ease-out);
}

.gallery-item.hidden {
    display: none;
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--slate-200);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.1);
    border-color: var(--blue-200);
}

/* Gallery Image Area */
.gallery-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder-svg {
    width: 100%;
    height: 100%;
}

/* Play Button Overlay for Videos */
.play-btn-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    transition: background 0.3s;
}

.gallery-video-card:hover .play-btn-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.play-btn svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
}

.gallery-video-card:hover .play-btn {
    transform: scale(1.12);
    background: rgba(14, 165, 233, 1);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.45);
}

/* Gallery Info Overlay */
.gallery-overlay {
    padding: 20px 24px;
}

.gallery-badge {
    display: inline-block;
    background: var(--blue-50);
    color: var(--blue-600);
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.gallery-badge.video-badge {
    background: var(--green-50);
    color: var(--green-600);
}

.gallery-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 6px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.5;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-tabs {
        gap: 6px;
    }

    .gallery-tab {
        padding: 8px 16px;
        font-size: 0.82rem;
    }
}

/* ============================================
   NAV LOGIN BUTTON
   ============================================ */
.nav-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cart-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

/* ============================================
   AUTH (LOGIN / REGISTER) PAGE
   ============================================ */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    background: var(--gradient-hero);
}

.auth-card {
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--slate-200);
    box-shadow: 0 25px 80px rgba(14, 165, 233, 0.06);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--slate-200);
}

.auth-tab {
    flex: 1;
    padding: 18px;
    border: none;
    background: transparent;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-400);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.auth-tab.active {
    color: var(--blue-600);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px 3px 0 0;
}

.auth-panel {
    display: none;
    padding: 36px 40px 40px;
}

.auth-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.auth-header {
    margin-bottom: 28px;
}

.auth-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--slate-500);
    font-size: 0.9rem;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-icon {
    position: relative;
}

.input-icon svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--slate-400);
}

.input-icon input {
    width: 100%;
    padding: 13px 14px 13px 44px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    color: var(--slate-700);
    font-family: var(--font-primary);
    font-size: 0.92rem;
    transition: all 0.3s;
    outline: none;
}

.input-icon input:focus {
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    background: #fff;
}

.input-icon input::placeholder {
    color: var(--slate-400);
}

.optional {
    color: var(--slate-400);
    font-weight: 400;
    font-size: 0.8rem;
}

.form-message {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-bottom: 16px;
}

.form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.form-message.success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 0.88rem;
    color: var(--slate-500);
}

.auth-switch a {
    color: var(--blue-500);
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Forgot password extras */
.auth-extras {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 20px;
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--blue-500);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: var(--blue-600);
    text-decoration: underline;
}

.reset-code-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: #16a34a;
}

.reset-code-info svg {
    flex-shrink: 0;
    color: #16a34a;
}

.reset-code-info strong {
    color: #15803d;
}

#forgot-step2 .auth-form {
    animation: fadeIn 0.4s ease;
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-header {
    padding: 140px 0 40px;
    background: var(--gradient-hero);
}

.shop-products {
    padding: 40px 0 100px;
    background: #ffffff;
}

/* ============================================
   SHOP TOOLBAR & VIEW SWITCHER
   ============================================ */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
}

.shop-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-result-count {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate-500);
}

.shop-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-view-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-view-switcher {
    display: flex;
    gap: 2px;
    background: var(--slate-100);
    border-radius: 8px;
    padding: 3px;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--slate-400);
    cursor: pointer;
    transition: all 0.2s;
}

.view-btn:hover {
    color: var(--slate-600);
}

.view-btn.active {
    background: #fff;
    color: var(--blue-600);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* ============================================
   GRID VIEW (default)
   ============================================ */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    transition: all 0.3s var(--ease-out);
}

.shop-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.08);
    border-color: var(--blue-200);
}

.shop-card-img {
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-card-img.blue {
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
}

.shop-card-img.green {
    background: linear-gradient(135deg, var(--green-50), var(--green-100));
}

.shop-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--slate-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-card-icon {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--slate-300);
    opacity: 0.4;
    letter-spacing: 4px;
}

.shop-card-body {
    padding: 24px;
}

.shop-card-body h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 8px;
}

.shop-card-desc {
    font-size: 0.88rem;
    color: var(--slate-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.shop-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.spec-chip {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--slate-500);
    font-family: 'Space Grotesk', monospace;
}

.shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--slate-100);
    flex-wrap: wrap;
    gap: 6px;
}

.shop-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--slate-800);
}

/* Out of Stock */
.shop-card-oos {
    opacity: 0.7;
    position: relative;
}

.shop-card-oos .shop-card-img {
    filter: grayscale(50%);
}

.oos-ribbon {
    position: absolute;
    top: 16px;
    right: -8px;
    background: #dc2626;
    color: #fff;
    padding: 4px 16px 4px 12px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.out-of-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.low-stock-note {
    width: 100%;
    display: block;
    font-size: 0.72rem;
    color: #d97706;
    font-weight: 600;
    margin-top: 4px;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.82rem;
    border-radius: 8px;
}

.add-to-cart-btn {
    transition: all 0.3s var(--ease-out);
}

.add-to-cart-btn.added {
    background: var(--green-500) !important;
}

/* ── Inline Quantity Controls on Card ── */
.inline-qty {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    overflow: hidden;
}

.inline-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--slate-600);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.inline-qty-btn:hover {
    background: var(--blue-50);
    color: var(--blue-600);
}

.inline-qty-btn:active {
    background: var(--blue-100);
}

.inline-qty-val {
    min-width: 36px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--slate-800);
    font-family: var(--font-display);
    border-left: 1px solid var(--slate-200);
    border-right: 1px solid var(--slate-200);
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   LIST VIEW
   ============================================ */
.shop-grid.shop-list {
    grid-template-columns: 1fr;
    gap: 16px;
}

.shop-list .shop-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-radius: 12px;
}

.shop-list .shop-card:hover {
    transform: translateX(4px);
}

.shop-list .shop-card-img {
    height: 100%;
    min-height: 140px;
    border-radius: 12px 0 0 12px;
}

.shop-list .shop-card-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shop-list .shop-card-body h4 {
    font-size: 1.2rem;
}

.shop-list .shop-card-desc {
    margin-bottom: 12px;
}

.shop-list .shop-card-specs {
    margin-bottom: 14px;
}

.shop-list .shop-card-footer {
    padding-top: 12px;
}

/* ============================================
   COMPACT VIEW
   ============================================ */
.shop-grid.shop-compact {
    grid-template-columns: 1fr;
    gap: 8px;
}

.shop-compact .shop-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    border-radius: 10px;
    align-items: center;
}

.shop-compact .shop-card:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.06);
}

.shop-compact .shop-card-img {
    height: 60px;
    min-height: 60px;
    border-radius: 10px 0 0 10px;
}

.shop-compact .shop-card-badge {
    display: none;
}

.shop-compact .shop-card-icon {
    font-size: 1rem;
    letter-spacing: 1px;
}

.shop-compact .shop-card-body {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.shop-compact .shop-card-body h4 {
    font-size: 0.95rem;
    margin-bottom: 0;
    white-space: nowrap;
    min-width: 140px;
}

.shop-compact .shop-card-desc {
    display: none;
}

.shop-compact .shop-card-specs {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

.shop-compact .shop-card-footer {
    padding-top: 0;
    border-top: none;
    margin-left: auto;
    gap: 12px;
}

.shop-compact .shop-price {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .shop-toolbar {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 12px 16px;
    }

    .shop-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .shop-list .shop-card {
        grid-template-columns: 1fr;
    }

    .shop-list .shop-card-img {
        height: 140px;
        border-radius: 12px 12px 0 0;
    }

    .shop-compact .shop-card {
        grid-template-columns: 50px 1fr;
    }

    .shop-compact .shop-card-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 14px;
    }

    .shop-compact .shop-card-footer {
        margin-left: 0;
        width: 100%;
    }

    .shop-compact .shop-card-specs {
        min-width: 0;
    }
}

/* ============================================
   CART PANEL (Slide-over)
   ============================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    border-left: 1px solid var(--slate-200);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transition: right 0.4s var(--ease-out);
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
}

.cart-panel.open {
    right: 0;
}

.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--slate-200);
}

.cart-panel-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-800);
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--slate-400);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.cart-close:hover {
    color: var(--slate-700);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--slate-400);
}

.cart-empty p {
    font-weight: 600;
    color: var(--slate-500);
    margin-top: 16px;
    font-size: 1rem;
}

.cart-empty span {
    font-size: 0.85rem;
}

.cart-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--slate-100);
}

.cart-item-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cart-item-info h5 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--slate-800);
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--slate-500);
    font-size: 0.85rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid var(--slate-200);
    background: var(--slate-50);
    color: var(--slate-600);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    border-color: var(--blue-400);
    color: var(--blue-600);
}

.qty-val {
    width: 32px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--slate-800);
}

.remove-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--slate-400);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.remove-btn:hover {
    color: #ef4444;
}

.cart-item-subtotal {
    text-align: right;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--slate-700);
    font-size: 0.95rem;
    margin-top: 6px;
}

.cart-footer {
    padding: 20px 24px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--slate-200);
    background: var(--slate-50);
    flex-shrink: 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-800);
}

/* ============================================
   CHECKOUT MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 24px;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 80px rgba(0,0,0,0.15);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--slate-400);
    cursor: pointer;
}

.modal-box h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 4px;
}

.modal-subtitle {
    color: var(--slate-500);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.checkout-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.88rem;
}

.checkout-table th {
    text-align: left;
    padding: 10px 12px;
    color: var(--slate-500);
    font-weight: 500;
    border-bottom: 2px solid var(--slate-200);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-table td {
    padding: 10px 12px;
    color: var(--slate-700);
    border-bottom: 1px solid var(--slate-100);
}

.checkout-table tfoot td {
    border-top: 2px solid var(--slate-200);
    border-bottom: none;
    padding-top: 12px;
    font-size: 1rem;
}

.modal-box textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    color: var(--slate-700);
    font-family: var(--font-primary);
    font-size: 0.92rem;
    outline: none;
    resize: vertical;
    transition: all 0.3s;
}

.modal-box textarea:focus {
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.modal-box textarea::placeholder {
    color: var(--slate-400);
}

/* ============================================
   RESPONSIVE — AUTH, SHOP, CART
   ============================================ */
@media (max-width: 768px) {
    .auth-panel {
        padding: 28px 24px 32px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .drone-3d-scene {
        width: 300px;
        height: 300px;
    }
    .drone-craft { width: 260px; height: 260px; }
    .hud-label { font-size: 0.58rem; padding: 2px 6px; }
    .orbit-path { width: 280px; height: 280px; }
    .radar-sweep { width: 290px; height: 290px; }
}

@media (max-width: 480px) {
    .modal-box {
        padding: 24px 20px;
    }

    .drone-3d-scene {
        width: 260px;
        height: 260px;
    }
    .drone-craft { width: 220px; height: 220px; }
    .hud-label { font-size: 0.52rem; padding: 2px 5px; }
    .orbit-path { width: 240px; height: 240px; }
    .radar-sweep { width: 250px; height: 250px; }
    .orbit-dot { display: none; }
}

/* ============================================
   FLOATING CART FAB (mobile)
   ============================================ */
.cart-fab {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4), 0 2px 8px rgba(0,0,0,0.15);
    align-items: center;
    justify-content: center;
    transition: transform 0.25s, box-shadow 0.25s;
}

.cart-fab:active {
    transform: scale(0.92);
}

.cart-fab .fab-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

@media (max-width: 768px) {
    .cart-fab.has-items {
        display: flex;
    }

    .cart-panel {
        width: 100vw;
        max-width: 100vw;
        right: -100vw;
    }

    .cart-panel.open {
        right: 0;
    }

    .cart-items {
        padding: 12px 16px;
    }

    .cart-panel-header {
        padding: 16px;
    }

    .cart-footer {
        padding: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }
}

/* ============================================
   WHATSAPP SUCCESS TOAST
   ============================================ */
.wa-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: #25d366;
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    transition: transform 0.4s var(--ease-out);
    white-space: nowrap;
}

.wa-toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   NAV SHOP HIGHLIGHT
   ============================================ */
.nav-shop-highlight {
    background: linear-gradient(135deg, var(--blue-500), var(--green-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700 !important;
    position: relative;
}

.nav-shop-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100% !important;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ============================================
   SHOP NOW BUTTON (HERO)
   ============================================ */
.btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--slate-800);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
    border: 1px solid var(--slate-700);
}

.btn-shop:hover {
    background: var(--slate-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.25);
}

.btn-shop svg {
    opacity: 0.8;
}

/* ============================================
   MY ACCOUNT PAGE
   ============================================ */
.account-section {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
    background: var(--slate-50);
}

.account-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.account-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.account-info h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-800);
}

.account-info p {
    color: var(--slate-500);
    font-size: 0.9rem;
}

/* Account Tabs */
.account-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid var(--slate-200);
    width: fit-content;
    flex-wrap: wrap;
}

.account-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--slate-500);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.account-tab:hover {
    color: var(--blue-500);
    background: var(--blue-50);
}

.account-tab.active {
    background: var(--gradient-primary);
    color: #fff;
}

.account-tab.active svg {
    stroke: #fff;
}

/* Account Panels */
.account-panel {
    display: none;
}

.account-panel.active {
    display: block;
}

/* Panel Card */
.panel-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--slate-200);
    overflow: hidden;
}

.panel-card-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--slate-100);
}

.panel-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-800);
}

.panel-card-header p {
    color: var(--slate-500);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Profile Form */
.profile-form {
    padding: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.form-full {
    grid-column: 1 / -1;
}

.profile-form .form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate-600);
    margin-bottom: 6px;
}

.profile-form .form-group input,
.profile-form .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--slate-700);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-form .form-group input:focus,
.profile-form .form-group textarea:focus {
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.profile-form .form-group input:disabled {
    background: var(--slate-50);
    color: var(--slate-400);
    cursor: not-allowed;
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-top: 4px;
}

.form-section-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 16px;
    padding-top: 8px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--slate-500);
    cursor: pointer;
}

.form-checkbox input {
    width: auto !important;
    accent-color: var(--blue-500);
}

.optional {
    font-weight: 400;
    color: var(--slate-400);
    font-size: 0.8rem;
}

/* Orders Container */
.orders-container,
.tracking-container,
.invoices-container {
    padding: 20px 28px;
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--slate-400);
}

.empty-state svg {
    margin-bottom: 12px;
}

.empty-state p {
    font-weight: 600;
    color: var(--slate-500);
    font-size: 1rem;
    margin-bottom: 4px;
}

.empty-state span {
    font-size: 0.85rem;
}

.loading-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--slate-400);
    font-size: 0.9rem;
}

/* Order Cards */
.order-card {
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.order-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-100);
}

.order-id {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-id strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--slate-800);
}

.order-date {
    font-size: 0.8rem;
    color: var(--slate-400);
}

.order-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-pending { background: #fef3c7; color: #d97706; }
.status-confirmed { background: #dbeafe; color: #2563eb; }
.status-shipped { background: #e0e7ff; color: #4f46e5; }
.status-delivered { background: #dcfce7; color: #16a34a; }
.status-cancelled { background: #fee2e2; color: #dc2626; }

.order-items-list {
    padding: 12px 18px;
}

.order-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--slate-600);
}

.order-item-row + .order-item-row {
    border-top: 1px solid var(--slate-50);
}

.oi-name {
    flex: 1;
    font-weight: 500;
}

.oi-qty {
    color: var(--slate-400);
    margin: 0 16px;
    font-size: 0.82rem;
}

.oi-price {
    font-weight: 600;
    color: var(--slate-700);
}

.order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid var(--slate-100);
    background: var(--slate-50);
}

.order-total {
    font-size: 0.9rem;
    color: var(--slate-600);
}

.order-total strong {
    color: var(--slate-800);
}

.order-actions {
    display: flex;
    gap: 12px;
}

.btn-text {
    background: none;
    border: none;
    color: var(--blue-500);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
    font-family: inherit;
}

.btn-text:hover {
    background: var(--blue-50);
}

/* Tracking Cards */
.tracking-card {
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.tracking-card.cancelled {
    opacity: 0.7;
}

.tracking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-100);
}

.tracking-header strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--slate-800);
}

.tracking-cancelled {
    padding: 20px 18px;
    text-align: center;
    color: #dc2626;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Timeline */
.tracking-timeline {
    display: flex;
    align-items: flex-start;
    padding: 24px 18px;
    gap: 0;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
}

.timeline-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    border: 2px solid var(--slate-200);
    transition: all 0.3s;
}

.timeline-step.active .timeline-dot {
    background: #fff;
    border-color: var(--green-400);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.timeline-step.current .timeline-dot {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.1); }
}

.timeline-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--slate-400);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.timeline-step.active .timeline-label {
    color: var(--slate-700);
}

.timeline-line {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--slate-200);
    z-index: 0;
}

.timeline-step.active .timeline-line {
    background: var(--green-400);
}

/* Status Log */
.tracking-log {
    padding: 14px 18px;
    border-top: 1px solid var(--slate-100);
    background: var(--slate-50);
}

.tracking-log h5 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--slate-500);
    margin-bottom: 10px;
}

.log-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 0.82rem;
}

.log-entry + .log-entry {
    border-top: 1px solid var(--slate-100);
}

.log-time {
    color: var(--slate-400);
    font-size: 0.75rem;
    min-width: 90px;
}

.log-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.log-admin {
    color: var(--blue-500);
    font-weight: 500;
    font-size: 0.75rem;
}

/* Invoices Table */
.invoices-table-wrap {
    overflow-x: auto;
}

.invoices-table {
    width: 100%;
    border-collapse: collapse;
}

.invoices-table th {
    text-align: left;
    padding: 12px 16px;
    color: var(--slate-500);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--slate-200);
}

.invoices-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--slate-100);
    font-size: 0.88rem;
    color: var(--slate-600);
}

.invoices-table tr:hover td {
    background: var(--slate-50);
}

/* ============================================
   ACCOUNT PAGE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .account-section {
        padding-top: 100px;
    }

    .account-tabs {
        width: 100%;
    }

    .account-tab {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .profile-form {
        padding: 20px;
    }

    .orders-container,
    .tracking-container,
    .invoices-container {
        padding: 16px;
    }

    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .tracking-timeline {
        flex-direction: column;
        padding: 16px;
        gap: 0;
    }

    .timeline-step {
        flex-direction: row;
        gap: 12px;
        padding: 8px 0;
    }

    .timeline-line {
        display: none;
    }

    .order-card-footer {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .btn-shop {
        padding: 12px 20px;
        font-size: 0.88rem;
    }
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-section {
    padding: 100px 0 80px;
    background: var(--dark-950);
    position: relative;
}

.testimonials-scroll-wrapper {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    margin-bottom: 48px;
    scrollbar-width: thin;
    scrollbar-color: rgba(14,165,233,0.3) transparent;
}

.testimonials-scroll-wrapper::-webkit-scrollbar {
    width: 6px;
}

.testimonials-scroll-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.testimonials-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(14,165,233,0.3);
    border-radius: 3px;
}

.testimonials-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(14,165,233,0.5);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(226,232,240,0.6);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    border-color: rgba(14,165,233,0.3);
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.testimonial-stars {
    margin-bottom: 16px;
    display: flex;
    gap: 2px;
}

.testimonial-message {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 12px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 700;
}

.testimonial-date {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

/* Login prompt for non-logged-in users */
.testimonial-login-prompt {
    text-align: center;
    background: rgba(255,255,255,0.9);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 28px;
    max-width: 560px;
    margin: 24px auto 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.testimonial-login-prompt a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.testimonial-login-prompt a:hover {
    color: #0369a1;
    text-decoration: underline;
}

.testimonial-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-form-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px;
}

.testimonial-form-box h3 {
    color: #ffffff;
    font-weight: 700;
}

.testimonial-form-box textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--slate-200);
    transition: all 0.3s;
}

.testimonial-form-box textarea:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.testimonial-form-box textarea::placeholder {
    color: var(--slate-500);
}

.star-rating-input {
    display: flex;
    gap: 4px;
}

.star-input {
    font-size: 1.8rem;
    cursor: pointer;
    color: #f59e0b;
    transition: all 0.15s;
    user-select: none;
}

.star-input:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-scroll-wrapper {
        max-height: 500px;
    }
}

/* Testimonial Media */
.testimonial-media {
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
    max-height: 180px;
}

.testimonial-media img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.testimonial-media img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.testimonial-media video {
    width: 100%;
    max-height: 160px;
    border-radius: 8px;
}

/* ===================== PRODUCT DATASHEET BUTTON ===================== */
.product-datasheet-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin-top: 16px;
    background: rgba(14,165,233,0.1);
    color: var(--blue-400);
    border: 1px solid rgba(14,165,233,0.2);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-datasheet-btn:hover {
    background: rgba(14,165,233,0.2);
    border-color: rgba(14,165,233,0.4);
    color: var(--blue-300);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14,165,233,0.15);
}

.product-datasheet-btn svg {
    flex-shrink: 0;
}

/* ===================== SHOP ATTACHMENT HOVER BUTTON ===================== */
.shop-attachment-wrap {
    margin-top: 8px;
    margin-bottom: 4px;
}

.shop-attachment-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    color: #0ea5e9;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex-wrap: wrap;
}

.shop-attachment-btn:hover {
    background: #e0f2fe;
    border-color: #7dd3fc;
}

.shop-attach-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    background: #0ea5e9;
    color: #fff;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    padding: 0 5px;
}

.shop-attachment-expand {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding-top: 8px;
    margin-top: 6px;
    border-top: 1px solid #e0f2fe;
}

.shop-attachment-btn.expanded .shop-attachment-expand {
    display: flex;
}

.shop-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #0ea5e9;
    color: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.shop-doc-link:hover {
    background: #0284c7;
}

.shop-attachment-disabled {
    opacity: 0.6;
    cursor: default;
}

.shop-attachment-disabled .shop-attachment-expand {
    display: inline-flex;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    flex-direction: row;
    width: auto;
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

.shop-attachment-disabled:hover .shop-attachment-expand {
    display: inline-flex;
    max-width: 200px;
    opacity: 1;
    padding-left: 8px;
}

.shop-datasheet-soon {
    background: #94a3b8 !important;
    cursor: default;
}

.shop-datasheet-soon:hover {
    background: #94a3b8 !important;
}

/* Datasheet button states (homepage) */
.product-datasheet-btn.no-datasheet {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

/* =================================================
   GALLERY PAGE
   ================================================= */
.gallery-page-header {
    padding: 140px 0 40px;
    background: var(--slate-950);
    text-align: center;
}

.gallery-page-header .section-tag {
    color: var(--blue-400);
}

.gallery-page-header .section-title {
    color: #fff;
}

.gallery-page-header .section-desc {
    color: var(--slate-400);
}

.gallery-page-content {
    padding: 60px 0 100px;
    background: var(--slate-50);
}

/* =================================================
   LIGHTBOX
   ================================================= */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 78vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.lightbox-video {
    max-width: 90vw;
    max-height: 78vh;
    border-radius: 12px;
    background: #000;
}

.lightbox-video-iframe {
    width: 80vw;
    height: 45vw;
    max-height: 78vh;
    border: none;
    border-radius: 12px;
}

.lightbox-caption {
    margin-top: 20px;
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
    text-align: center;
    max-width: 600px;
    line-height: 1.6;
}

.lightbox-caption strong {
    color: #fff;
}

.lightbox-counter {
    display: inline-block;
    margin-left: 16px;
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
}

@media (max-width: 768px) {
    .lightbox-prev { left: 8px; width: 40px; height: 40px; }
    .lightbox-next { right: 8px; width: 40px; height: 40px; }
    .lightbox-video-iframe { width: 95vw; height: 54vw; }
    .lightbox-close { top: 12px; right: 12px; }
}

/* =================================================
   HOME PAGE SLIDESHOW (Hero Gallery)
   ================================================= */
.hero-slideshow {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--slate-900);
    box-shadow: 0 20px 80px rgba(14, 165, 233, 0.15);
}

.slideshow-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slideshow-slide.active {
    opacity: 1;
}

.slideshow-slide img,
.slideshow-slide video,
.slideshow-slide iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.slideshow-slide .slide-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0,0,0,0.15);
    transition: background 0.3s;
}

.slideshow-slide .slide-video-play:hover {
    background: rgba(0,0,0,0.3);
}

.slideshow-slide .slide-video-play .play-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
    transition: transform 0.3s;
}

.slideshow-slide .slide-video-play:hover .play-icon {
    transform: scale(1.1);
}

.slideshow-controls {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.slideshow-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

.slideshow-dot:hover {
    border-color: #fff;
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s;
    padding: 0;
}

.slideshow-nav:hover {
    background: rgba(0,0,0,0.5);
}

.slideshow-nav.prev { left: 12px; }
.slideshow-nav.next { right: 12px; }

.slideshow-caption {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    color: #fff;
    font-size: 0.85rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 4;
    pointer-events: none;
}

.slideshow-caption strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.slideshow-empty {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--slate-500);
    font-size: 0.9rem;
    gap: 8px;
}

.slideshow-empty span {
    font-size: 2.5rem;
}

.gallery-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--blue-500);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.gallery-view-all:hover {
    color: var(--blue-600);
}

/* Slideshow reduced wrapper (30% smaller) */
.slideshow-reduced-wrap {
    max-width: 70%;
    margin: 0 auto;
}

/* Gallery page link button */
.gallery-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(14,165,233,0.1);
    color: var(--blue-400);
    border: 1px solid rgba(14,165,233,0.25);
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gallery-view-all-btn:hover {
    background: rgba(14,165,233,0.2);
    border-color: rgba(14,165,233,0.4);
    color: var(--blue-300);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14,165,233,0.15);
}

/* Testimonial stats bar (count + avg stars) */
.testimonial-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.testimonial-stat-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 1.3rem;
}

.stat-star {
    color: #475569;
}

.stat-star.filled {
    color: #f59e0b;
}

.stat-star.half {
    color: #f59e0b;
    opacity: 0.6;
}

.stat-rating-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-100);
    margin-left: 6px;
    font-family: 'Space Grotesk', sans-serif;
}

.testimonial-stat-count {
    font-size: 0.88rem;
    color: var(--slate-400);
    font-weight: 500;
}

/* Testimonial highlighted card */
.testimonial-card.testimonial-highlighted {
    border-color: rgba(245,158,11,0.35);
    background: #fffef5;
    position: relative;
}

.testimonial-card.testimonial-highlighted:hover {
    border-color: rgba(245,158,11,0.5);
    background: #fffdf0;
    box-shadow: 0 12px 40px rgba(245,158,11,0.1);
}

.testimonial-highlight-badge {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

/* Read more / Read less button */
.testimonial-read-more {
    background: none;
    border: none;
    color: var(--blue-400);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 14px;
    display: block;
    transition: color 0.2s;
}

.testimonial-read-more:hover {
    color: var(--blue-300);
    text-decoration: underline;
}

/* Read more hint on cards */
.testimonial-read-more-hint {
    display: block;
    font-size: 0.78rem;
    color: #0284c7;
    margin-bottom: 12px;
    opacity: 0.8;
}

/* Testimonial Detail Dialog (homepage) */
.testimonial-detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.testimonial-detail-modal {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 32px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 80px rgba(0,0,0,0.18);
}

.testimonial-detail-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.testimonial-detail-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.testimonial-detail-message {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #1e293b;
    font-style: italic;
    text-align: center;
    margin: 16px 0 20px;
    padding: 0 8px;
}

.testimonial-detail-author {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .testimonial-detail-modal {
        padding: 28px 20px;
        margin: 0 12px;
    }
}

@media (max-width: 768px) {
    .slideshow-reduced-wrap {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-slideshow {
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }
    .slideshow-nav { display: none; }
    .slideshow-caption { bottom: 36px; font-size: 0.78rem; }
    .slideshow-caption strong { font-size: 0.88rem; }
}

