@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables & Theme Tokens --- */
:root {
  /* Dark Theme (Default & Preferred for AI Agency) */
  --bg-color: #050507;
  --bg-gradient: radial-gradient(circle at 50% 0%, #10101b 0%, #050507 70%);
  --surface-color: rgba(22, 22, 28, 0.6);
  --surface-color-solid: #121217;
  --surface-hover: rgba(30, 30, 40, 0.8);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-border-hover: rgba(91, 117, 206, 0.4);
  
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --text-inverse: #1d1d1f;
  
  --accent-color: #5B75CE;
  --accent-color-hover: #728ce7;
  --accent-gradient: linear-gradient(135deg, #5B75CE 0%, #8E9EF5 100%);
  --accent-gradient-glow: radial-gradient(circle, rgba(91, 117, 206, 0.15) 0%, transparent 70%);
  
  --nav-bg: rgba(5, 5, 7, 0.7);
  --nav-border: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(91, 117, 206, 0.2);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', -apple-system, sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  /* Light Theme */
  --bg-color: #fbfbfd;
  --bg-gradient: radial-gradient(circle at 50% 0%, #e8ecfc 0%, #fbfbfd 70%);
  --surface-color: rgba(245, 245, 247, 0.6);
  --surface-color-solid: #f5f5f7;
  --surface-hover: rgba(235, 235, 240, 0.8);
  --surface-border: rgba(0, 0, 0, 0.06);
  --surface-border-hover: rgba(91, 117, 206, 0.5);
  
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --text-inverse: #ffffff;
  
  --accent-color: #5B75CE;
  --accent-color-hover: #3e52a4;
  --accent-gradient: linear-gradient(135deg, #5B75CE 0%, #3F52A3 100%);
  --accent-gradient-glow: radial-gradient(circle, rgba(91, 117, 206, 0.08) 0%, transparent 60%);
  
  --nav-bg: rgba(251, 251, 253, 0.8);
  --nav-border: rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 35px rgba(91, 117, 206, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s ease;
}

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

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

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

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, var(--text-primary) 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-inverse);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
  box-shadow: 0 4px 0 #3a4b9c, 0 8px 20px rgba(91, 117, 206, 0.25);
  transform: translateY(-2px);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 0 #3a4b9c, 0 12px 25px rgba(91, 117, 206, 0.4);
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 0px 0 #3a4b9c, 0 2px 6px rgba(91, 117, 206, 0.2);
}

.btn-secondary {
  background: var(--surface-color);
  color: var(--text-primary);
  border-top: 1.5px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 0 #08080b, 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--surface-border-hover);
  border-top-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 6px 0 #08080b, 0 12px 25px rgba(0, 0, 0, 0.5);
}

.btn-secondary:active {
  transform: translateY(2px);
  box-shadow: 0 0px 0 #08080b, 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* --- Navigation Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

.header-scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  transition: var(--transition-smooth);
}

.header-scrolled .nav-container {
  height: 3.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 3.2rem;
  width: 250px;
  transition: height var(--transition-smooth);
  flex-shrink: 0;
}

.header-scrolled .logo-link {
  height: 2.6rem;
}

.logo-img {
  height: 100%;
  width: auto;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  position: relative;
}

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

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

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

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

.dropdown-chevron {
  width: 10px;
  height: 10px;
  margin-left: 5px;
  stroke: currentColor;
  stroke-width: 3px;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.nav-item.dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--surface-color-solid);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 0.8rem 0;
  width: 210px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  backdrop-filter: blur(20px);
  z-index: 1001;
}

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

.dropdown-item {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  text-align: left;
}

.dropdown-item:hover, .dropdown-item.active {
  color: var(--text-primary);
  background: rgba(91, 117, 206, 0.08);
}

[data-theme="light"] .dropdown-menu {
  background: #ffffff;
}

/* Mobile dropdown adjustment styles */
@media (max-width: 768px) {
  .nav-item.dropdown {
    width: 100%;
    text-align: center;
  }
  
  .nav-item.dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.8rem 0 0 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: auto;
    backdrop-filter: none;
  }

  .nav-item.dropdown:hover .dropdown-menu {
    transform: none;
  }

  .dropdown-chevron {
    display: none;
  }

  .dropdown-item {
    text-align: center;
    padding: 0.4rem 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
  }
}


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

/* Theme Toggle Slider Button */
.theme-toggle {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.theme-toggle:hover {
  border-color: var(--surface-border-hover);
  color: var(--text-primary);
  transform: scale(1.05);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.5s ease;
}

.theme-toggle:hover svg {
  transform: rotate(45deg);
}

.theme-toggle .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
  display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
  display: block;
}

/* Mobile Menu Toggle Button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 4px;
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: var(--accent-gradient-glow);
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}

.hero .grid-2 {
  align-items: center;
}

.hero-content {
  z-index: 5;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 99px;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.hero-tag .tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
  animation: pulse 2s infinite;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* 3D Hero Element Container */
.hero-visual {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.canvas-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 24px;
  overflow: hidden;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.glass-sphere-fallback {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(91, 117, 206, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  animation: float 6s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
}

.glass-sphere-fallback::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 40px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  filter: blur(2px);
  transform: rotate(-30deg);
}

.sphere-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--accent-gradient-glow);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

/* --- Trust / Logo Cloud Section --- */
.trust-bar {
  background: var(--surface-color);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 3rem 0;
  backdrop-filter: blur(10px);
}

.trust-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
  font-weight: 600;
}

.trust-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  padding: 1rem 0;
}

.trust-logos {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 5rem;
  flex-wrap: nowrap;
  animation: marquee 35s linear infinite;
}

.trust-logo {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.trust-logo svg {
  width: 24px;
  height: 24px;
}

.trust-logo-img {
  height: 60px;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.5) contrast(0.7) opacity(0.65);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .trust-logo-img {
  filter: grayscale(100%) brightness(0.2) contrast(1.5) opacity(0.65);
}

.trust-logo-img:hover {
  filter: grayscale(0%) brightness(1) contrast(1) opacity(1);
  transform: scale(1.08);
}

.trust-logos:hover {
  animation-play-state: paused;
}

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

/* --- Services Grid --- */
.services-section {
  background-position: center;
}

.service-card {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(91, 117, 206, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--surface-border-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(91, 117, 206, 0.1);
  color: var(--accent-color);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(91, 117, 206, 0.15);
}

.service-card:hover .service-icon {
  background: var(--accent-gradient);
  color: var(--text-inverse);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(91, 117, 206, 0.3);
}

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

.service-image-container {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--surface-border);
  position: relative;
  background: #000;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* --- Detail Workflows / Showcase --- */
.showcase-row {
  display: flex;
  align-items: center;
  gap: 6rem;
  margin-bottom: 8rem;
}

.showcase-row:nth-child(even) {
  flex-direction: row-reverse;
}

.showcase-content {
  flex: 1;
}

.showcase-visual {
  flex: 1;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  height: 380px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  position: relative;
  box-shadow: var(--shadow-md);
}

.showcase-tag {
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.showcase-heading {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.showcase-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.showcase-points {
  list-style: none;
}

.showcase-point {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.showcase-point svg {
  width: 20px;
  height: 20px;
  color: var(--accent-color);
}

/* --- CEO Spotlight Panel --- */
.ceo-spotlight {
  background: linear-gradient(180deg, transparent 0%, rgba(22, 22, 28, 0.4) 100%);
}

.ceo-card {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 32px;
  padding: 4rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  max-width: 1000px;
  margin: 0 auto;
}

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

.ceo-avatar-frame {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-md);
  background: #111115;
}

.ceo-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.ceo-avatar-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(91, 117, 206, 0.25) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.ceo-quote {
  font-size: 1.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 2rem;
  color: var(--text-primary);
  position: relative;
}

.ceo-quote::before {
  content: '“';
  font-size: 6rem;
  font-family: var(--font-display);
  color: var(--accent-color);
  opacity: 0.15;
  position: absolute;
  top: -40px;
  left: -30px;
}

.ceo-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.ceo-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Call To Action (CTA) --- */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-box {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 32px;
  padding: 6rem 4rem;
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--accent-gradient-glow);
  top: -50%;
  left: -20%;
  z-index: -1;
  filter: blur(80px);
}

.cta-box::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 158, 245, 0.1) 0%, transparent 60%);
  bottom: -50%;
  right: -20%;
  z-index: -1;
  filter: blur(80px);
}

.cta-title {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* --- Footer --- */
.footer {
  background: #030304;
  border-top: 1px solid var(--surface-border);
  padding: 6rem 0 3rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

[data-theme="light"] .footer {
  background: #f5f5f7;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-logo {
  height: 4.2rem;
  width: auto;
  align-self: flex-start;
}

.footer-desc {
  max-width: 280px;
  line-height: 1.6;
}

.footer-heading {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-color);
  flex-shrink: 0;
}

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

.footer-copyright {
  color: var(--text-tertiary);
}

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

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.footer-social-link:hover {
  border-color: var(--surface-border-hover);
  color: var(--text-primary);
  transform: scale(1.08);
}

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

/* --- Interactive Contact Forms --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 6rem;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-card-box {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.contact-card-heading {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.contact-method-card:hover {
  border-color: var(--surface-border-hover);
  background: rgba(91, 117, 206, 0.04);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(91, 117, 206, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
}

.contact-method-details h5 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-method-details p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-form-card {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  padding: 4rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

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

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

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

[data-theme="light"] .form-input {
  background: rgba(0, 0, 0, 0.02);
}

.form-input:focus {
  border-color: var(--accent-color);
  background: rgba(91, 117, 206, 0.02);
  box-shadow: 0 0 0 4px rgba(91, 117, 206, 0.1);
}

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

/* Custom Checkbox/Service selector chips */
.service-selector-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.service-chip {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.service-chip input {
  display: none;
}

.service-chip span {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

[data-theme="light"] .service-chip span {
  background: rgba(0, 0, 0, 0.02);
}

.service-chip input:checked + span {
  background: var(--accent-color);
  color: var(--text-inverse);
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(91, 117, 206, 0.25);
}

.service-chip:hover span {
  border-color: var(--surface-border-hover);
  color: var(--text-primary);
}

/* Success Modal & Form Feedback */
.form-status {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  display: none;
  animation: fadeIn 0.4s ease;
}

.form-status.success {
  display: block;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: #2ecc71;
}

.form-status.error {
  display: block;
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

/* --- Scroll animations / Reveals --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Animations Keyframes --- */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(91, 117, 206, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(91, 117, 206, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(91, 117, 206, 0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

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

/* --- Premium AI HUD Design Elements --- */
.hud-frame {
  position: relative;
  width: 100%;
  height: 380px;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(91, 117, 206, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

[data-theme="light"] .hud-frame {
  box-shadow: 0 15px 45px rgba(91, 117, 206, 0.06), 0 0 25px rgba(91, 117, 206, 0.03);
}

.hud-frame:hover {
  border-color: var(--surface-border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

/* Image inside HUD frame */
.hud-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition-smooth);
  filter: saturate(0.9) contrast(1.05);
}

.hud-frame:hover .hud-image {
  transform: scale(1.03);
  opacity: 1;
}

/* Cybernetic scanning animation */
.cyber-scanner {
  position: absolute;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, 
    rgba(91, 117, 206, 0) 0%, 
    rgba(91, 117, 206, 0.8) 20%, 
    #8E9EF5 50%, 
    rgba(91, 117, 206, 0.8) 80%, 
    rgba(91, 117, 206, 0) 100%);
  box-shadow: 0 0 15px #8E9EF5, 0 0 30px rgba(91, 117, 206, 0.4);
  left: 0;
  z-index: 5;
  pointer-events: none;
  animation: cyberScan 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes cyberScan {
  0% { top: 0%; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* HUD corner bracket overlays */
.hud-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent-color);
  pointer-events: none;
  z-index: 10;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.hud-frame:hover .hud-corner {
  opacity: 1;
  border-color: #8E9EF5;
}

.hud-corner-tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.hud-corner-tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.hud-corner-bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.hud-corner-br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

/* Grid scanline background simulation overlay */
.hud-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  z-index: 4;
  opacity: 0.15;
}

/* Scroll cryptographic typing animations classes */
.crypto-text {
  font-family: var(--font-display);
  position: relative;
}

.crypto-decrypting {
  color: var(--accent-color);
}

/* --- Premium Upgrades for Interactive Chatbot Terminal --- */
.bot-sim-container.premium-terminal {
  background: rgba(13, 13, 18, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(91, 117, 206, 0.1);
  transition: var(--transition-smooth);
}

[data-theme="light"] .bot-sim-container.premium-terminal {
  background: rgba(245, 245, 247, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 45px rgba(91, 117, 206, 0.08), 0 0 20px rgba(91, 117, 206, 0.04);
}

.bot-sim-container.premium-terminal:hover {
  border-color: var(--surface-border-hover);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.bot-sim-header.premium-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.2rem 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .bot-sim-header.premium-header {
  background: rgba(0, 0, 0, 0.01);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.bot-msg.premium-bubble {
  border-radius: 18px;
  padding: 1rem 1.4rem;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  max-width: 85%;
}

.bot-msg-bot.premium-bot {
  background: rgba(91, 117, 206, 0.1);
  border: 1px solid rgba(91, 117, 206, 0.2);
  color: var(--text-primary);
  border-top-left-radius: 4px;
}

[data-theme="light"] .bot-msg-bot.premium-bot {
  background: rgba(91, 117, 206, 0.07);
  border: 1px solid rgba(91, 117, 206, 0.15);
}

.bot-msg-user.premium-user {
  background: var(--accent-gradient);
  color: #fff;
  border-top-right-radius: 4px;
  box-shadow: 0 4px 15px rgba(91, 117, 206, 0.2);
}

.bot-sim-footer.premium-footer {
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.2rem 1.8rem;
}

[data-theme="light"] .bot-sim-footer.premium-footer {
  background: rgba(0, 0, 0, 0.005);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.bot-sim-input.premium-input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0.9rem 1.4rem;
  transition: var(--transition-smooth);
}

[data-theme="light"] .bot-sim-input.premium-input {
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bot-sim-input.premium-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(91, 117, 206, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

/* Chatbot Suggestion Chips */
.suggestion-chip {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 99px;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
}

.suggestion-chip:hover {
  background: var(--surface-hover);
  border-color: var(--surface-border-hover);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* --- Services Dashboard Layout --- */
.services-dashboard-section {
  padding: 4rem 0 8rem 0;
  position: relative;
}

.services-dashboard-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Sidebar Styling */
.dashboard-sidebar {
  position: sticky;
  top: 6.5rem;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 1.5rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--shadow-sm);
  z-index: 50;
}

.dashboard-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.dashboard-menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-secondary);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.dashboard-menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--accent-gradient);
  transition: var(--transition-smooth);
  border-radius: 99px;
}

.dashboard-menu-item:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

[data-theme="light"] .dashboard-menu-item:hover {
  background: rgba(0, 0, 0, 0.015);
}

.dashboard-menu-item.active {
  background: rgba(91, 117, 206, 0.08);
  border-color: rgba(91, 117, 206, 0.15);
  color: var(--text-primary);
}

.dashboard-menu-item.active::before {
  height: 60%;
}

.menu-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

.dashboard-menu-item.active .menu-number {
  opacity: 1;
  color: var(--accent-color);
}

.menu-label {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Content Pane Styling */
.dashboard-content-pane {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  padding: 3rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 550px;
  overflow: hidden;
}

.dashboard-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-panel.active {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  opacity: 1;
  transform: translateY(0);
}

/* Dashboard responsive adaptations */
@media (max-width: 1024px) {
  .services-dashboard-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .dashboard-sidebar {
    position: static;
    padding: 1rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .dashboard-menu {
    flex-direction: row;
    gap: 0.5rem;
  }
  
  .dashboard-menu-item {
    flex-shrink: 0;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
  }
  
  .dashboard-menu-item::before {
    display: none;
  }
  
  .dashboard-panel.active {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .dashboard-content-pane {
    padding: 2rem;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .dashboard-content-pane {
    padding: 1.5rem;
    border-radius: 20px;
  }
  
  .dashboard-panel.active {
    gap: 2.5rem;
  }
}


/* --- Animated Agent Decision Hub Overlay --- */
.agent-animation-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}

.hub-core {
  width: 44px;
  height: 44px;
  background: var(--accent-gradient);
  border-radius: 50%;
  box-shadow: 0 0 25px var(--accent-color), inset 0 0 10px rgba(255, 255, 255, 0.6);
  z-index: 3;
  animation: core-pulsate 2s infinite ease-in-out;
}

.hub-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(91, 117, 206, 0.4);
  box-shadow: 0 0 15px rgba(91, 117, 206, 0.1);
}

.ring-outer {
  width: 140px;
  height: 140px;
  animation: rotate-clockwise 12s linear infinite;
  border-style: double;
  border-width: 2px;
  border-color: rgba(91, 117, 206, 0.3) transparent;
}

.ring-inner {
  width: 90px;
  height: 90px;
  animation: rotate-counter-clockwise 8s linear infinite;
  border-color: rgba(91, 117, 206, 0.5) transparent rgba(91, 117, 206, 0.5) transparent;
}

.hub-network-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.network-node {
  fill: var(--accent-color);
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 1.5px;
  filter: drop-shadow(0 0 6px var(--accent-color));
}

.node-pulse {
  animation: node-glowing 2s infinite alternate ease-in-out;
}

.network-link {
  stroke: rgba(91, 117, 206, 0.35);
  stroke-width: 1.5px;
  stroke-dasharray: 4, 4;
  animation: dash-flow 1.5s linear infinite;
}

.hub-status-badge {
  position: absolute;
  bottom: -15px;
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid rgba(91, 117, 206, 0.3);
  border-radius: 99px;
  padding: 0.35rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .hub-status-badge {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(91, 117, 206, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.status-indicator-dot.pulsating {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: indicator-pulse 1.5s infinite ease-in-out;
}

.status-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* Animations */
@keyframes core-pulsate {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.12); filter: brightness(1.2) drop-shadow(0 0 15px var(--accent-color)); }
}

@keyframes rotate-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-counter-clockwise {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes node-glowing {
  0% { transform: scale(1); filter: brightness(0.8); }
  100% { transform: scale(1.3); filter: brightness(1.3) drop-shadow(0 0 8px var(--accent-color)); }
}

@keyframes dash-flow {
  to { stroke-dashoffset: -20; }
}

@keyframes indicator-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}


/* --- Mobile / Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .ceo-avatar-frame {
    margin: 0 auto;
  }
  
  .ceo-quote::before {
    left: 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .logo-link {
    height: 2.2rem !important;
    width: 170px !important;
    flex-shrink: 0;
  }
  
  .nav-actions {
    gap: 0.8rem;
  }
  
  .theme-toggle {
    width: 38px;
    height: 38px;
  }
  
  .theme-toggle svg {
    width: 18px;
    height: 18px;
  }
  
  .nav-actions .btn {
    padding: 0.4rem 1rem !important;
    font-size: 0.75rem !important;
  }
  
  .trust-bar {
    padding: 2rem 0;
  }
  
  .trust-logos {
    gap: 3rem;
  }
  
  .trust-logo-img {
    height: 48px;
    max-height: 48px;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 4.5rem);
    background: var(--bg-color);
    flex-direction: column;
    padding: 4rem 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid var(--nav-border);
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-link {
    font-size: 1.25rem;
  }
  
  .header-scrolled .nav-menu {
    top: 3.5rem;
    height: calc(100vh - 3.5rem);
  }
  
  .hero {
    min-height: auto;
    padding: 8rem 0 4rem 0;
    text-align: center;
  }
  
  .hero-description {
    margin: 0 auto 2.5rem auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    height: 380px;
    margin-top: 2rem;
  }
  
  .showcase-row, .showcase-row:nth-child(even) {
    flex-direction: column;
    gap: 3rem;
  }
  
  .showcase-visual {
    width: 100%;
    height: 300px;
  }
  
  .ceo-card {
    padding: 2.5rem 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .contact-form-card {
    padding: 2.5rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .cta-title {
    font-size: 2.5rem;
  }
  
  .cta-box {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-link {
    height: 2.0rem !important;
    width: 150px !important;
  }
  
  .nav-actions .btn {
    display: none !important;
  }
}
