/* ==========================================================================
   MOBILEWALA JANAKPUR - RESPONSIVE & PREMIUM UX STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- DESIGN TOKENS & DYNAMIC THEMES --- */
:root {
  /* Core Brand Colors */
  --brand-red-primary: #FF2E00;
  --brand-red-hover: #E02800;
  --brand-red-dark: #B31E00;
  --brand-red-glow: rgba(255, 46, 0, 0.35);
  --brand-red-subtle: rgba(255, 46, 0, 0.12);
  
  --brand-gray: #787D8A;
  --brand-silver: #D1D5DB;

  /* Day Mode (Light Theme - DEFAULT) */
  --bg-primary: #FEF3F3;
  --bg-secondary: #FAFAF5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(254, 243, 243, 0.94);
  --bg-input: #FFFFFF;

  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-inverse: #FFFFFF;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-active: rgba(224, 40, 0, 0.55);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 25px rgba(255, 46, 0, 0.18);

  --badge-bg: #FFEBE6;
  --badge-text: #D32000;
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Day Mode (Light Theme) */
[data-theme="light"] {
  --bg-primary: #FEF3F3;
  --bg-secondary: #FAFAF5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(254, 243, 243, 0.94);
  --bg-input: #FFFFFF;

  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-inverse: #FFFFFF;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-active: rgba(224, 40, 0, 0.55);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 25px rgba(255, 46, 0, 0.18);

  --badge-bg: #FFEBE6;
  --badge-text: #D32000;
}

/* Night Mode (Dark Theme) */
[data-theme="dark"] {
  --bg-primary: #2A2A2C;
  --bg-secondary: #212123;
  --bg-card: rgba(50, 50, 54, 0.85);
  --bg-card-hover: rgba(60, 60, 65, 0.95);
  --bg-glass: rgba(42, 42, 44, 0.92);
  --bg-input: #343438;

  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --text-inverse: #0B0D14;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 46, 0, 0.55);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 25px rgba(255, 46, 0, 0.28);

  --badge-bg: rgba(255, 46, 0, 0.15);
  --badge-text: #FF522B;
}

/* Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ==========================================================================
   PREMIUM SMOOTH ANIMATIONS SYSTEM
   ========================================================================== */

/* Keyframes */
@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes ambientPulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.08);
  }
}

/* Hero Showcase Animation */
.hero-showcase {
  animation: heroFloat 5s ease-in-out infinite;
}
.hero-bg-glow {
  animation: ambientPulse 8s ease-in-out infinite;
}

/* Scroll Reveal Classes (Driven by IntersectionObserver in script.js) */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* Staggered Delay Classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Dedicated Fading Animations for Hero, Footer, and Cards */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.fade-in-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Micro Interaction Smooth Transitions for Card Sections & Footer */
.service-card, .product-card, .review-card, .showcase-card, .studio-canvas-card, .studio-controls-card, .inquiry-form-card, .contact-info-card {
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.service-card:hover, .review-card:hover, .showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(120, 125, 138, 0.35);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red-primary);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Typography & Badges */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

p {
  font-family: var(--font-main);
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 1rem;
}

/* Strictly Uniform Section Subtitle Paragraphs */
.section-header p,
.hero-description {
  font-family: var(--font-main);
  font-size: 1.025rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 620px;
}

/* Strictly Uniform Section Body & Card Paragraphs */
.service-desc,
.product-desc,
.review-text,
.faq-answer,
.faq-answer p,
.contact-desc,
.contact-info-card p,
.inquiry-form-card p,
.feature-text p,
.footer p {
  font-family: var(--font-main);
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-red-primary) 0%, #FF6B4A 50%, #FF9900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-active);
}
.badge-live {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  touch-action: manipulation;
  min-height: 42px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-red-primary), var(--brand-red-dark));
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--brand-red-glow);
}
.btn-primary:hover, .btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--brand-red-glow);
  filter: brightness(1.1);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover, .btn-secondary:active {
  background-color: var(--bg-card-hover);
  border-color: var(--brand-red-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 600;
}
.btn-whatsapp:hover, .btn-whatsapp:active {
  background: #20BA5A;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  touch-action: manipulation;
}
.btn-icon:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--brand-red-primary);
  color: var(--brand-red-primary);
  transform: scale(1.05);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.top-bar {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.825rem;
  padding: 0.45rem 0;
  color: var(--text-secondary);
  transition: background-color var(--transition-normal);
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.top-info-item i {
  color: var(--brand-red-primary);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Logo - Kept on left side */
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px var(--brand-red-glow));
}
.logo-img-sm {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.brand-name-below {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--brand-red-primary);
  border-radius: 2px;
}

/* Grouped Action Buttons in Navbar */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle-btn i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.theme-toggle-btn .fa-sun {
  display: none;
}
.theme-toggle-btn .fa-moon {
  display: block;
  color: var(--text-primary);
}
[data-theme="dark"] .theme-toggle-btn .fa-sun {
  display: block;
  color: #FFB800;
}
[data-theme="dark"] .theme-toggle-btn .fa-moon {
  display: none;
}

.mobile-menu-btn {
  display: none;
}
.mobile-drawer-header, .mobile-drawer-footer {
  display: none;
}

/* ==========================================================================
   HERO SECTION & SAMSUNG PHONE SHOWCASE
   ========================================================================== */
.hero {
  padding: 2.25rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--brand-red-glow) 0%, rgba(255, 46, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.hero-rating-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-size: 0.825rem;
  font-weight: 600;
}
.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.18;
}
.hero-description {
  font-size: 1.025rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.85rem;
  width: 100%;
}
.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  backdrop-filter: blur(10px);
}
.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--brand-red-subtle);
  color: var(--brand-red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.feature-text h4 {
  font-size: 0.825rem;
  font-weight: 700;
}
.feature-text p {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* Hero Showcase Card featuring Samsung Smartphone Backside on White BG */
.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
}
.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  width: 100%;
  max-width: 420px;
  position: relative;
}
.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-samsung-frame {
  position: relative;
  height: 380px;
  background: #FEFDFD;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-color);
  padding: 0.75rem;
}

.samsung-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.18));
  transition: transform 0.4s ease;
}
.showcase-card:hover .samsung-hero-img {
  transform: scale(1.05);
}

.floating-badge {
  position: absolute;
  padding: 0.45rem 0.85rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.775rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}
.floating-badge.badge-top-right {
  top: 15px;
  right: 12px;
}
.floating-badge.badge-bottom-left {
  bottom: 18px;
  left: 12px;
  animation-delay: -2s;
}

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

/* ==========================================================================
   INTERACTIVE STUDIO SECTION
   ========================================================================== */
.studio-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-normal);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
}
.section-header .badge {
  margin-bottom: 0.65rem;
}
.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.section-header p {
  font-size: 1.025rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

.studio-section {
  text-align: center;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
  justify-content: center;
  justify-items: center;
}

.studio-canvas-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  backdrop-filter: blur(10px);
  width: 100%;
  margin: 0 auto;
}

.canvas-top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.phone-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  min-height: 450px;
  margin: 1rem auto;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-mockup-body {
  position: relative;
  border-radius: 38px;
  background: #1e1e24;
  box-shadow: 0 20px 45px rgba(0,0,0,0.45), inset 0 0 0 3px rgba(255,255,255,0.15);
  overflow: hidden;
  transition: width 0.35s ease, height 0.35s ease, border-radius 0.35s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
  flex-shrink: 0;
}
.phone-mockup-body.tilted {
  transform: rotateY(20deg) rotateX(8deg);
}

.phone-wrap-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transition: all 0.35s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.phone-camera-island {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 90px;
  height: 95px;
  background: rgba(15, 17, 23, 0.92);
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px;
  gap: 6px;
  z-index: 5;
  transition: all 0.3s ease;
}

/* Device Specific Real-time Mockup Shapes */
/* 1. iPhone Series Shape */
.phone-mockup-body.device-iphone {
  width: 210px;
  height: 430px;
  border-radius: 38px;
}
.phone-mockup-body.device-iphone .phone-wrap-layer {
  border-radius: 38px;
}

/* 2. Samsung Galaxy Ultra Shape (Boxy corner, quad floating lenses) */
.phone-mockup-body.device-samsung {
  width: 215px;
  height: 440px;
  border-radius: 14px;
}
.phone-mockup-body.device-samsung .phone-wrap-layer {
  border-radius: 14px;
}
.phone-mockup-body.device-samsung .phone-camera-island {
  top: 18px;
  left: 18px;
  width: 85px;
  height: 125px;
  background: transparent;
  box-shadow: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

/* 3. Standard Android Mobile Shape */
.phone-mockup-body.device-android {
  width: 205px;
  height: 425px;
  border-radius: 28px;
}
.phone-mockup-body.device-android .phone-wrap-layer {
  border-radius: 28px;
}
.phone-mockup-body.device-android .phone-camera-island {
  top: 18px;
  left: 18px;
  width: 55px;
  height: 110px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 6px;
}

/* 4. Apple iPad & Tablet Aspect Shape */
.phone-mockup-body.device-ipad {
  width: 285px;
  height: 380px;
  border-radius: 22px;
}
.phone-mockup-body.device-ipad .phone-wrap-layer {
  border-radius: 22px;
}
.phone-mockup-body.device-ipad .phone-camera-island {
  top: 18px;
  left: 18px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

/* 5. Android Tablet & Tab Ultra Aspect Shape */
.phone-mockup-body.device-tab {
  width: 305px;
  height: 370px;
  border-radius: 18px;
}
.phone-mockup-body.device-tab .phone-wrap-layer {
  border-radius: 18px;
}
.phone-mockup-body.device-tab .phone-camera-island {
  top: 18px;
  left: 18px;
  width: 44px;
  height: 75px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px;
}
.camera-lens {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #2a2d3d 40%, #11131a 80%);
  border: 2px solid #3d4257;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.camera-lens::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #093c60 0%, #000 100%);
  border: 1px solid rgba(255,255,255,0.2);
}
.camera-flash {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFF9E5;
  box-shadow: 0 0 8px #FFF;
  align-self: center;
  justify-self: center;
}

.brand-logo-stamp {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.45;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: grayscale(100%) invert(60%);
  z-index: 4;
  pointer-events: none;
  transition: all 0.3s ease;
}

.canvas-bottom-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.selected-spec-badge {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 0.6rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
  line-height: 1.4;
}
.selected-spec-badge strong {
  color: var(--text-primary);
  font-weight: 700;
}
.price-estimate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--badge-bg);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-active);
}
.price-tag-big {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-red-primary);
  font-family: var(--font-heading);
}

/* Studio Controls */
.studio-controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.control-group-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.control-group-title i {
  color: var(--brand-red-primary);
  font-size: 0.95rem;
}

.model-select {
  width: 100%;
  padding: 0.85rem 2.5rem 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-input);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.925rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-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='%23FF2E00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.model-select:hover {
  border-color: rgba(255, 46, 0, 0.4);
}
.model-select:focus {
  border-color: var(--brand-red-primary);
  box-shadow: 0 0 0 3px var(--brand-red-subtle);
}

.wrap-finish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.finish-card {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 0.95rem 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.finish-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 46, 0, 0.4);
  box-shadow: 0 4px 12px rgba(255, 46, 0, 0.08);
}
.finish-card.active {
  border-color: var(--brand-red-primary);
  background: var(--badge-bg);
  color: var(--brand-red-primary);
  box-shadow: 0 4px 16px rgba(255, 46, 0, 0.16);
  transform: translateY(-2px);
}
.finish-icon {
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
}
.finish-label {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
}

.color-swatches {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition-bounce), border-color var(--transition-fast);
}
.color-swatch:hover, .color-swatch.active {
  transform: scale(1.2);
  border-color: var(--text-primary);
}

.upload-drop-container {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.upload-dropzone {
  flex-grow: 1;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  background: var(--bg-input);
  transition: all var(--transition-fast);
}
.upload-dropzone:hover {
  border-color: var(--brand-red-primary);
  background: var(--badge-bg);
}
.upload-dropzone i {
  font-size: 1.4rem;
  color: var(--brand-red-primary);
  margin-bottom: 0.3rem;
}

/* ==========================================================================
   PRODUCTS CATALOG
   ========================================================================== */
.catalog-section {
  padding: 5rem 0;
}

.catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.tab-btn:hover, .tab-btn.active {
  background: var(--brand-red-primary);
  color: #FFFFFF;
  border-color: var(--brand-red-primary);
  box-shadow: 0 4px 12px var(--brand-red-glow);
}

.search-box {
  position: relative;
  min-width: 250px;
  flex-grow: 1;
  max-width: 340px;
}
.search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.875rem;
  outline: none;
}
.search-input:focus {
  border-color: var(--brand-red-primary);
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

.product-image-wrap {
  height: 200px;
  background: var(--bg-secondary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
  cursor: pointer;
}
.product-img {
  max-height: 155px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img {
  transform: scale(1.08);
}
.product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  background: var(--brand-red-primary);
  color: #FFFFFF;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(255, 46, 0, 0.35);
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s ease;
  pointer-events: none;
}
.product-card:hover .product-tag,
.product-card:focus-within .product-tag {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px) scale(0.92);
}

.product-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.65rem;
}
.product-cat {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--brand-red-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-name {
  font-size: 1.05rem;
  font-weight: 700;
}
.product-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
}
.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-heading);
}
.price-unit {
  font-size: 0.8rem;
  color: var(--brand-red-primary);
  margin-right: 2px;
}

/* ==========================================================================
   SERVICES & FAQ
   ========================================================================== */
.services-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-red-primary);
  box-shadow: var(--shadow-md);
}
.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  color: var(--brand-red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* FAQ Accordion */
.faq-section {
  padding: 5rem 0;
  background: var(--bg-primary);
}
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}
.faq-item:hover {
  border-color: var(--border-active);
}
.faq-item.open {
  border-color: var(--brand-red-primary);
  box-shadow: 0 6px 24px rgba(255, 46, 0, 0.15);
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.025rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: color 0.25s ease;
}
.faq-question-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.faq-question-icon {
  color: var(--brand-red-primary);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.faq-icon-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red-primary);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
}
.faq-item.open .faq-icon-toggle {
  transform: rotate(180deg);
  background: var(--brand-red-primary);
  color: #FFFFFF;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease, opacity 0.35s ease;
  padding: 0 1.5rem;
  opacity: 0;
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.65;
}
.faq-item.open .faq-answer {
  padding: 0 1.5rem 1.35rem 1.5rem;
  opacity: 1;
  max-height: 500px;
}

/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */
.reviews-section {
  padding: 5rem 0;
}
.reviews-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.rating-big-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.rating-score {
  font-size: 3.8rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
}
.rating-stars {
  color: #FFB800;
  font-size: 1.15rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
}
.review-quote-icon {
  font-size: 1.75rem;
  color: var(--brand-red-subtle);
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}
.review-text {
  font-size: 0.925rem;
  font-style: italic;
}
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red-primary), var(--brand-red-dark));
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ==========================================================================
   LOCATION & CONTACT
   ========================================================================== */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.contact-info-card, .inquiry-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  color: var(--brand-red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.map-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 260px;
  width: 100%;
  cursor: pointer;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.map-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 12px;
  text-decoration: none;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.02);
  transition: background 0.3s ease;
}
.map-link-overlay:hover {
  background: rgba(0, 0, 0, 0.12);
}
.map-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(135deg, var(--brand-red-primary), #E11D48);
  color: #FFFFFF;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px var(--brand-red-glow);
  transition: all var(--transition-fast);
}
.map-link-overlay:hover .map-badge {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 20px var(--brand-red-glow);
}

.form-group {
  margin-bottom: 1.15rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}
.form-control {
  width: 100%;
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-input);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}
.form-control:hover {
  border-color: rgba(255, 46, 0, 0.35);
}
.form-control:focus {
  border-color: var(--brand-red-primary);
  box-shadow: 0 0 0 3.5px var(--brand-red-subtle);
  background-color: var(--bg-input);
}
select.form-control {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  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='%23FF2E00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 14px;
}
select.form-control option,
.model-select option {
  background-color: #FFFFFF;
  color: #111827;
  padding: 0.6rem;
}
[data-theme="dark"] select.form-control option,
[data-theme="dark"] .model-select option {
  background-color: #2A2A2C;
  color: #F3F4F6;
}
textarea.form-control {
  resize: vertical;
  min-height: 95px;
  line-height: 1.5;
}

/* ==========================================================================
   FOOTER SECTION (CENTER ALIGNED)
   ========================================================================== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: center;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo-row {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  text-decoration: none;
}
.footer-logo-row .logo-img-sm {
  height: 42px;
  width: auto;
  object-fit: contain;
}
.footer-logo-row .brand-name-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  line-height: 1;
}
.footer-title {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.footer-links a:hover {
  color: var(--brand-red-primary);
}
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

/* Floating Action Button (WhatsApp) */
.floating-actions {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: transform var(--transition-bounce);
}
.float-btn:hover {
  transform: scale(1.1);
}
.float-whatsapp { background: #25D366; }

.float-tooltip {
  position: absolute;
  right: 62px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}
.float-btn:hover .float-tooltip {
  opacity: 1;
}

/* Product Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}
.modal-overlay.active .modal-card {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-secondary);
  border: 1px solid var(--brand-red-primary);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--transition-bounce);
  pointer-events: none;
}
.toast.active {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE MOBILE BREAKPOINTS (SMARTPHONES & TABLETS)
   ========================================================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px !important;
  }

  .studio-section, .catalog-section, .services-section, .reviews-section, .faq-section, .contact-section {
    padding: 3rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }

  .hero {
    padding: 1.75rem 0 1.25rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }
  .hero-content {
    align-items: center;
    gap: 0.85rem;
  }
  .hero-description {
    max-width: 100%;
  }
  .studio-grid {
    grid-template-columns: 1fr;
    justify-content: center;
    justify-items: center;
    gap: 1.75rem;
    width: 100%;
    margin: 0 auto;
  }
  .studio-canvas-card, .studio-controls-card {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px !important;
  }

  .studio-section, .catalog-section, .services-section, .reviews-section, .faq-section, .contact-section {
    padding: 2.25rem 0;
  }
  .section-header {
    margin-bottom: 1.5rem;
  }
  .section-header h2 {
    font-size: 1.75rem;
  }
  .section-header p,
  .hero-description {
    font-size: 0.925rem;
    line-height: 1.6;
  }
  .service-desc,
  .product-desc,
  .review-text,
  .faq-answer,
  .faq-answer p,
  .contact-desc,
  .contact-info-card p,
  .inquiry-form-card p,
  .feature-text p,
  .footer p {
    font-size: 0.85rem;
    line-height: 1.55;
  }

  /* Hide bottom toast notification on mobile screens */
  .toast {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .top-bar {
    display: none;
  }

  .navbar {
    height: 70px;
  }

  /* Logo pinned cleanly on left side */
  .brand-logo {
    align-items: flex-start;
  }
  .logo-img {
    height: 34px;
  }
  .brand-name-below {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }

  /* Hide call button from collapsed header row on small screens */
  .call-nav-btn {
    display: none !important;
  }

  .mobile-menu-btn {
    display: inline-flex;
    width: 38px;
    height: 38px;
  }
  .theme-toggle-btn {
    width: 38px;
    height: 38px;
  }

  /* Responsive Mobile Navigation Opening FROM TOP (ALL ELEMENTS CENTERED) */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
  }
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1100;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }
  .nav-links.mobile-open {
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .mobile-drawer-header {
    display: none;
  }
  .mobile-drawer-footer {
    display: block;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .hero {
    padding: 1.25rem 0 1rem;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
  }
  .hero-features {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-top: 0.5rem;
  }
  .feature-item {
    padding: 0.5rem 0.7rem;
  }
  
  .showcase-card {
    padding: 1rem 0.85rem;
  }
  .hero-samsung-frame {
    height: 300px;
  }

  .studio-grid {
    grid-template-columns: 1fr;
    justify-content: center;
    justify-items: center;
    width: 100%;
    margin: 0 auto;
    gap: 1.5rem;
  }

  .studio-canvas-card, .studio-controls-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 1.15rem 0.85rem;
  }

  .service-card {
    padding: 1.15rem 1rem;
  }
  .review-card {
    padding: 1.15rem 1rem;
  }
  .reviews-summary-card {
    padding: 1.25rem 1rem;
    margin-bottom: 1.75rem;
  }
  .contact-info-card, .inquiry-form-card {
    padding: 1.25rem 1rem;
  }
  .map-wrapper {
    height: 280px;
  }

  .faq-question {
    padding: 1rem 1.15rem;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 1.15rem;
  }
  .faq-item.open .faq-answer {
    padding: 0 1.15rem 1rem;
    font-size: 0.875rem;
  }

  .phone-mockup-wrapper {
    max-width: 100%;
    width: auto;
    height: auto;
    min-height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto 1.5rem;
  }
  
  /* Scaled device mockup shapes on mobile screens */
  .phone-mockup-body.device-iphone {
    width: 175px;
    height: 350px;
  }
  .phone-mockup-body.device-samsung {
    width: 175px;
    height: 355px;
  }
  .phone-mockup-body.device-android {
    width: 170px;
    height: 345px;
  }
  .phone-mockup-body.device-ipad {
    width: 230px;
    height: 310px;
  }
  .phone-mockup-body.device-tab {
    width: 240px;
    height: 300px;
  }

  .brand-logo-stamp {
    width: 28px;
    height: 28px;
    bottom: 28px;
  }

  .canvas-bottom-info {
    width: 100%;
    position: relative;
    z-index: 10;
    margin-top: 0.5rem;
  }

  .selected-spec-badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.65rem;
    word-break: break-word;
  }

  .price-estimate-row {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
  }

  .wrap-finish-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .catalog-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .search-box {
    max-width: 100%;
    width: 100%;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px !important;
  }

  .studio-section, .catalog-section, .services-section, .reviews-section, .faq-section, .contact-section {
    padding: 1.75rem 0;
  }
  .section-header {
    margin-bottom: 1.25rem;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .section-header p,
  .hero-description {
    font-size: 0.875rem;
    line-height: 1.55;
  }
  .service-desc,
  .product-desc,
  .review-text,
  .faq-answer,
  .faq-answer p,
  .contact-desc,
  .contact-info-card p,
  .inquiry-form-card p,
  .feature-text p,
  .footer p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .hero {
    padding: 1rem 0 0.75rem;
  }
  .hero-title {
    font-size: 1.7rem;
    line-height: 1.2;
  }
  .hero-cta {
    width: 100%;
    gap: 0.5rem;
  }
  .hero-cta .btn {
    width: 100%;
  }

  .showcase-card {
    padding: 0.85rem 0.7rem;
  }
  .hero-samsung-frame {
    height: 260px;
  }

  .feature-item {
    padding: 0.45rem 0.6rem;
  }
  .feature-icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .studio-canvas-card, .studio-controls-card {
    padding: 0.85rem 0.65rem;
  }

  .phone-mockup-wrapper {
    min-height: 330px;
    margin: 0.5rem auto 1rem;
  }
  .phone-mockup-body.device-iphone {
    width: 160px;
    height: 325px;
    border-radius: 28px;
  }
  .phone-mockup-body.device-samsung {
    width: 160px;
    height: 330px;
    border-radius: 10px;
  }
  .phone-mockup-body.device-android {
    width: 155px;
    height: 320px;
    border-radius: 20px;
  }
  .phone-mockup-body.device-ipad {
    width: 210px;
    height: 280px;
    border-radius: 16px;
  }
  .phone-mockup-body.device-tab {
    width: 220px;
    height: 270px;
    border-radius: 14px;
  }
  .brand-logo-stamp {
    width: 24px;
    height: 24px;
    bottom: 22px;
  }

  .service-card, .review-card {
    padding: 0.9rem 0.75rem;
  }
  .contact-info-card, .inquiry-form-card {
    padding: 1rem 0.75rem;
  }
  .map-wrapper {
    height: 240px;
  }

  .faq-question {
    padding: 0.85rem 0.95rem;
    font-size: 0.9rem;
    gap: 0.5rem;
  }
  .faq-answer {
    padding: 0 0.95rem;
  }
  .faq-item.open .faq-answer {
    padding: 0 0.95rem 0.85rem;
    font-size: 0.825rem;
  }

  .model-select {
    font-size: 0.85rem;
    padding: 0.75rem 2.2rem 0.75rem 0.85rem;
  }
  .wrap-finish-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .finish-card {
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    gap: 0.35rem;
  }
  .finish-icon {
    font-size: 1.25rem;
    height: 24px;
  }
  .finish-label {
    font-size: 0.75rem;
  }
  .catalog-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }
  .search-box {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
  }
  .category-tabs {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.2rem 0 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .tab-btn {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .product-card {
    border-radius: var(--radius-md);
  }
  .product-image-wrap {
    height: 145px;
    padding: 0.65rem;
  }
  .product-tag {
    top: 8px;
    left: 8px;
    font-size: 0.65rem;
    padding: 0.18rem 0.55rem;
  }
  .product-card:active .product-tag {
    opacity: 0;
    visibility: hidden;
  }
  .product-details {
    padding: 0.6rem;
    gap: 0.35rem;
  }
  .product-name {
    font-size: 0.85rem;
    line-height: 1.25;
  }
  .product-desc {
    font-size: 0.72rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.4rem;
  }
  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }
  .product-footer .btn-whatsapp {
    width: 100%;
    justify-content: center;
    padding: 0.45rem 0.5rem;
    font-size: 0.8rem;
  }
  .footer {
    padding: 2rem 0 1.25rem;
  }

/* ==========================================================================
   RESPONSIVE BIG SCREEN OPTIMIZATIONS (1440px, 1680px, 1920px, 2560px+)
   ========================================================================== */

/* 1. Large Laptops & Standard Desktop Monitors (1440px - 1679px) */
@media (min-width: 1440px) {
  .container {
    max-width: 1380px;
    padding: 0 48px;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-grid {
    gap: 3.5rem;
  }

  .showcase-card {
    max-width: 460px;
  }

  .hero-samsung-frame {
    height: 440px;
  }

  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }

  .product-image-wrap {
    height: 215px;
  }

  .product-img {
    max-height: 165px;
  }

  .services-grid {
    gap: 2rem;
  }

  .service-card {
    padding: 2.25rem;
  }

  .faq-accordion {
    max-width: 920px;
  }
}

/* 2. Full HD Desktops & High-Res Displays (1680px - 1919px) */
@media (min-width: 1680px) {
  .container {
    max-width: 1560px;
    padding: 0 60px;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero-title {
    font-size: 3.6rem;
  }

  .hero-description,
  .section-header p {
    font-size: 1.125rem;
    max-width: 650px;
    line-height: 1.65;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }

  .showcase-card {
    max-width: 500px;
    padding: 2rem;
  }

  .hero-samsung-frame {
    height: 480px;
  }

  .hero-bg-glow {
    width: 700px;
    height: 700px;
  }

  .studio-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
  }

  .studio-canvas-card {
    max-width: 560px;
    padding: 2.25rem;
  }

  .phone-mockup-wrapper {
    width: 240px;
    height: 480px;
  }

  .phone-mockup-body.device-iphone {
    width: 235px;
    height: 470px;
  }

  .phone-mockup-body.device-samsung {
    width: 235px;
    height: 470px;
  }

  .phone-mockup-body.device-android {
    width: 225px;
    height: 455px;
  }

  .phone-mockup-body.device-ipad {
    width: 320px;
    height: 430px;
  }

  .phone-mockup-body.device-tab {
    width: 330px;
    height: 420px;
  }

  .studio-controls-card {
    max-width: 680px;
    padding: 2.25rem;
    gap: 1.75rem;
  }

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

  .product-image-wrap {
    height: 230px;
  }

  .product-img {
    max-height: 180px;
  }

  .services-grid {
    gap: 2.25rem;
  }

  .service-card {
    padding: 2.25rem;
  }

  .service-icon-box {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .reviews-grid {
    gap: 2rem;
  }

  .review-card {
    padding: 2rem;
  }

  .faq-accordion {
    max-width: 1000px;
    gap: 1.25rem;
  }

  .faq-question {
    padding: 1.4rem 1.75rem;
    font-size: 1.1rem;
  }

  .contact-grid {
    gap: 3.5rem;
  }

  .contact-info-card, .inquiry-form-card {
    padding: 2.5rem;
  }

  .map-wrapper {
    height: 380px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3.5rem;
  }
}

/* 3. 1080p Ultra-Wide & 2K / 4K Large Displays (1920px+) */
@media (min-width: 1920px) {
  .container {
    max-width: 1780px;
    padding: 0 80px;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-description,
  .section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    line-height: 1.65;
  }

  .hero-grid {
    gap: 4.5rem;
  }

  .showcase-card {
    max-width: 540px;
    padding: 2.25rem;
  }

  .hero-samsung-frame {
    height: 520px;
  }

  .hero-bg-glow {
    width: 850px;
    height: 850px;
  }

  .hero-features {
    gap: 1rem;
    margin-top: 1.25rem;
  }

  .feature-item {
    padding: 0.85rem 1.1rem;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .feature-text h4 {
    font-size: 0.95rem;
  }

  .feature-text p {
    font-size: 0.8rem;
  }

  .studio-grid {
    gap: 4.5rem;
  }

  .studio-canvas-card {
    max-width: 620px;
    padding: 2.5rem;
  }

  .studio-controls-card {
    max-width: 750px;
    padding: 2.5rem;
    gap: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.25rem;
  }

  .product-image-wrap {
    height: 250px;
  }

  .product-img {
    max-height: 195px;
  }

  .services-grid {
    gap: 2.5rem;
  }

  .service-card {
    padding: 2.5rem;
  }

  .service-icon-box {
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
  }

  .service-title {
    font-size: 1.35rem;
  }

  .service-desc {
    font-size: 1rem;
    line-height: 1.6;
  }

  .reviews-grid {
    gap: 2.25rem;
  }

  .review-card {
    padding: 2.25rem;
  }

  .review-text {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .faq-accordion {
    max-width: 1100px;
    gap: 1.35rem;
  }

  .faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.15rem;
  }

  .faq-answer {
    font-size: 1rem;
  }

  .contact-grid {
    gap: 4.5rem;
  }

  .contact-info-card, .inquiry-form-card {
    padding: 3rem;
  }

  .map-wrapper {
    height: 420px;
  }

  .footer-grid {
    gap: 4.5rem;
  }

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

/* 4. 2K / 4K Extreme Ultra-Wide Displays (2560px+) */
@media (min-width: 2560px) {
  .container {
    max-width: 2200px;
    padding: 0 100px;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
  }
}
