/* ==========================================================================
   DMAC PREMIUM DISPLAY TECHNOLOGY - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

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

/* --- Root Variables (Light Theme by Default) --- */
:root {
  --color-primary: #233F87;      /* Navy Blue */
  --color-accent: #FF2B2B;       /* Accent Red */
  --color-bg: #FAF6EE;           /* Sandal/Cream Premium Background */
  --color-card: #FFFDF9;         /* Very Light Sand Card Background */
  --color-text: #0E121D;         /* Charcoal Black */
  --color-muted: #5E6E85;        /* Slate Gray */
  --color-border: rgba(0, 0, 0, 0.08);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --glow-blue: 0 0 25px rgba(35, 63, 135, 0.15);
  --glow-red: 0 0 25px rgba(255, 43, 43, 0.15);
  --glass-bg: rgba(255, 253, 249, 0.75);
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;

  /* Header & Custom Backgrounds */
  --header-bg: rgba(250, 246, 238, 0.8);
  --header-scrolled-bg: rgba(250, 246, 238, 0.95);
  --header-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  --card-shadow: 0 8px 30px rgba(35, 63, 135, 0.03);
  --card-hover-shadow: 0 12px 40px rgba(35, 63, 135, 0.06), 0 0 20px rgba(35, 63, 135, 0.03);
  --gradient-mid-bg: #F0EAD6;
  --gradient-end-bg: #F5EFE2;
  --btn-secondary-bg: rgba(35, 63, 135, 0.04);
  --btn-secondary-hover: rgba(35, 63, 135, 0.08);
  
  --hero-bg-text-stroke: rgba(35, 63, 135, 0.05);
  --hero-bg-text-color: rgba(35, 63, 135, 0.012);
  --hero-headline-gradient: linear-gradient(135deg, #0E121D 60%, rgba(14, 18, 29, 0.7));
  
  --radial-glow-blue: radial-gradient(circle, rgba(35, 63, 135, 0.06) 0%, rgba(250, 246, 238, 0) 70%);
  --radial-glow-red: radial-gradient(circle, rgba(255, 43, 43, 0.03) 0%, rgba(250, 246, 238, 0) 70%);
  --radial-glow-product: radial-gradient(circle, rgba(35, 63, 135, 0.1) 0%, rgba(255, 253, 249, 0) 70%);
  
  --product-visual-bg: rgba(35, 63, 135, 0.015);
  --product-visual-border: rgba(35, 63, 135, 0.04);
  --product-img-shadow: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
  
  --display-layer-bg: rgba(255, 253, 249, 0.75);
  --display-layer-border: rgba(35, 63, 135, 0.1);
  --display-layer-color: rgba(14, 18, 29, 0.6);
  --display-layer-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  
  --layer-glass-bg: linear-gradient(135deg, rgba(255, 253, 249, 0.85) 0%, rgba(255, 253, 249, 0.45) 100%);
  --layer-glass-border: rgba(35, 63, 135, 0.15);
  --layer-glass-shadow: inset 0 0 20px rgba(255, 255, 255, 0.7), 0 10px 25px rgba(0, 0, 0, 0.04);
  
  --layer-touch-bg: radial-gradient(circle, rgba(255,43,43,0.015) 0%, rgba(255,253,249,0) 80%);
  --layer-touch-border: rgba(255, 43, 43, 0.12);
  
  --layer-oled-bg: radial-gradient(circle, rgba(35, 63, 135, 0.05) 0%, rgba(255,253,249,0.85) 100%);
  --layer-oled-border: rgba(35, 63, 135, 0.2);
  
  --layer-ic-bg: #F5EFE2;
  --layer-ic-border: rgba(35, 63, 135, 0.08);
  --layer-ic-chip: #E2E8F0;
  
  --layer-flex-bg: rgba(245, 239, 226, 0.95);
  --layer-flex-cable: #E2E8F0;
  
  --form-input-bg: rgba(255, 253, 249, 0.8);
  --form-input-focus-bg: #FFFDF9;
  
  --modal-overlay-bg: rgba(250, 246, 238, 0.85);
  --modal-shadow: 0 20px 50px rgba(35, 63, 135, 0.08), var(--glow-blue);
  --modal-close-bg: rgba(0, 0, 0, 0.02);
  
  --timeline-node-bg: #FFFDF9;
  --timeline-node-hover-bg: #FAF6EE;
  
  --footer-bg: #131722;
  --header-height: 90px;
}

/* --- Dark Theme Overrides --- */
.dark-theme {
  --color-bg: #050505;           /* OLED Dark Background */
  --color-card: #111111;         /* Card Secondary */
  --color-text: #FFFFFF;         /* Crisp White */
  --color-muted: #B5B5B5;        /* Muted Gray */
  --color-border: rgba(255, 255, 255, 0.08);
  
  --glow-blue: 0 0 25px rgba(35, 63, 135, 0.45);
  --glow-red: 0 0 25px rgba(255, 43, 43, 0.45);
  --glass-bg: rgba(17, 17, 17, 0.75);

  /* Header & Custom Backgrounds */
  --header-bg: rgba(5, 5, 5, 0.8);
  --header-scrolled-bg: rgba(5, 5, 5, 0.95);
  --header-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --card-hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(35, 63, 135, 0.1);
  --gradient-mid-bg: #0c0c0c;
  --gradient-end-bg: #0d0d0d;
  --btn-secondary-bg: rgba(255, 255, 255, 0.03);
  --btn-secondary-hover: rgba(255, 255, 255, 0.08);
  
  --hero-bg-text-stroke: rgba(255, 255, 255, 0.03);
  --hero-bg-text-color: rgba(255, 255, 255, 0.012);
  --hero-headline-gradient: linear-gradient(135deg, #FFF 60%, rgba(255,255,255,0.6));
  
  --radial-glow-blue: radial-gradient(circle, rgba(35, 63, 135, 0.15) 0%, rgba(5, 5, 5, 0) 70%);
  --radial-glow-red: radial-gradient(circle, rgba(255, 43, 43, 0.08) 0%, rgba(5, 5, 5, 0) 70%);
  --radial-glow-product: radial-gradient(circle, rgba(35, 63, 135, 0.25) 0%, rgba(5, 5, 5, 0) 70%);
  
  --product-visual-bg: rgba(255, 255, 255, 0.01);
  --product-visual-border: rgba(255, 255, 255, 0.02);
  --product-img-shadow: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
  
  --display-layer-bg: rgba(255, 255, 255, 0.02);
  --display-layer-border: rgba(255, 255, 255, 0.08);
  --display-layer-color: rgba(255, 255, 255, 0.5);
  --display-layer-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  
  --layer-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  --layer-glass-border: rgba(255, 255, 255, 0.15);
  --layer-glass-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1), 0 15px 35px rgba(0, 0, 0, 0.4);
  
  --layer-touch-bg: radial-gradient(circle, rgba(255,43,43,0.03) 0%, rgba(5, 5, 5, 0) 80%);
  --layer-touch-border: rgba(255, 43, 43, 0.2);
  
  --layer-oled-bg: radial-gradient(circle, rgba(35, 63, 135, 0.12) 0%, rgba(5, 5, 5, 0.6) 100%);
  --layer-oled-border: rgba(35, 63, 135, 0.4);
  
  --layer-ic-bg: #0d0d0d;
  --layer-ic-border: rgba(255, 255, 255, 0.05);
  --layer-ic-chip: #1c1c1c;
  
  --layer-flex-bg: rgba(17, 17, 17, 0.9);
  --layer-flex-cable: #111111;
  
  --form-input-bg: rgba(255, 255, 255, 0.02);
  --form-input-focus-bg: rgba(255, 255, 255, 0.05);
  
  --modal-overlay-bg: rgba(5, 5, 5, 0.9);
  --modal-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--glow-blue);
  --modal-close-bg: rgba(255, 255, 255, 0.03);
  
  --timeline-node-bg: #111111;
  --timeline-node-hover-bg: #171717;
  
  --footer-bg: #030303;
}

/* --- Theme Toggle Button --- */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin-right: 1.5rem;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  background: var(--color-border);
  transform: scale(1.1) rotate(15deg);
  color: var(--color-accent);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: var(--color-bg);
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
  border: 2px solid var(--color-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--color-muted);
}

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

/* --- Reusable Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-padding {
  padding: 5rem 0;
  position: relative;
}

.glow-overlay-blue {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--radial-glow-blue);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}

.glow-overlay-red {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--radial-glow-red);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}

/* --- Glassmorphism Card Base --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  z-index: 1;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(35, 63, 135, 0.3);
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-5px);
}

/* --- Neon Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  gap: 0.8rem;
}

.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(35, 63, 135, 0.3);
}

.btn-primary:hover {
  background: #1d336f;
  color: #FFFFFF;
  box-shadow: 0 4px 25px rgba(35, 63, 135, 0.5), var(--glow-blue);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--btn-secondary-hover);
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(255, 43, 43, 0.15);
  transform: translateY(-2px);
}

/* --- Section Headings --- */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  transition: var(--transition-smooth);
}

.header.scrolled {
  --header-height: 75px;
  background: var(--header-scrolled-bg);
  box-shadow: var(--header-shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 160px;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 10vw;
  font-weight: 900;
  color: var(--hero-bg-text-color);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  -webkit-text-stroke: 1px var(--hero-bg-text-stroke);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-headline {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  background: var(--hero-headline-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

/* --- Hero Interactive Exploded Display Layout --- */
.hero-visual {
  position: relative;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-visual-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.15;
  filter: blur(8px);
  z-index: 0;
}

/* Mobile Hero Image Styles */
.hero-mobile-image-wrap {
  display: none; /* Hidden on desktop */
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  z-index: 2;
}

.hero-mobile-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 20px rgba(35, 63, 135, 0.25));
  animation: floatMobileImage 4s infinite ease-in-out;
}

.hero-mobile-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(35, 63, 135, 0.25) 0%, rgba(255, 43, 43, 0.08) 50%, rgba(5, 5, 5, 0) 70%);
  filter: blur(25px);
  z-index: -1;
  pointer-events: none;
}

/* High-tech calibration/alignment rings for visual depth on mobile */
.hero-mobile-image-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: rotateRing 20s linear infinite;
}

.hero-mobile-image-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  border: 1px solid rgba(35, 63, 135, 0.15);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: pulseRing 4s infinite ease-in-out;
}

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

@keyframes rotateRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulseRing {
  0%, 100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.8; }
}

.exploded-display {
  position: relative;
  width: 280px;
  height: 520px;
  transform-style: preserve-3d;
  transform: rotateX(25deg) rotateY(-30deg) rotateZ(5deg);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.exploded-display:hover {
  transform: rotateX(15deg) rotateY(-15deg) rotateZ(0deg);
}

.display-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: var(--display-layer-bg);
  border: 1.5px solid var(--display-layer-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--display-layer-color);
  box-shadow: var(--display-layer-shadow);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: var(--transition-smooth);
}

/* 3D Translation on Z-axis for layers */
.display-layer.layer-glass {
  transform: translateZ(150px);
  border-color: var(--layer-glass-border);
  background: var(--layer-glass-bg);
  box-shadow: var(--layer-glass-shadow);
}

.display-layer.layer-touch {
  transform: translateZ(90px);
  border-color: var(--layer-touch-border);
  background: var(--layer-touch-bg);
}

.display-layer.layer-touch::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px dashed rgba(255, 43, 43, 0.3);
  border-radius: 20px;
}

.display-layer.layer-hologram {
  transform: translateZ(30px);
  border-color: rgba(35, 63, 135, 0.3);
  background: radial-gradient(circle, rgba(35, 63, 135, 0.15) 0%, rgba(5, 5, 5, 0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(35, 63, 135, 0.2);
}

.hologram-apple {
  color: var(--color-primary);
  filter: drop-shadow(0 0 10px var(--color-primary));
  animation: pulse-glow 3s infinite ease-in-out;
}

.display-layer.layer-oled {
  transform: translateZ(-30px);
  border-color: var(--layer-oled-border);
  background: var(--layer-oled-bg);
  overflow: hidden;
}

.display-layer.layer-oled .oled-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.display-layer.layer-ic {
  transform: translateZ(-90px);
  background: var(--layer-ic-bg);
  border-color: var(--layer-ic-border);
}

.display-layer.layer-ic::before {
  content: 'IC CONTROLLER';
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

.display-layer.layer-ic .ic-chip {
  position: absolute;
  bottom: 60px;
  width: 70px;
  height: 35px;
  background: var(--layer-ic-chip);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255,43,43,0.15);
}

.display-layer.layer-flex {
  transform: translateZ(-150px);
  background: var(--layer-flex-bg);
  border-color: var(--layer-ic-border);
}

.display-layer.layer-flex .flex-cable {
  position: absolute;
  bottom: -40px;
  width: 80px;
  height: 120px;
  background: var(--layer-flex-cable);
  border: 1.5px solid var(--color-accent);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 0 15px rgba(255, 43, 43, 0.2);
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
    filter: drop-shadow(0 0 8px rgba(35, 63, 135, 0.6));
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(35, 63, 135, 0.9)) drop-shadow(0 0 10px rgba(255, 43, 43, 0.3));
  }
}

/* Glass Layer Cutouts & Shine Reflection */
.glass-reflection {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  pointer-events: none;
}

.dynamic-island {
  position: absolute;
  top: 30px;
  width: 80px;
  height: 22px;
  background: #000000;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2);
}

.speaker-grill {
  position: absolute;
  top: 15px;
  width: 40px;
  height: 3px;
  background: #222222;
  border-radius: 2px;
}

/* Premium Apple Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.8rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(35, 63, 135, 0.2);
}

.apple-badge-icon {
  color: #FFFFFF;
}

/* Floating layer label flags */
.layer-label {
  position: absolute;
  right: -140px;
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid var(--color-primary);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.9;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.display-layer:hover .layer-label {
  opacity: 1;
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(255, 43, 43, 0.3);
}

/* ==========================================================================
   ABOUT DMAC SECTION
   ========================================================================== */
.about {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--gradient-mid-bg) 50%, var(--color-bg) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.about-card {
  text-align: left;
}

.about-icon {
  width: 60px;
  height: 60px;
  background: rgba(35, 63, 135, 0.1);
  border: 1px solid rgba(35, 63, 135, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.about-card:hover .about-icon {
  background: var(--color-primary);
  color: var(--color-text);
  box-shadow: var(--glow-blue);
  transform: scale(1.1);
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   PRODUCT SHOWCASE
   ========================================================================== */
.products {
  background: var(--color-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.product-card {
  perspective: 1000px;
}

.product-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-visual {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 2rem;
  border-radius: 12px;
  background: var(--product-visual-bg);
  border: 1px solid var(--product-visual-border);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.product-img {
  max-height: 80%;
  width: auto;
  object-fit: contain;
  filter: var(--product-img-shadow);
  transition: var(--transition-smooth);
}

.product-card:hover .product-img {
  transform: translateY(-10px) rotate(3deg) scale(1.08);
}

.product-card:hover .product-visual {
  background: rgba(35, 63, 135, 0.03);
  border-color: rgba(35, 63, 135, 0.15);
}

.product-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--radial-glow-product);
  filter: blur(15px);
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.product-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.product-name {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.product-specs {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.product-specs li {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.product-specs li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
}

.btn-product {
  width: 100%;
  border: 1px solid var(--color-border);
  background: var(--btn-secondary-bg);
  color: var(--color-text);
}

.btn-product:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--glow-blue);
  color: #FFFFFF;
}

/* ==========================================================================
   TECHNOLOGY SECTION
   ========================================================================== */
.tech {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--gradient-end-bg) 100%);
}

.tech-container {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 4rem;
}

.tech-visual-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px;
}

.tech-screen-img {
  width: 90%;
  max-height: 520px;
  object-fit: contain;
  filter: var(--product-img-shadow);
  z-index: 1;
}

.tech-visual-wrap::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  background: var(--radial-glow-blue);
  filter: blur(30px);
  z-index: 0;
}

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

.tech-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.tech-item h3 svg {
  color: var(--color-accent);
}

/* ==========================================================================
   QUALITY CONTROL
   ========================================================================== */
.qc {
  background: var(--color-bg);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
  margin-top: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, rgba(35, 63, 135, 0.1) 0%, var(--color-primary) 50%, rgba(255, 43, 43, 0.2) 100%);
  z-index: 0;
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-node {
  width: 80px;
  height: 80px;
  background: var(--timeline-node-bg);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-weight: 700;
  color: var(--color-muted);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.timeline-step:hover .timeline-node {
  border-color: var(--color-accent);
  color: var(--color-text);
  background: var(--timeline-node-hover-bg);
  box-shadow: var(--glow-red);
  transform: scale(1.1);
}

.timeline-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.timeline-step p {
  font-size: 0.85rem;
  padding: 0 0.5rem;
}

/* --- QC Badges Grid --- */
.qc-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.qc-badge-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.qc-badge-card:hover {
  background: var(--timeline-node-hover-bg);
  border-color: var(--color-primary);
  box-shadow: var(--card-hover-shadow);
}

.qc-badge-card h4 {
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* ==========================================================================
   DISTRIBUTOR PROGRAM
   ========================================================================== */
.distributors {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--gradient-end-bg) 100%);
}

.dist-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 5rem;
}

.dist-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  margin: 1.5rem 0;
}

.dist-benefit-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.dist-visual-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}

.dist-map-img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  opacity: 0.75;
  filter: drop-shadow(0 10px 30px rgba(35,63,135,0.2));
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.quote-icon {
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  border: 1.5px solid var(--color-accent);
}

.author-details h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.author-details p {
  font-size: 0.8rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--gradient-end-bg) 100%);
}

.contact-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-detail-list {
  list-style: none;
  margin-top: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.contact-detail-item svg {
  color: var(--color-accent);
  margin-top: 0.2rem;
}

.contact-detail-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.contact-detail-item p {
  font-size: 0.95rem;
}

.whatsapp-card {
  background: rgba(37, 211, 102, 0.05);
  border: 1px solid rgba(37, 211, 102, 0.15);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-text h4 {
  color: #25D366;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
}

.btn-whatsapp:hover {
  background: #20ba59;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* --- Contact Form --- */
.contact-form-card {
  padding: 3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}

.form-input {
  background: var(--form-input-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

select.form-input option {
  background: var(--color-card);
  color: var(--color-text);
}

.mobile-only-cta {
  display: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--form-input-focus-bg);
  box-shadow: 0 0 10px rgba(35, 63, 135, 0.15);
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 1.5rem;
}

.btn-submit {
  flex: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-minimal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
}

.footer-logo-wrap img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  list-style: none;
}

.footer-nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: var(--transition-fast);
}

.footer-nav-links a:hover {
  color: var(--color-accent);
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

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

.social-link {
  color: rgba(255,255,255,0.4);
  font-size: 1.2rem;
}

.social-link:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-overlay-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--modal-shadow);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--modal-close-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 43, 43, 0.1);
  color: var(--color-accent);
  border-color: rgba(255, 43, 43, 0.3);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.modal-visual-panel {
  background: var(--product-visual-bg);
  border-right: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
}

.modal-visual-panel::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  background: var(--radial-glow-blue);
  filter: blur(20px);
}

.modal-visual-panel img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
  z-index: 2;
}

.modal-details-panel {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-details-panel h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.modal-tech-type {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  display: block;
}

.modal-detail-list {
  list-style: none;
  margin-bottom: 3rem;
}

.modal-detail-list li {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.modal-detail-list li svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-headline {
    font-size: 3.5rem;
  }
  .about-grid, .products-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  .timeline::before {
    display: none;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

@media (max-width: 992px) {
  .section-padding {
    padding: 7rem 0;
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-visual {
    height: 500px;
  }
  .tech-container {
    grid-template-columns: 1fr;
  }
  .tech-visual-wrap {
    height: 400px;
  }
  .dist-container {
    grid-template-columns: 1fr;
  }
  .dist-visual-wrap {
    height: 350px;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #header-cta-distributor {
    display: none;
  }
  .mobile-only-cta {
    display: block;
    margin-top: 1.5rem;
  }
  .exploded-display {
    display: none !important;
  }
  .hero-mobile-image-wrap {
    display: block;
  }
  .hero-visual {
    height: auto;
    min-height: 340px;
    margin-top: 2.5rem;
  }
  .layer-label {
    position: absolute;
    right: auto;
    left: auto;
    transform: none;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
  .layer-glass .layer-label { left: -60px; top: 10%; }
  .layer-touch .layer-label { right: -60px; top: 25%; }
  .layer-oled .layer-label { left: -60px; top: 40%; }
  .layer-ic .layer-label { right: -60px; top: 60%; }
  .layer-flex .layer-label { left: -60px; top: 75%; }
  :root {
    --header-height: 70px;
  }
  .header {
    position: absolute !important;
    height: var(--header-height);
    z-index: 1000;
  }
  .logo img {
    height: 30px;
  }
  .logo {
    z-index: 1001;
  }
  .nav-cta {
    z-index: 1001;
  }
  .theme-toggle-btn {
    width: 36px;
    height: 36px;
    margin-right: 1rem;
  }
  .container {
    padding: 0 1rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .section-padding {
    padding: 3.5rem 0;
  }
  .section-header {
    margin-bottom: 1.5rem;
  }
  .glass-card {
    padding: 1.5rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
  }
  .products-grid, .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  .about-icon {
    margin-bottom: 1.25rem;
  }
  .product-visual {
    margin-bottom: 1.25rem;
    height: 200px;
  }
  .product-specs {
    margin-bottom: 1.5rem;
  }
  .timeline-node {
    margin-bottom: 1rem;
  }
  .qc-badges {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }
  .tech-container {
    gap: 2rem;
  }
  .tech-visual-wrap {
    height: 280px;
  }
  .dist-container {
    gap: 2rem;
  }
  .dist-benefits {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }
  .dist-visual-wrap {
    height: 280px;
  }
  .contact-container {
    gap: 2.5rem;
  }
  .hero-headline {
    font-size: 2.5rem;
    line-height: 1.15;
  }
  .hero-subheadline {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }
  .hero {
    padding-top: 130px;
    padding-bottom: 3rem;
    min-height: auto;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg) !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    transition: var(--transition-smooth);
    border-top: none;
    z-index: 999;
    padding-top: var(--header-height);
  }
  .nav-menu.active {
    left: 0;
  }
  .menu-toggle {
    display: block;
    font-size: 1.5rem;
    z-index: 1001;
  }
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .modal-content-grid {
    grid-template-columns: 1fr;
  }
  .modal-visual-panel {
    padding: 2rem;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .modal-visual-panel img {
    max-height: 250px;
  }
  .modal-details-panel {
    padding: 2.5rem 2rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-full {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .section-padding {
    padding: 2.5rem 0;
  }
  .hero-headline {
    font-size: 2.1rem;
  }
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  .layer-label {
    display: none;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .qc-badges {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .modal-details-panel {
    padding: 1.5rem 1rem;
  }
  .modal-visual-panel {
    padding: 1.5rem;
  }
}

/* --- Floating WhatsApp Button --- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
  z-index: 9999;
  transition: var(--transition-smooth);
  animation: whatsappPulse 2s infinite;
}

.floating-whatsapp:hover {
  background-color: #20ba59;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0);
  animation: none; /* Pause animation on hover */
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  transition: var(--transition-fast);
}

.floating-whatsapp:hover svg {
  transform: rotate(10deg);
}

@keyframes whatsappPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
