/* ===================================================
   CHRIS ROYAL ELECTRONIC ENTERPRISE — style.css
   Premium Orange-Cream Glassmorphism Theme
   =================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
  --orange: #FF6B00;
  --orange-light: #FF8C42;
  --orange-soft: #FFB380;
  --cream: #FFF8F0;
  --cream-dark: #F5EDE0;
  --white: #FFFFFF;
  --black: #0A0A0A;
  --text-dark: #1A1A2E;
  --text-mid: #4A4A6A;
  --text-light: #8A8AB0;
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(255, 107, 0, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 107, 0, 0.2);
  --shadow-sm: 0 2px 12px rgba(255, 107, 0, 0.1);
  --shadow-md: 0 8px 32px rgba(255, 107, 0, 0.15);
  --shadow-lg: 0 20px 60px rgba(255, 107, 0, 0.2);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --section-bg: #FFFFFF;
  --section-alt: #FFF8F0;
  --font-display: 'roboto';
  --font-body: 'roboto';
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode {
  --cream: #0F0F1A;
  --cream-dark: #1A1A2E;
  --white: #1E1E30;
  --black: #FFFFFF;
  --text-dark: #F0F0FF;
  --text-mid: #B0B0D0;
  --text-light: #7070A0;
  --card-bg: rgba(30, 30, 48, 0.95);
  --card-border: rgba(255, 107, 0, 0.25);
  --glass-bg: rgba(20, 20, 35, 0.7);
  --glass-border: rgba(255, 107, 0, 0.3);
  --nav-bg: rgba(15, 15, 26, 0.95);
  --section-bg: #0F0F1A;
  --section-alt: #1A1A2E;
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--orange), #FF8C00);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}
body.dark-mode .btn-secondary { color: var(--white); border-color: var(--white); }
.btn-secondary:hover {
  background: var(--text-dark);
  color: var(--white);
  transform: translateY(-2px);
}
body.dark-mode .btn-secondary:hover { background: var(--white); color: var(--text-dark); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.4s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}
.nav-logo .logo-icon { font-size: 1.5rem; }
.nav-logo strong { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--orange), #FF8C00);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(255,107,0,0.35);
}
.cart-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(255,107,0,0.5); }

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.toggle-track {
  width: 40px; height: 22px;
  background: #ddd;
  border-radius: 11px;
  position: relative;
  transition: background 0.3s;
}
body.dark-mode .toggle-track { background: var(--orange); }
.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
body.dark-mode .toggle-thumb { transform: translateX(18px); }
.toggle-label { font-size: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── REVEAL ANIMATIONS ── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.9s ease;
}
.revealed { opacity: 1; transform: none !important; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #FF6B00 0%, #FF8C42 25%, #FFB380 55%, #FFF3E8 85%, #FFFFFF 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #3D1500 0%, #5C2200 25%, #7A3A00 50%, #1A1A2E 85%, #0F0F1A 100%);
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  pointer-events: none;
  opacity: 0.12;
}

.texture-loop {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0;
}

.texture-row {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: scrollRight 20s linear infinite;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.8);
}
.texture-row.reverse {
  animation: scrollLeft 24s linear infinite;
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}
@keyframes scrollLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  max-width: 1200px;
  padding: 60px 24px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.headline-accent {
  background: linear-gradient(135deg, #FFF3E8, #FFD4AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-cta-row .btn-primary {
  background: #fff;
  color: var(--orange);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hero-cta-row .btn-primary:hover { background: #FFF3E8; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

.hero-cta-row .btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.hero-cta-row .btn-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat { display: flex; flex-direction: column; align-items: center; }
.stat strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: #fff; }
.stat span { font-size: 0.78rem; color: rgba(255,255,255,0.75); font-weight: 500; }
.stat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.3); }

/* -- iPhone Mockup -- */
.hero-phone {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
}

.iphone-wrap {
  position: relative;
  display: flex;
  gap: 28px;
  align-items: center;
  z-index: 2;
}

.iphone-front {
  width: 160px;
  height: 320px;
  background: linear-gradient(160deg, #1C1C1E, #2C2C2E);
  border-radius: 36px;
  padding: 12px 10px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.1);
  animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0px) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(-3deg); }
}

.iphone-notch {
  width: 60px; height: 14px;
  background: #000;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 8px;
}

.iphone-screen {
  width: 100%; height: 230px;
  background: linear-gradient(160deg, #1a1a2e, #16213e, #0f3460);
  border-radius: 16px;
  padding: 16px 12px;
  overflow: hidden;
}

.screen-time {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 4px;
}
.screen-date {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-bottom: 16px;
}
.screen-icons {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.s-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  opacity: 0.9;
}
.screen-bar {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  margin-top: 8px;
}

.iphone-home-bar {
  width: 50px; height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  margin: 8px auto 0;
}

.iphone-back {
  width: 140px;
  height: 290px;
  background: linear-gradient(160deg, #2C2C2E, #1C1C1E);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.08);
  animation: floatPhoneBack 4s ease-in-out infinite 0.5s;
}

@keyframes floatPhoneBack {
  0%, 100% { transform: translateY(0px) rotate(3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

.camera-module {
  width: 80px; height: 80px;
  background: rgba(0,0,0,0.6);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  padding: 12px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.cam {
  border-radius: 50%;
  background: radial-gradient(circle, #333, #111);
  border: 1px solid rgba(255,255,255,0.1);
}
.cam-main { width: 28px; height: 28px; }
.cam-ultra { width: 22px; height: 22px; align-self: center; }
.cam-tele { width: 22px; height: 22px; }
.cam-flash {
  width: 8px; height: 8px;
  background: #FFE066;
  border-radius: 50%;
  position: absolute;
  bottom: 8px; right: 8px;
}

.apple-logo { color: rgba(255,255,255,0.5); }

.phone-shadow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px; height: 20px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  filter: blur(15px);
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.25);
  animation: rotateSlow linear infinite;
}
.ring-1 {
  width: 320px; height: 320px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 20s;
}
.ring-2 {
  width: 420px; height: 420px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 30s;
  animation-direction: reverse;
}
@keyframes rotateSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   COLLECTION SECTION
   ============================================================ */
.collection-section {
  padding: 100px 0;
  background: var(--section-bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: var(--cream-dark);
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .card-img-wrap img { transform: scale(1.05); }

.card-badge-new {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 50px;
}

.card-body {
  padding: 18px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 14px;
}
.star { color: #FFB800; font-size: 0.9rem; }
.rating-count { font-size: 0.75rem; color: var(--text-light); margin-left: 4px; }

.add-to-cart-btn {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, var(--orange), #FF8C00);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 3px 12px rgba(255,107,0,0.35);
}
.add-to-cart-btn:hover {
  box-shadow: 0 6px 20px rgba(255,107,0,0.5);
  transform: translateY(-1px);
}

/* "Added!" badge */
.added-badge {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #22C55E;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  animation: badgeIn 0.25s ease forwards;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 3px 12px rgba(34,197,94,0.4);
}
@keyframes badgeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.added-badge.fade-out {
  animation: badgeOut 0.4s ease forwards;
}
@keyframes badgeOut {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to { opacity: 0; transform: translateX(-50%) translateY(-6px); }
}

.more-collection-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
}
.more-btn:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,0,0.35);
}
.more-btn svg { transition: transform var(--transition); }
.more-btn:hover svg { transform: translateX(4px); }

/* ============================================================
   ABOUT US SECTION
   ============================================================ */
.about-section {
  padding: 100px 0;
  background: var(--section-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-img{
  position: relative;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.director{
  font-size:1.5rem ;
  color: var(--orange);
}
.about-me{
  position: absolute;
  bottom: -2px;
  color: var(--black);
  background-color: rgba(248, 244, 244, 0.6);
  border-radius: 0.2rem;
  padding: 0.5rem;
}

.about-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.about-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--section-bg);
  overflow: hidden;
}

/*.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}*/
.testimonials-track {
  display: flex;
  gap: 24px;
  animation: scrollTestis 30s linear infinite;
  width: max-content;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes scrollTestis {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testi-card {
  width: 360px;
  flex-shrink: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card.featured {
  background: linear-gradient(135deg, var(--orange), #FF8C00);
  border-color: transparent;
  color: #fff;
}

.testi-stars { color: #FFB800; font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card.featured .testi-stars { color: #FFE566; }

.testi-card p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 20px;
  font-style: italic;
}
.testi-card.featured p { color: rgba(255,255,255,0.9); }

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--orange), #FF8C00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #fff;
}
.testi-card.featured .testi-avatar {
  background: rgba(255,255,255,0.25);
}

.testi-author strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text-dark); }
.testi-card.featured .testi-author strong { color: #fff; }
.testi-author span { font-size: 0.78rem; color: var(--text-light); }
.testi-card.featured .testi-author span { color: rgba(255,255,255,0.7); }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  padding: 100px 0;
  background: var(--section-alt);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
}

.faq-trigger span:first-child {
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.faq-icon {
  width: 28px; height: 28px;
  min-width: 28px;
  background: linear-gradient(135deg, var(--orange), #FF8C00);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform var(--transition);
  line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
}
.faq-item.open .faq-body {
  max-height: 500px;
  opacity: 1;
}
.faq-body p {
  padding: 0 24px 22px;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
  padding: 100px 0;
  background: var(--section-bg);
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.form-deco {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

/* Phone Stand Decoration */
.phone-stand {
  position: relative;
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stand-phone {
  width: 70px; height: 120px;
  background: linear-gradient(160deg, #1C1C1E, #2C2C2E);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}
.stand-screen {
  width: 54px; height: 96px;
  background: linear-gradient(135deg, #FF6B00, #FFB380, #FF6B00);
  background-size: 200% 200%;
  animation: screenPulse 3s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes screenPulse {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.stand-neck {
  width: 10px; height: 40px;
  background: #ccc;
  border-radius: 4px;
  margin-top: 0;
}
.stand-base {
  width: 70px; height: 10px;
  background: linear-gradient(90deg, #aaa, #ccc, #aaa);
  border-radius: 6px;
  margin-bottom: 4px;
}
body.dark-mode .stand-neck { background: #444; }
body.dark-mode .stand-base { background: linear-gradient(90deg, #333, #555, #333); }

.form-deco-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-deco-text p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
}
.req { color: var(--orange); }
.optional { font-weight: 400; color: var(--text-light); font-size: 0.8rem; }

.form-group input,
.form-group textarea {
  padding: 13px 16px;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12) !important;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }

.form-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #DC2626;
  font-weight: 500;
}
body.dark-mode .form-error { background: rgba(220,38,38,0.1); border-color: rgba(220,38,38,0.3); }

.form-submit-btn { align-self: flex-start; }

/* Success Overlay */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: overlayIn 0.3s ease;
}
@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.success-box {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  animation: boxIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes boxIn {
  from { transform: scale(0.8) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.success-check {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
}
.check-svg { width: 80px; height: 80px; }
.check-circle {
  stroke: var(--orange);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: drawCircle 0.6s cubic-bezier(0.65,0,0.45,1) forwards;
}
@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}
.check-tick {
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: drawTick 0.4s cubic-bezier(0.65,0,0.45,1) 0.4s forwards;
}
@keyframes drawTick {
  to { stroke-dashoffset: 0; }
}

.success-box h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.success-box p {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: 100px 0;
  background: var(--section-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.contact-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #FF6B00, #FF8C00);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.contact-icon svg { width: 22px; height: 22px; fill: #fff; }

.contact-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.contact-card a, .contact-card span {
  font-size: 0.85rem;
  color: var(--text-mid);
  transition: color var(--transition);
}
.contact-card a:hover { color: var(--orange); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .nav-logo { color: var(--white); }
body.dark-mode .footer { background: #000; }
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.footer-copy strong { color: var(--orange); }

/* ============================================================
   FLOATING ACTION BUTTONS
   ============================================================ */
.fab-cluster {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}

.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}
.fab svg { width: 24px; height: 24px; fill: #fff; }
.fab:hover { transform: scale(1.12); }

.fab-whatsapp {
  background: #25D366;
  animation: fabPulse 2.5s ease-in-out infinite;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 35px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

.fab-call {
  background: linear-gradient(135deg, var(--orange), #FF8C00);
  animation: fabPulseOrange 2.5s ease-in-out infinite 0.8s;
}
@keyframes fabPulseOrange {
  0%, 100% { box-shadow: 0 4px 20px rgba(255,107,0,0.4); }
  50% { box-shadow: 0 4px 35px rgba(255,107,0,0.7), 0 0 0 8px rgba(255,107,0,0.1); }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    border-bottom: 1px solid var(--glass-border);
    z-index: 999;
  }
  .nav-links.open {
    max-height: 400px;
    padding: 12px 0;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 28px;
    font-size: 1rem;
  }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px 60px;
  }
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { max-width: 100%; }
  .hero-cta-row { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-phone { order: -1; }
  .iphone-back { display: none; }

  .form-wrap { grid-template-columns: 1fr; }
  .form-deco { flex-direction: row; align-items: flex-start; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; align-items: center; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-right { gap: 8px; }
  .cart-btn { padding: 7px 12px; font-size: 0.78rem; }
  .toggle-label { display: none; }
}

@media (max-width: 360px) {
  .contact-grid { grid-template-columns: 1fr; }
}