/* ==========================================================================
   SCILION - PREMIUM DIGITAL AGENCY DESIGN SYSTEM
   ========================================================================== */

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

:root {
  /* Color Palette - Light Base */
  --bg-primary: #f9f9f8;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f2f2ef;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  
  /* Color Palette - Dark Sections */
  --bg-dark-primary: #0d0e11;
  --bg-dark-secondary: #14151a;
  --bg-dark-card: #181920;
  --bg-dark-card-hover: #20222b;

  /* Typography Colors */
  --text-primary: #111111;
  --text-secondary: #4a4a4e;
  --text-muted: #787880;
  --text-light-primary: #f5f5f7;
  --text-light-secondary: #a1a1aa;
  --text-light-muted: #71717a;

  /* Accent & Structural Colors */
  --accent-black: #000000;
  --accent-white: #ffffff;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.04);
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-dark-subtle: rgba(255, 255, 255, 0.05);

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Spacing */
  --container-max: 1360px;
  --container-padding: 2.5rem;
  --header-height: 80px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   LAYOUT GRID & CONTAINER
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

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

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 1.25rem;
}

.eyebrow-dark {
  color: var(--text-light-muted);
}

.section-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-title-dark {
  color: var(--text-light-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.65;
}

.section-subtitle-dark {
  color: var(--text-light-secondary);
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-black);
  color: var(--accent-white);
  border: 1px solid var(--accent-black);
}

.btn-primary:hover {
  background-color: #222226;
  border-color: #222226;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.btn-dark-primary {
  background-color: var(--accent-white);
  color: var(--accent-black);
  border: 1px solid var(--accent-white);
}

.btn-dark-primary:hover {
  background-color: #e5e5e7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: currentColor;
  transition: width var(--transition-normal);
}

.text-link:hover::after {
  width: 100%;
}

.text-link .btn-arrow {
  transition: transform var(--transition-fast);
}

.text-link:hover .btn-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(249, 249, 248, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background-color: rgba(249, 249, 248, 0.96);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.platform-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.platform-link:hover {
  color: var(--text-primary);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

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

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

.hero-eyebrow {
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-subline {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-right {
  position: relative;
  width: 100%;
  height: 580px;
  border-radius: 12px;
  overflow: hidden;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.98);
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(249, 249, 248, 0.15) 0%,
    rgba(249, 249, 248, 0) 50%,
    rgba(249, 249, 248, 0.4) 100%
  );
  pointer-events: none;
}

/* ==========================================================================
   TRUST / CREDIBILITY STRIP
   ========================================================================== */

.trust-strip {
  padding: 2rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-secondary);
}

.trust-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-tagline {
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
}

.trust-item {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
  padding: 8rem 0;
}

.services-header {
  margin-bottom: 4.5rem;
}

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

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: all var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.16);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

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

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

/* ==========================================================================
   OUR WORK / PORTFOLIO SECTION (DARK DRAMATIC)
   ========================================================================== */

.work-section {
  background-color: var(--bg-dark-primary);
  color: var(--text-light-primary);
  padding: 9rem 0;
}

.work-header {
  margin-bottom: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

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

.project-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-dark);
}

.project-media {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background-color: #050608;
}

.project-ui-preview {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: linear-gradient(135deg, #181a22 0%, #0d0e12 100%);
  position: relative;
}

.ui-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ui-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

.ui-content-frame {
  flex: 1;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-slow);
}

.project-card:hover .ui-content-frame {
  transform: scale(1.03);
}

.project-info {
  padding: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.project-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-light-primary);
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.925rem;
  color: var(--text-light-secondary);
  line-height: 1.55;
  max-width: 420px;
}

.project-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-primary);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.project-card:hover .project-arrow-btn {
  background-color: var(--accent-white);
  color: var(--accent-black);
  border-color: var(--accent-white);
  transform: rotate(45deg);
}

/* ==========================================================================
   ABOUT SCILION SECTION
   ========================================================================== */

.about-section {
  padding: 9rem 0;
}

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

.about-left-content {
  margin-bottom: 3rem;
}

.about-img-frame {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-img-frame:hover img {
  transform: scale(1.03);
}

.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.philosophy-item {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
}

.philosophy-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.philosophy-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

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

/* ==========================================================================
   OUR PLATFORMS SECTION
   ========================================================================== */

.platforms-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.platforms-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem auto;
}

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

.platform-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: all var(--transition-normal);
  position: relative;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.2);
}

.platform-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  display: inline-block;
  margin-bottom: 1.75rem;
  align-self: flex-start;
}

.platform-name {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.platform-domain {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.platform-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Specific Card Ecosystem Accent Variations */
.platform-card.card-scilion {
  border-top: 3px solid var(--text-primary);
}

.platform-card.card-web {
  border-top: 3px solid #2563eb;
}

.platform-card.card-studio {
  border-top: 3px solid #7c3aed;
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */

.process-section {
  padding: 9rem 0;
}

.process-header {
  margin-bottom: 5rem;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--border-light);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  padding-top: 3.5rem;
}

.process-num-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: all var(--transition-normal);
}

.process-step:hover .process-num-badge {
  background-color: var(--accent-black);
  color: var(--accent-white);
  border-color: var(--accent-black);
  transform: scale(1.1);
}

.process-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

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

/* ==========================================================================
   CREDIBILITY / NUMBERS SECTION
   ========================================================================== */

.numbers-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.number-card {
  padding: 1.5rem;
}

.number-val {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.number-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
  padding: 9rem 0;
}

.testimonials-header {
  margin-bottom: 5rem;
}

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

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,0.15);
}

.quote-icon {
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--border-light);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.testimonial-client {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.client-name {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-primary);
}

.client-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FINAL CTA / LEAD GENERATION FORM (DARK SECTION)
   ========================================================================== */

.final-cta-section {
  background-color: var(--bg-dark-primary);
  color: var(--text-light-primary);
  padding: 9rem 0;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.final-cta-content {
  max-width: 520px;
}

.quote-form-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-dark);
}

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

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light-secondary);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  color: var(--text-light-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-white);
  background-color: rgba(255, 255, 255, 0.08);
}

.form-select option {
  background-color: var(--bg-dark-card);
  color: var(--text-light-primary);
}

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

/* ==========================================================================
   FOOTER (DARK SECTION)
   ========================================================================== */

.footer {
  background-color: #07080a;
  color: var(--text-light-primary);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

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

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

.footer-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-white);
}

.footer-tagline {
  font-size: 1rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 1.5rem;
}

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

.footer-link {
  font-size: 0.925rem;
  color: var(--text-light-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-white);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark-subtle);
  padding-top: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

/* ==========================================================================
   MODAL DRAWERS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 2rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  max-width: 650px;
  width: 100%;
  padding: 3rem;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.modal-close:hover {
  background-color: var(--border-light);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-right {
    height: 400px;
  }

  .services-grid, .platforms-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .about-grid, .final-cta-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .process-timeline::before {
    display: none;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-center, .nav-right .platform-link {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .services-grid, .platforms-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline, .numbers-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-headline {
    font-size: 2.5rem;
  }
}
