/* ==========================================================================
   WATCHFULAI TECH — DESIGN SYSTEM & STYLESHEET
   Brand Colors: Obsidian Dark (#0A0C14), Coral Crimson (#FF3355 / #EF3855),
                 Midnight Indigo (#181631), Ice White (#FFFFFF), Slate (#94A3B8)
   ========================================================================== */

:root {
  --bg-primary: #090B10;
  --bg-secondary: #0F131D;
  --bg-tertiary: #151A27;
  --bg-card: rgba(18, 23, 35, 0.75);
  --bg-card-hover: rgba(24, 30, 46, 0.9);
  --bg-glass: rgba(15, 19, 29, 0.85);

  --brand-coral: #FF3355;
  --brand-coral-hover: #FF4D6D;
  --brand-coral-glow: rgba(255, 51, 85, 0.35);
  --brand-coral-subtle: rgba(255, 51, 85, 0.12);
  
  --brand-indigo: #1E1B38;
  --brand-indigo-light: #2A2552;
  --brand-accent-violet: #6366F1;
  --brand-accent-emerald: #10B981;
  --brand-accent-amber: #F59E0B;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #090B10;

  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-hover: rgba(255, 51, 85, 0.4);
  --border-glow: rgba(99, 102, 241, 0.3);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px var(--brand-coral-glow);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 51, 85, 0.15), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 40%, rgba(99, 102, 241, 0.08), transparent 70%),
    radial-gradient(ellipse 50% 30% at 10% 70%, rgba(255, 51, 85, 0.08), transparent 60%);
  background-attachment: fixed;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

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

code, pre {
  font-family: var(--font-mono);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-wrapper {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

@media (max-width: 768px) {
  .section-wrapper {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* Badges & Pills */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--brand-coral-subtle);
  border: 1px solid rgba(255, 51, 85, 0.3);
  color: #FFA5B5;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-coral);
  box-shadow: 0 0 10px var(--brand-coral);
  animation: pulse-dot 2s infinite;
}

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

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, #FFA8B7 60%, var(--brand-coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #FFFFFF 30%, #A5B4FC 70%, var(--brand-accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-coral) 0%, #E02646 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px var(--brand-coral-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-coral-hover) 0%, var(--brand-coral) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 51, 85, 0.5);
  color: #FFFFFF;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline-coral {
  background: transparent;
  color: #FFA5B5;
  border: 1px solid rgba(255, 51, 85, 0.4);
}

.btn-outline-coral:hover {
  background: var(--brand-coral-subtle);
  border-color: var(--brand-coral);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Navigation Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background-color: rgb(239, 234, 221);
  border-bottom: 1px solid rgba(28, 25, 23, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(239, 234, 221, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.15);
  padding: 11px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.site-header .container {
  max-width: 1360px;
}

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

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #1C1B38;
  text-transform: uppercase;
  line-height: 1;
}

.brand-title span {
  color: var(--brand-coral);
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: #645F7A;
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 18px);
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: #2D2A4A;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #000000;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-header .btn-sm {
  padding: 8px 14px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.site-header .btn-secondary {
  background: rgba(28, 25, 23, 0.08);
  color: #1C1B38;
  border: 1px solid rgba(28, 25, 23, 0.18);
  font-weight: 600;
}

.site-header .btn-secondary:hover {
  background: rgba(28, 25, 23, 0.14);
  color: #000000;
  border-color: rgba(28, 25, 23, 0.3);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #1C1B38;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgb(239, 234, 221);
    border-left: 1px solid rgba(28, 25, 23, 0.15);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right var(--transition-normal);
    z-index: 999;
  }

  .nav-links .nav-link {
    color: #1C1B38;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-toggle {
    display: block;
    z-index: 1001;
  }
}

/* Hero Section */
.hero-section {
  padding-top: 145px;
  padding-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

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

.hero-headline {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* HERO DEVICE STACK MOCKUP */
.hero-mockup-area {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-stack {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 400px;
}

.device-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  border: 3px solid #1C1917;
  background: #111;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.device-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.card-front {
  width: 200px;
  height: 400px;
  top: 0;
  left: 75px;
  z-index: 3;
}

.card-middle {
  width: 185px;
  height: 380px;
  top: 15px;
  left: -20px;
  z-index: 2;
  transform: rotate(-6deg);
  opacity: 0.92;
}

.card-back {
  width: 175px;
  height: 380px;
  top: 15px;
  right: -20px;
  z-index: 1;
  transform: rotate(8deg);
  opacity: 0.88;
}

.hero-mockup-area:hover .card-middle {
  transform: rotate(-10deg) translateX(-15px);
}

.hero-mockup-area:hover .card-back {
  transform: rotate(12deg) translateX(15px);
}

.hero-mockup-area:hover .card-front {
  transform: translateY(-6px);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-mockup-area {
    width: 100%;
    height: 400px;
    margin: 0 auto;
  }

  .device-stack {
    width: 280px;
    max-width: 100%;
    height: 360px;
  }

  .card-front {
    width: 170px;
    height: 350px;
    top: 5px;
    left: 55px;
  }

  .card-middle {
    width: 155px;
    height: 330px;
    top: 22px;
    left: 0;
  }

  .card-back {
    width: 155px;
    height: 330px;
    top: 22px;
    right: 0;
  }
}

@media (max-width: 480px) {
  .hero-mockup-area {
    height: 340px;
  }

  .device-stack {
    width: 250px;
    height: 320px;
  }

  .card-front {
    width: 154px;
    height: 310px;
    left: 48px;
  }

  .card-middle,
  .card-back {
    width: 140px;
    height: 290px;
  }
}

/* Metrics Row */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  margin-top: 36px;
}

#products.section-wrapper {
  padding-top: 36px;
}

@media (max-width: 768px) {
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

.metric-number {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 6px;
  font-family: var(--font-sans);
}

.metric-coral {
  color: var(--brand-coral);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Division Sections */
.division-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-coral);
  margin-bottom: 12px;
}

/* Product Cards Showcase */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px var(--brand-coral-glow);
}

.product-card-header {
  padding: 28px 28px 20px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.product-icon-frame {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.product-app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.product-header-info {
  flex-grow: 1;
}

.product-title {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.product-dev-tag {
  font-size: 0.82rem;
  color: var(--brand-coral);
  font-weight: 600;
}

.product-card-body {
  padding: 0 28px 20px;
  flex-grow: 1;
}

.product-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* App Stats Grid */
.app-stats-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}

.app-stat {
  display: flex;
  flex-direction: column;
}

.app-stat-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.app-stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
}

/* Feature Bullets */
.product-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.product-feature-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-feature-list li::before {
  content: '✓';
  color: var(--brand-coral);
  font-weight: 700;
}

/* -------------------------------------------------------------------------- */
/* Screenshots Auto-Flipping Carousel (Matching User Portfolio)               */
/* -------------------------------------------------------------------------- */
.product-gallery {
  padding: 0 24px 20px;
  min-width: 0;
  width: 100%;
}

.case-study-gallery {
  min-width: 0;
  width: 100%;
}

.gallery-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track img {
  height: 320px;
  width: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: #111;
}

.carousel-track img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(255, 51, 85, 0.25);
  border-color: var(--brand-coral);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: #111827;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  opacity: 0;
  user-select: none;
}

.carousel-container:hover .carousel-btn {
  opacity: 0.95;
}

.prev-btn {
  left: 8px;
}

.next-btn {
  right: 8px;
}

.carousel-btn:hover {
  opacity: 1 !important;
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .carousel-btn {
    opacity: 0.9;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .carousel-track img {
    height: 260px;
  }
}

.product-card-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Play Store Button */
.btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #FFFFFF;
  color: #000000;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.btn-playstore:hover {
  background: #E2E8F0;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
  color: #000000;
}

.playstore-arrow {
  font-size: 1.1rem;
}

/* Client Services Division */
.client-hero-box {
  background: linear-gradient(135deg, rgba(30, 27, 56, 0.7) 0%, rgba(15, 19, 29, 0.85) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-bottom: 0;
  backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
  .client-hero-box {
    padding: 28px;
  }
}

.client-case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.case-study-info,
.case-study-gallery {
  min-width: 0;
}

@media (max-width: 900px) {
  .client-case-study {
    grid-template-columns: 1fr;
  }
}

.case-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.case-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.case-icon-frame {
  width: 58px;
  height: 58px;
}

.case-title {
  font-size: 1.8rem;
  margin-bottom: 0;
}

.case-desc {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.case-achievements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

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

.achievement-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  padding: 14px 18px;
  border-radius: var(--radius-md);
}

.achievement-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-coral);
  margin-bottom: 4px;
}

.achievement-lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Service Pillars Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Ads Platform Division Section */
.ads-platform-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(12, 43, 29, 0.65) 50%, rgba(7, 27, 18, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(16, 185, 129, 0.2);
}

@media (max-width: 768px) {
  .ads-platform-box {
    padding: 24px 16px;
  }
}

/* Ads Platform Interactive Dashboard Preview (Expanded Full Width) */
.ads-mockup-frame {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.ads-mockup-frame:hover {
  border-color: rgba(184, 243, 62, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(184, 243, 62, 0.12);
}

.ads-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
}

.btn-ads-portal {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: 1px solid rgba(184, 243, 62, 0.35);
  padding: 15px 42px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4), 0 0 25px rgba(16, 185, 129, 0.2);
  transition: all var(--transition-normal);
}

.btn-ads-portal:hover {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  border-color: rgba(184, 243, 62, 0.7);
  box-shadow: 0 14px 42px rgba(16, 185, 129, 0.55), 0 0 35px rgba(184, 243, 62, 0.35);
  transform: translateY(-3px);
  color: #FFFFFF;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

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

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.mockup-domain {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 480px) {
  .ads-mockup-frame {
    padding: 14px;
  }
  .mockup-header {
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
  .mockup-domain {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}

.mockup-image-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mockup-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(184, 243, 62, 0.2);
  background: #071b12;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.mockup-image-link:hover .mockup-image-frame {
  border-color: rgba(184, 243, 62, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(184, 243, 62, 0.15);
}

.ads-platform-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.mockup-image-link:hover .ads-platform-img {
  transform: scale(1.015);
}

/* Contact Section & Estimator */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

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

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-channel-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.channel-icon svg {
  display: block;
}

.channel-icon-play {
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.2);
}

.channel-icon-linkedin {
  background: rgba(10, 102, 194, 0.1);
  border-color: rgba(10, 102, 194, 0.25);
}

.channel-icon-github {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.contact-channel-card:hover .channel-icon-play {
  background: rgba(0, 210, 255, 0.16);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.25);
}

.contact-channel-card:hover .channel-icon-linkedin {
  background: rgba(10, 102, 194, 0.18);
  border-color: rgba(10, 102, 194, 0.45);
  box-shadow: 0 0 14px rgba(10, 102, 194, 0.3);
}

.contact-channel-card:hover .channel-icon-github {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
}

.channel-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.channel-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(16px);
}

@media (max-width: 540px) {
  .contact-form-panel {
    padding: 24px;
  }
}

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

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

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 13px 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--brand-coral);
  box-shadow: 0 0 14px var(--brand-coral-glow);
}

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

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

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #F87171;
}

/* Legal Documents Layout (Privacy & Terms Pages) */
.legal-page-header {
  padding-top: 140px;
  padding-bottom: 40px;
  text-align: center;
}

.legal-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-bottom: 80px;
  backdrop-filter: blur(16px);
}

@media (max-width: 768px) {
  .legal-content-card {
    padding: 24px;
  }
}

.legal-section {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.45rem;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.legal-section h3 {
  font-size: 1.15rem;
  margin-top: 18px;
  margin-bottom: 10px;
  color: #FFA5B5;
}

.legal-section p {
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.legal-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-section li {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.legal-alert {
  background: rgba(255, 51, 85, 0.08);
  border-left: 4px solid var(--brand-coral);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.legal-alert p {
  color: #F8FAFC;
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: rgb(239, 234, 221);
  border-top: 1px solid rgba(28, 25, 23, 0.12);
  padding-top: 70px;
  padding-bottom: 40px;
  color: #1C1B38;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.site-footer .brand-title {
  color: #1C1B38;
}

.site-footer .brand-title span {
  color: var(--brand-coral);
}

.footer-brand p {
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.6;
  color: #4A4660;
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: #1C1B38;
}

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

.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #383552;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(28, 25, 23, 0.12);
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #645F7A;
}

.footer-bottom strong {
  color: #1C1B38;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom-links a {
  color: #383552;
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

.cloudflare-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(243, 128, 32, 0.12);
  border: 1px solid rgba(243, 128, 32, 0.3);
  color: #F6821F;
  font-size: 0.74rem;
  font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Floating WhatsApp Button                                                   */
/* -------------------------------------------------------------------------- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 999;
  transition: all 0.25s ease;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.5);
  background: #20BA5A;
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #1C1B38;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float-btn svg {
    width: 28px;
    height: 28px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}
