/* ==========================================================================
   FEPS CODE BOGOR - STYLESHEET
   Ultra-Modern Cyber Iris & Sapphire Light Studio Design System
   ========================================================================== */

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

/* --- Root CSS Variables --- */
:root {
  --bg-dark: #fafafd;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-glass: rgba(226, 232, 240, 0.9);
  --border-glow: rgba(79, 70, 229, 0.35);

  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-glow: rgba(79, 70, 229, 0.25);
  --secondary: #0284c7;
  --accent-amber: #f59e0b;
  --accent-pink: #ec4899;
  --accent-mint: #10b981;
  --whatsapp-color: #16a34a;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 10px 30px -10px rgba(79, 70, 229, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 40px -10px rgba(79, 70, 229, 0.15), 0 10px 20px -5px rgba(2, 132, 199, 0.1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 10% 40%, rgba(2, 132, 199, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(245, 158, 11, 0.04) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
  border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

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

a:hover {
  color: var(--secondary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-purple {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-green {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Container & Utilities --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  background: #eef2ff;
  border: 1px solid rgba(79, 70, 229, 0.25);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.08);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp-color);
  box-shadow: 0 0 10px rgba(22, 163, 74, 0.6);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.section-title {
  text-align: center;
  margin-bottom: 3.8rem;
}

.section-title h2 {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  margin-bottom: 0.8rem;
  color: #0f172a;
}

.section-title p {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.55);
  color: #ffffff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(22, 163, 74, 0.55);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
  background: #eef2ff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.05rem 2.4rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

/* --- Floating Header Navigation --- */
.header {
  position: fixed;
  top: 15px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.header.scrolled .nav-container {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 35px rgba(79, 70, 229, 0.12);
  border-color: rgba(79, 70, 229, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Centered Studio Hero Section --- */
.hero-centered {
  padding-top: 10.5rem;
  padding-bottom: 4.5rem;
  text-align: center;
  position: relative;
}

.hero-centered-content {
  max-width: 850px;
  margin: 0 auto;
}

.hero-centered h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.12;
  margin-bottom: 1.4rem;
  letter-spacing: -1px;
  color: #0f172a;
}

.hero-centered p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-centered-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-centered-banner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(2, 132, 199, 0.15));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.hero-centered-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
  object-fit: cover;
}

.hero-centered-stats {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid #e2e8f0;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 800;
}

.stat-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- Tech Marquee Bar --- */
.marquee-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.2rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 25s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

/* --- Comparison Section (Mengapa Kami) --- */
.comparison-section {
  padding: 6rem 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.comparison-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

.comparison-card.highlight {
  border-color: var(--primary);
  background: linear-gradient(135deg, #ffffff, #eef2ff);
  box-shadow: var(--shadow-hover);
}

.comparison-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.comparison-list li.check svg {
  color: var(--whatsapp-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.comparison-list li.cross svg {
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- Workflow Process Section --- */
.workflow-section {
  padding: 6rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  position: relative;
}

.workflow-step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

.workflow-step:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.workflow-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.workflow-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Services Section --- */
.services-section {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #eef2ff;
  border: 1px solid rgba(79, 70, 229, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  color: #0f172a;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #334155;
}

.service-features svg {
  color: var(--primary);
  flex-shrink: 0;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid #f1f5f9;
}

.service-price-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.service-price-tag span {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

/* --- IoT Highlight Section --- */
.iot-automation-section {
  padding: 6rem 0;
}

.iot-box {
  background: linear-gradient(135deg, #ffffff, #eef2ff);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.iot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.iot-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.iot-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

.iot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.iot-tag {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: #334155;
  font-weight: 600;
}

.automation-demo-card {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  font-family: 'Fira Code', 'Courier New', monospace;
}

.code-header {
  background: #1e293b;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid #334155;
  font-size: 0.85rem;
  color: #94a3b8;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.code-body {
  padding: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #e2e8f0;
}

.code-body .highlight { color: #38bdf8; font-weight: 600; }
.code-body .val { color: #34d399; }

/* --- Estimator Section --- */
.estimator-section {
  padding: 6rem 0;
}

.estimator-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #0f172a;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.8rem;
}

.option-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--text-muted);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.option-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.option-btn.selected {
  background: #eef2ff;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.estimator-result {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-display {
  margin: 1.5rem 0;
}

.price-display small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.estimator-summary-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.estimator-summary-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 0.4rem;
  color: var(--text-muted);
}

.estimator-summary-list li strong {
  color: #0f172a;
}

/* --- Portfolio Section --- */
.portfolio-section {
  padding: 6rem 0;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-muted);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.portfolio-img-box {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.portfolio-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.portfolio-content p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}

/* --- Testimonials Section (Ulasan Klien Bogor) --- */
.testimonials-section {
  padding: 6rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h4 {
  font-size: 0.95rem;
  color: #0f172a;
}

.author-info small {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 6rem 0;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.faq-header {
  padding: 1.3rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  user-select: none;
}

.faq-header svg {
  transition: var(--transition-fast);
  color: #64748b;
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-item.active .faq-header svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.8rem;
  background: #f8fafc;
}

.faq-item.active .faq-body {
  max-height: 300px;
  padding: 1rem 1.8rem 1.5rem 1.8rem;
}

.faq-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Footer --- */
.footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 5rem 0 2rem 0;
  color: #f8fafc;
}

.footer .logo span {
  color: #ffffff;
}

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

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 340px;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* --- Floating WhatsApp Popover Widget --- */
.floating-wa-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

.floating-wa-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4);
  transition: var(--transition-bounce);
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.6);
}

.wa-popover {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 320px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.95);
  transition: var(--transition-normal);
}

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

.wa-popover-header {
  background: linear-gradient(135deg, #16a34a, #15803d);
  padding: 1rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #15803d;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-status h4 {
  font-size: 0.95rem;
  color: #fff;
}

.wa-status p {
  font-size: 0.75rem;
  color: #bbf7d0;
}

.wa-popover-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.wa-quick-option {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  color: #0f172a;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.wa-quick-option:hover {
  background: #f0fdf4;
  border-color: #16a34a;
  color: #15803d;
}

/* --- Order Modal --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 90%;
  max-width: 520px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.8rem;
  cursor: pointer;
}

.input-field {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.2);
  background: #ffffff;
}

/* --- Toast Container --- */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toast {
  background: #0f172a;
  border: 1px solid var(--primary);
  color: #ffffff;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  animation: slide-in 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast svg {
  color: #38bdf8;
}

@keyframes slide-in {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-centered {
    padding-top: 8rem;
  }
  .estimator-grid, .iot-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    top: 0;
  }
  .nav-container {
    border-radius: 0;
  }
  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-normal);
  }
  .nav-menu.active {
    left: 0;
  }
  .menu-toggle {
    display: block;
  }
}
