@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==========================================
   CSS CUSTOM VARIABLES & COLOR TOKENS
   ========================================== */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* HSL Colors for flexible opacity control */
  --hue-base: 232;
  --hue-accent-1: 275; /* Cyberviolet */
  --hue-accent-2: 172; /* Neon Teal */

  --bg-primary: hsl(var(--hue-base), 54%, 5%);
  --bg-secondary: hsl(var(--hue-base), 50%, 8%);
  --bg-tertiary: hsl(var(--hue-base), 46%, 12%);
  
  --accent-purple: hsl(var(--hue-accent-1), 75%, 52%);
  --accent-purple-glow: hsla(var(--hue-accent-1), 75%, 52%, 0.45);
  --accent-teal: hsl(var(--hue-accent-2), 100%, 48%);
  --accent-teal-glow: hsla(var(--hue-accent-2), 100%, 48%, 0.45);
  --accent-pink: hsl(330, 100%, 55%);
  --accent-pink-glow: hsla(330, 100%, 55%, 0.4);

  --text-main: hsl(var(--hue-base), 20%, 97%);
  --text-muted: hsl(var(--hue-base), 25%, 72%);
  --text-dark: hsl(var(--hue-base), 30%, 45%);

  --glass-bg: hsla(var(--hue-base), 50%, 8%, 0.75);
  --glass-border: hsla(0, 0%, 100%, 0.08);
  --glass-border-hover: hsla(var(--hue-accent-2), 100%, 48%, 0.3);

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --container-max: 1200px;
}

/* ==========================================
   BASE STYLES & RESET
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, hsla(var(--hue-accent-1), 80%, 40%, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, hsla(var(--hue-accent-2), 85%, 35%, 0.07) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

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

/* ==========================================
   GRADIENT TEXT & SHAPES
   ========================================== */
.gradient-text {
  background: linear-gradient(135deg, var(--text-main) 30%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-teal);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: hsla(var(--hue-accent-2), 100%, 48%, 0.1);
  border: 1px solid hsla(var(--hue-accent-2), 100%, 48%, 0.15);
  border-radius: 20px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  max-width: 650px;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
  padding: 20px 0;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-teal) 100%);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

.logo-icon::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--bg-primary);
  border-radius: 50%;
}

.logo span {
  font-weight: 400;
  color: var(--accent-teal);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-teal) 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
  box-shadow: 0 4px 15px var(--accent-purple-glow);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-purple-glow);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

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

/* Cybernetic floating nodes bg */
.hero-bg-anim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.3;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: hsla(var(--hue-base), 46%, 12%, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge i {
  color: var(--accent-teal);
  font-size: 0.95rem;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-teal) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-purple-glow);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 245, 212, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  background: hsla(var(--hue-base), 46%, 12%, 0.6);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-teal);
  transform: translateY(-3px);
}

.hero-features {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid var(--glass-border);
  padding-top: 32px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: hsla(var(--hue-accent-2), 100%, 48%, 0.1);
  border: 1px solid hsla(var(--hue-accent-2), 100%, 48%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  font-size: 1.2rem;
}

.hero-feature-text h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.hero-feature-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Interactive SVG Hero Graphics */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-svg {
  width: 100%;
  max-width: 450px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

.node-pulse {
  animation: pulseNode 3s infinite ease-in-out;
}

.flow-line {
  stroke-dasharray: 10, 150;
  animation: dashFlow 8s infinite linear;
}

/* ==========================================
   ABOUT / LEGALS SECTION
   ========================================== */
.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.legal-badge-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.legal-badge-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, hsla(var(--hue-accent-2), 100%, 48%, 0.08) 0%, transparent 60%);
}

.legal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 24px;
}

.kemkominfo-logo {
  font-size: 3rem;
  background: linear-gradient(135deg, #0052d4, #4364f7, #6fb1fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-title h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.legal-title p {
  color: var(--accent-teal);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.legal-meta {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 16px 20px;
}

.legal-meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.legal-meta-item:last-child {
  margin-bottom: 0;
}

.legal-meta-label {
  color: var(--text-muted);
}

.legal-meta-val {
  font-weight: 600;
  color: var(--accent-teal);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.about-card:hover {
  transform: translateX(10px);
  border-color: var(--accent-purple);
}

.about-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: hsla(var(--hue-accent-1), 75%, 52%, 0.1);
  border: 1px solid hsla(var(--hue-accent-1), 75%, 52%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.about-card:nth-child(even) .about-card-icon {
  background: hsla(var(--hue-accent-2), 100%, 48%, 0.1);
  border-color: hsla(var(--hue-accent-2), 100%, 48%, 0.2);
  color: var(--accent-teal);
}

.about-card-info h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.about-card-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================
   SERVICES / BRAND ECOSYSTEM
   ========================================== */
.services {
  position: relative;
}

.brand-showcase {
  margin-top: 40px;
}

.brand-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  list-style: none;
}

.brand-tab-btn {
  padding: 12px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.brand-tab-btn:hover {
  border-color: var(--accent-teal);
  color: var(--text-main);
}

.brand-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-teal) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--accent-purple-glow);
}

.brand-tabs-content {
  position: relative;
  min-height: 420px;
}

.brand-panel {
  display: none;
  animation: panelFadeIn 0.5s ease forwards;
}

.brand-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.brand-details {
  max-width: 500px;
}

.brand-logo-txt {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: inline-block;
}

.brand-details p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.brand-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.brand-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.brand-features-list li i {
  color: var(--accent-teal);
  font-size: 1.1rem;
}

.brand-visual-box {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.brand-visual-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-teal));
}

.brand-visual-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.brand-speed-gauge {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.speed-metric {
  text-align: center;
}

.speed-metric .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.speed-metric .unit {
  font-size: 0.8rem;
  color: var(--accent-teal);
  font-weight: 700;
  text-transform: uppercase;
}

.speed-metric .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================
   PARTNERSHIP SECTION
   ========================================== */
.partnership {
  background: var(--bg-secondary);
}

.partner-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.partner-step-card {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.partner-step-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: 0 10px 25px var(--accent-purple-glow);
}

.partner-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-purple);
  opacity: 0;
  transition: var(--transition-smooth);
}

.partner-step-card:hover::before {
  opacity: 1;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: hsla(var(--hue-accent-1), 75%, 52%, 0.15);
  line-height: 1;
  margin-bottom: 16px;
  transition: var(--transition-smooth);
}

.partner-step-card:hover .step-num {
  color: var(--accent-purple);
  transform: scale(1.1);
}

.partner-step-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

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

/* ==========================================
   LIVE STATS & COVERAGE
   ========================================== */
.stats {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--accent-teal);
  margin-bottom: 15px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-main) 40%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Interactive SVG Map Coverage Section */
.coverage-map-box {
  margin-top: 80px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.map-visual {
  position: relative;
  width: 100%;
  background: rgba(6, 8, 20, 0.5);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--glass-border);
}

.map-svg {
  width: 100%;
  height: auto;
}

.map-node {
  fill: var(--accent-teal);
  stroke: var(--bg-primary);
  stroke-width: 2px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.map-node:hover {
  fill: var(--accent-pink);
  r: 10px;
  filter: drop-shadow(0 0 8px var(--accent-pink));
}

.map-link {
  stroke: var(--accent-purple);
  stroke-width: 1.5px;
  stroke-dasharray: 4;
  opacity: 0.5;
}

.coverage-details h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.coverage-details p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.coverage-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.loc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.loc-item i {
  color: var(--accent-teal);
}

/* ==========================================
   BENTO GRID BLOG & EDUCATION
   ========================================== */
.blog {
  background: var(--bg-secondary);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 24px;
  margin-top: 50px;
}

.bento-card {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.bento-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(6, 8, 20, 0.9) 0%, rgba(6, 8, 20, 0.2) 70%, transparent 100%);
  z-index: 1;
}

.bento-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  opacity: 0.4;
  z-index: 0;
}

.bento-card:hover .bento-card-bg {
  transform: scale(1.08);
  opacity: 0.6;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-teal);
  box-shadow: 0 10px 30px rgba(0, 245, 212, 0.15);
}

.bento-card-content {
  position: relative;
  z-index: 2;
}

.bento-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-teal);
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-card h3 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.bento-card:hover h3 {
  color: var(--accent-teal);
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 8px;
}

/* Specific bento layouts */
.bento-size-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.bento-size-wide {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}

/* ==========================================
   INTERACTIVE FAQS (ACCORDION)
   ========================================== */
.faq-accordion {
  max-width: 800px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--glass-border-hover);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-trigger h4 {
  font-size: 1.1rem;
  font-weight: 600;
  padding-right: 20px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: hsla(0, 0%, 100%, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active {
  background: var(--bg-secondary);
  border-color: var(--accent-purple);
}

.faq-item.active .faq-icon {
  background: var(--accent-purple);
  color: #fff;
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================
   CONTACT SECTION & FORM
   ========================================== */
.contact {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-detail-card {
  display: flex;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: hsla(var(--hue-accent-2), 100%, 48%, 0.1);
  border: 1px solid hsla(var(--hue-accent-2), 100%, 48%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail-card h4 {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-detail-card p {
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-hours {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.contact-hours li {
  margin-bottom: 4px;
}

.contact-form-box {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.contact-form-box::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, hsla(var(--hue-accent-1), 75%, 52%, 0.1) 0%, transparent 60%);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-teal);
  outline: none;
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.15);
}

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

.form-submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-teal) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-purple-glow);
  transition: var(--transition-smooth);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 245, 212, 0.35);
}

/* Alert response form styling */
.form-response {
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
}

.form-response.success {
  display: block;
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
}

.form-response.error {
  display: block;
  background: rgba(255, 0, 127, 0.1);
  border: 1px solid var(--accent-pink);
  color: var(--accent-pink);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand {
  max-width: 350px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 20px 0;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  color: var(--accent-teal);
  border-color: var(--accent-teal);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 245, 212, 0.2);
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-menu a:hover {
  color: var(--accent-teal);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes pulseNode {
  0%, 100% {
    r: 6px;
    filter: drop-shadow(0 0 2px var(--accent-teal));
  }
  50% {
    r: 8px;
    filter: drop-shadow(0 0 10px var(--accent-teal));
  }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -300;
  }
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  
  .bento-size-large {
    grid-column: 1 / 3;
  }
  
  .bento-size-wide {
    grid-column: 1 / 3;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 40px 24px;
    align-items: flex-start;
    gap: 24px;
    transform: translateX(-100%);
    transition: var(--transition-smooth);
    border-top: 1px solid var(--glass-border);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 20px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }

  .brand-panel.active {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .partner-steps {
    grid-template-columns: 1fr 1fr;
  }

  .coverage-map-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .partner-steps {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .coverage-locations {
    grid-template-columns: 1fr;
  }

  .brand-tabs-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-tab-btn {
    text-align: center;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    justify-content: center;
  }
}
