/* =============================================
   ELEVONIX — Corporate Website Stylesheet
   Timeless · Professional · Bold
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --blue-deep: #0a1628;
  --blue-mid: #0d2144;
  --blue-brand: #0078d4;
  --blue-bright: #00b4ff;
  --blue-light: #e8f4ff;
  --gold: #c9a227;
  --gold-light: #f0cc6a;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --gray-100: #eef2f7;
  --gray-200: #d4dce8;
  --gray-500: #7a8fa6;
  --gray-700: #3d5168;
  --text-dark: #0d1b2e;
  --text-body: #2e4057;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(0,120,212,0.08);
  --shadow-md: 0 8px 40px rgba(0,120,212,0.14);
  --shadow-lg: 0 20px 80px rgba(0,20,60,0.18);
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { font-size: 1.05rem; line-height: 1.8; }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-brand);
  display: block;
  margin-bottom: 1rem;
}

/* ── Layout ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 7rem 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-brand);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,120,212,0.3);
}
.btn-primary:hover {
  background: #0068ba;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,120,212,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--blue-brand);
  border: 1.5px solid var(--blue-brand);
}
.btn-outline:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; }

/* ──────────────────────────────────────
   HEADER / NAV
────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(10,22,40,0.08);
  padding: 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2rem;
  max-width: 1180px;
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--white);
  padding: 4px;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue-brand);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--blue-brand); }
.nav-links a:hover::after { width: 100%; }

/* WhatsApp nav button */
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}
.btn-whatsapp svg { width: 18px; height: 18px; }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown > a svg {
  width: 14px; height: 14px;
  transition: transform 0.3s;
}

.nav-dropdown:hover > a svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.25s ease;
  border: 1px solid var(--gray-100);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.2rem;
  font-size: 0.88rem;
  color: var(--text-body);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: var(--blue-light);
  color: var(--blue-brand);
}

.dropdown-menu a::after { display: none; }

.dropdown-menu a.dropdown-item-soon {
  color: var(--gray-500);
  cursor: default;
  pointer-events: none;
}

.dropdown-item-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 0.1rem;
}

.dropdown-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 0.5rem 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  padding: 6rem 2rem 3rem;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: block;
}

.mobile-nav-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-sub {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0.5rem 0 1rem;
}

.mobile-nav-sub a {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 400;
  border-bottom: none;
  padding: 0.4rem 0;
}

.mobile-nav-sub-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--gray-500);
  padding: 0.4rem 0;
}

/* ──────────────────────────────────────
   HERO
────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--white);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,120,212,0.08) 0%, transparent 70%);
  top: -200px; right: -200px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,255,0.06) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(10,22,40,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,22,40,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-light);
  border: 1px solid rgba(0,120,212,0.25);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--blue-brand);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  color: var(--text-dark);
  max-width: 820px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.9s ease 0.1s both;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--blue-brand), var(--blue-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-body);
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.9s ease 0.2s both;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-200);
  animation: fadeInUp 0.9s ease 0.4s both;
  flex-wrap: wrap;
}

.stat-item {}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}
.stat-number span { color: var(--blue-brand); }
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1.5s ease 1s both;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(10,22,40,0.3), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ──────────────────────────────────────
   ABOUT / STORY
────────────────────────────────────── */
#about {
  background: var(--white);
  position: relative;
}

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

.about-text-side {}

.about-intro {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.about-lead {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--blue-brand);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.about-body {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--blue-brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.value-icon {
  width: 40px; height: 40px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  color: var(--blue-brand);
}

.value-card h4 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; margin-bottom: 0.3rem; }
.value-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.5; }

.about-visual-side {
  position: relative;
}

.about-card-stack {
  position: relative;
  height: 480px;
}

.about-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.about-card.card-main {
  width: 85%;
  top: 0; right: 0;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue-brand);
  color: var(--text-dark);
}

.about-card.card-accent {
  width: 70%;
  bottom: 0; left: 0;
  background: var(--white);
}

.card-main-label {
  font-size: 0.75rem;
  color: var(--blue-brand);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.card-main h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.card-main p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.7;
}

.card-accent-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-accent-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue-brand), var(--blue-bright));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-accent-icon svg { width: 24px; height: 24px; color: white; }
.card-accent-text { font-size: 0.9rem; color: var(--gray-700); }
.card-accent-text strong { display: block; font-size: 1.1rem; color: var(--text-dark); }

/* ──────────────────────────────────────
   PRODUCTS SECTION
────────────────────────────────────── */
#products {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

#products::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,120,212,0.05) 0%, transparent 70%);
}

.products-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 5rem;
}

.products-header p {
  color: var(--gray-500);
  margin-top: 1rem;
}

/* WelSMS Product Card */
.product-showcase {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.product-showcase-header {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
  padding: 3.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.product-showcase-header::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,120,212,0.08) 0%, transparent 70%);
  top: -100px; right: -50px;
}

.product-header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.product-logo-badge {
  width: 52px; height: 52px;
  background: var(--blue-brand);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}

.product-name-stack {}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.product-name .wel { color: var(--text-dark); }
.product-name .sms { color: var(--blue-brand); }

.product-tagline {
  font-size: 0.8rem;
  color: var(--gray-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.product-description {
  color: var(--text-body);
  font-size: 1rem;
  max-width: 400px;
  margin-top: 1rem;
  line-height: 1.7;
}

.product-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

/* Features grid */
.product-features {
  padding: 3.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.feature-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--blue-light);
}

.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue-light), #d0ebff);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--blue-brand);
}

.feature-icon svg { width: 24px; height: 24px; }
.feature-item h4 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; margin-bottom: 0.4rem; }
.feature-item p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.5; }

/* Mockup Slider */
.mockup-section {
  padding: 3.5rem 4rem;
}

.mockup-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
}

.slide img {
  max-height: 580px;
  width: auto;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  object-fit: contain;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-body);
}

.slider-btn:hover {
  background: var(--blue-brand);
  border-color: var(--blue-brand);
  color: var(--white);
}

.slider-btn svg { width: 18px; height: 18px; }

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--blue-brand);
  width: 24px;
  border-radius: 4px;
}

/* ──────────────────────────────────────
   SERVICES SECTION
────────────────────────────────────── */
#services {
  background: var(--white);
}

.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.services-header p {
  color: var(--gray-500);
  margin-top: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--blue-brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px; height: 56px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-brand);
  margin-bottom: 1.5rem;
}

.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { margin-bottom: 0.9rem; }

.service-card p {
  color: var(--text-body);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.5rem 0 1.8rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--gray-700);
}

.service-feature svg {
  width: 16px; height: 16px;
  color: var(--blue-brand);
  flex-shrink: 0;
}

.service-card .btn { align-self: flex-start; margin-top: auto; }

/* ──────────────────────────────────────
   MEDIA SECTION
────────────────────────────────────── */
#media {
  background: var(--off-white);
}

.media-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.media-header p {
  color: var(--gray-500);
  margin-top: 1rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.media-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.media-card:hover {
  border-color: var(--blue-brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.media-card-img {
  height: 220px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card-body {
  padding: 1.25rem 1.5rem;
}

.media-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-brand);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.media-tag.product-tag {
  background: #fff4d6;
  color: #a5760a;
}

.media-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  color: var(--text-dark);
}

.media-card-placeholder {
  background: var(--white);
  border: 1.5px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--gray-500);
}

.media-card-placeholder svg {
  width: 32px; height: 32px;
  margin-bottom: 0.8rem;
  color: var(--gray-200);
}

.media-card-placeholder p {
  font-size: 0.88rem;
}

/* ──────────────────────────────────────
   MISSION / WHY SECTION
────────────────────────────────────── */
#mission {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

#mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(10,22,40,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,22,40,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.mission-inner {
  position: relative;
  z-index: 2;
}

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

.mission-text h2 { color: var(--text-dark); margin-bottom: 1.5rem; }
.mission-text p { color: var(--text-body); margin-bottom: 1.5rem; font-size: 1.05rem; }

.mission-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mission-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-body);
  font-size: 0.95rem;
}

.mission-check {
  width: 22px; height: 22px;
  background: var(--blue-light);
  border: 1px solid rgba(0,120,212,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.mission-check svg { width: 12px; height: 12px; color: var(--blue-brand); }

.mission-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mission-stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.mission-stat-card:hover {
  background: var(--blue-light);
  border-color: rgba(0,120,212,0.3);
}

.mission-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.mission-stat-number span { color: var(--blue-brand); }
.mission-stat-desc { font-size: 0.88rem; color: var(--gray-500); }

/* ──────────────────────────────────────
   RESOURCES / BLOG PREVIEW
────────────────────────────────────── */
#resources {
  background: var(--white);
}

.resources-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.resource-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-brand);
}

.resource-card-img {
  height: 160px;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.resource-card:hover .resource-card-img img {
  transform: scale(1.05);
}

/* WelSMS product icon in header */
.product-icon-img {
  width: 52px; height: 52px;
  border-radius: 16px;
  object-fit: contain;
  background: var(--white);
  padding: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.resource-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resource-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-brand);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.resource-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
  flex: 1;
}

.resource-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.resource-meta svg { width: 14px; height: 14px; }

/* ──────────────────────────────────────
   SOCIAL / CONNECT
────────────────────────────────────── */
#social {
  background: var(--off-white);
  padding: 5rem 0;
}

.social-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

.social-group {}
.social-group-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.social-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

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

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--blue-brand);
  color: var(--white);
  border-color: var(--blue-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.social-link svg { width: 16px; height: 16px; }

/* ──────────────────────────────────────
   CTA BANNER
────────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 100%);
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-100);
}

#cta::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,120,212,0.1) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-inner h2 { color: var(--text-dark); margin-bottom: 1.2rem; }

.cta-inner p {
  color: var(--text-body);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ──────────────────────────────────────
   FOOTER
────────────────────────────────────── */
#footer {
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  padding: 5rem 0 2rem;
  color: var(--gray-700);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.footer-logo img {
  width: 34px; height: 34px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--gray-100);
  padding: 4px;
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  color: var(--gray-500);
}

.footer-reg {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--gray-500);
  font-family: 'DM Mono', monospace;
}

.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-col a {
  font-size: 0.88rem;
  color: var(--gray-700);
  transition: var(--transition);
}

.footer-col a:hover { color: var(--blue-brand); }

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--gray-500);
}

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

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--gray-500);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--blue-brand); }

/* ──────────────────────────────────────
   ANIMATIONS
────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ──────────────────────────────────────
   RESPONSIVE
────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-card-stack { display: none; }
  .mission-grid { grid-template-columns: 1fr; gap: 3rem; }
  .product-features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .resources-grid { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 5rem 0; }
  .container { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.9rem; }
  .hero-stats { gap: 2rem; }
  .product-showcase-header { padding: 2.5rem 1.5rem; }
  .product-features { padding: 2rem 1.5rem; grid-template-columns: 1fr 1fr; }
  .mockup-section { padding: 2rem 1.5rem; }
  .resources-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .mission-stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-header-content { flex-direction: column; }
  .product-cta { align-items: flex-start; }
  .resources-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .about-values { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .mission-stats-grid { grid-template-columns: 1fr; }
}
