@import url('./variables.css');

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::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;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(43, 104, 255, 0.35);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--vibrant-purple);
}

/* Background Ambient Lighting & Mesh */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.glow-orb-1 {
  top: -15%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--electric-blue) 0%, rgba(43, 104, 255, 0) 70%);
}

.glow-orb-2 {
  top: 40%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--vibrant-purple) 0%, rgba(122, 56, 255, 0) 70%);
  animation-duration: 22s;
  animation-delay: -5s;
}

.glow-orb-3 {
  bottom: -15%;
  left: 20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #00E5FF 0%, rgba(0, 229, 255, 0) 70%);
  opacity: 0.12;
  animation-duration: 25s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(60px, 40px) scale(1.1);
  }
  100% {
    transform: translate(-40px, 80px) scale(0.95);
  }
}

/* Background Grid Overlay */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0.1) 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0.1) 85%);
}

/* Layout Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

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

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(43, 104, 255, 0.1);
  border: 1px solid rgba(43, 104, 255, 0.25);
  color: #9BB8FF;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.section-tag.purple-tag {
  background: rgba(122, 56, 255, 0.1);
  border-color: rgba(122, 56, 255, 0.3);
  color: #CBB2FF;
}

.section-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric-blue);
  box-shadow: 0 0 10px var(--electric-blue);
  animation: pulseDot 2s infinite;
}

.section-tag.purple-tag .dot {
  background: var(--vibrant-purple);
  box-shadow: 0 0 10px var(--vibrant-purple);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

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

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

/* Glassmorphism Card Style */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  position: relative;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-gradient);
  color: var(--text-primary);
  box-shadow: var(--glow-cta);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px -3px rgba(43, 104, 255, 0.65), 0 8px 20px rgba(122, 56, 255, 0.45);
  background: var(--brand-gradient-hover);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-normal);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: background var(--transition-normal), backdrop-filter var(--transition-normal), border var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

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

.navbar-logo-wrapper {
  height: 48px;
  width: 145px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.navbar-logo-img {
  height: 96px;
  width: auto;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: screen;
  transition: transform var(--transition-normal), filter var(--transition-normal);
  transform-origin: left center;
}

.logo:hover .navbar-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(43, 104, 255, 0.5));
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

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

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

.header-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ==========================================================================
   Section 1: Hero Section
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 70px);
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

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

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

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

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Trust Ticker */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  font-weight: 600;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: #3874FF;
}

/* Hero Visual / Mock UI Stack */
.hero-visual {
  position: relative;
  perspective: 1000px;
}

.hero-mockup-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.mockup-main-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(13, 17, 29, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(43, 104, 255, 0.15);
  backdrop-filter: blur(24px);
  transform: rotate3d(1, -1, 0, 4deg);
  transition: transform 0.5s ease;
}

.mockup-main-card:hover {
  transform: rotate3d(0, 0, 0, 0deg);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

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

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-title {
  font-size: 0.75rem;
  font-family: var(--font-code);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 8px #00E5FF;
}

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Metric Bars */
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.metric-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.metric-val {
  font-family: var(--font-code);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #00E5FF;
}

.progress-track {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 4px;
  background: var(--brand-gradient);
  transition: width 1s ease;
}

/* Mini Code Box */
.mini-code-box {
  background: rgba(8, 11, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: var(--font-code);
  font-size: 0.75rem;
  line-height: 1.6;
}

.code-keyword { color: #FF64C0; }
.code-function { color: #2B68FF; }
.code-string { color: #00E5FF; }
.code-comment { color: var(--text-dim); }

/* Floating Badges on Hero Stack */
.floating-badge {
  position: absolute;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(13, 17, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBadge 6s ease-in-out infinite alternate;
  z-index: 2;
}

.badge-top-right {
  top: -24px;
  right: -24px;
  animation-delay: -1s;
}

.badge-bottom-left {
  bottom: -24px;
  left: -24px;
  animation-delay: -3.5s;
}

@keyframes floatBadge {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(1deg); }
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon.blue {
  background: rgba(43, 104, 255, 0.15);
  color: var(--electric-blue);
  box-shadow: 0 0 15px rgba(43, 104, 255, 0.3);
}

.badge-icon.purple {
  background: rgba(122, 56, 255, 0.15);
  color: var(--vibrant-purple);
  box-shadow: 0 0 15px rgba(122, 56, 255, 0.3);
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   Section 2: Services Section
   ========================================================================== */
.services-section {
  padding: 120px 0;
  position: relative;
}

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

.service-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(13, 17, 29, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* Dynamic Spotlight Mouse Glow Effect */
.service-card::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(43, 104, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  top: var(--mouse-y, -100px);
  left: var(--mouse-x, -100px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(43, 104, 255, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(43, 104, 255, 0.2);
}

.service-card.card-purple:hover {
  border-color: rgba(122, 56, 255, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(122, 56, 255, 0.2);
}

.service-card.card-purple::after {
  background: radial-gradient(circle, rgba(122, 56, 255, 0.22) 0%, transparent 70%);
}

.service-card.card-mixed:hover {
  border-color: rgba(43, 104, 255, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(122, 56, 255, 0.25);
}

.service-card.card-mixed::after {
  background: radial-gradient(circle, rgba(122, 56, 255, 0.2) 0%, transparent 70%);
}

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.08);
}

.icon-blue-glow {
  background: rgba(43, 104, 255, 0.12);
  border: 1px solid rgba(43, 104, 255, 0.3);
  color: var(--electric-blue);
  box-shadow: 0 0 20px rgba(43, 104, 255, 0.35);
}

.icon-purple-glow {
  background: rgba(122, 56, 255, 0.12);
  border: 1px solid rgba(122, 56, 255, 0.3);
  color: var(--vibrant-purple);
  box-shadow: 0 0 20px rgba(122, 56, 255, 0.35);
}

.icon-gradient-glow {
  background: linear-gradient(135deg, rgba(43, 104, 255, 0.15) 0%, rgba(122, 56, 255, 0.15) 100%);
  border: 1px solid rgba(122, 56, 255, 0.35);
  color: #A36BFF;
  box-shadow: 0 0 20px rgba(122, 56, 255, 0.35);
}

.service-icon-wrapper svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.service-card-title {
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.service-card-text {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.feature-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(43, 104, 255, 0.2);
  color: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

.card-purple .feature-check {
  background: rgba(122, 56, 255, 0.2);
  color: var(--vibrant-purple);
}

.card-mixed .feature-check {
  background: rgba(0, 229, 255, 0.15);
  color: #00E5FF;
}

.service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #B4CAFF;
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-action-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-action-link {
  color: #FFFFFF;
}

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

/* ==========================================================================
   Section 3: About Us Section
   ========================================================================== */
.about-section {
  padding: 120px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.about-narrative-title {
  font-size: 2.85rem;
  line-height: 1.18;
  margin-bottom: 24px;
}

.about-paragraph {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.about-subparagraph {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pillar-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
  margin-top: 8px;
  flex-shrink: 0;
}

.pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

/* Metrics Cards (Right Column) */
.about-metrics {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metric-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(13, 17, 29, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.metric-card:hover {
  transform: translateX(8px);
  border-color: rgba(43, 104, 255, 0.35);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(43, 104, 255, 0.15);
}

.metric-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card:nth-child(1) .metric-card-icon {
  border-color: rgba(255, 189, 46, 0.4);
  box-shadow: 0 0 20px rgba(255, 189, 46, 0.2);
}

.metric-card:nth-child(2) .metric-card-icon {
  border-color: rgba(255, 95, 86, 0.4);
  box-shadow: 0 0 20px rgba(255, 95, 86, 0.2);
}

.metric-card:nth-child(3) .metric-card-icon {
  border-color: rgba(43, 104, 255, 0.4);
  box-shadow: 0 0 20px rgba(43, 104, 255, 0.2);
}

.metric-card-content {
  flex-grow: 1;
}

.metric-card-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Section 4: Contact Us & Footer Section
   ========================================================================== */
.contact-section {
  padding: 120px 0 60px 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  margin-bottom: 80px;
}

/* Direct Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-heading {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 36px;
}

.contact-details-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-item-card {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(13, 17, 29, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.contact-item-card:hover {
  background: rgba(19, 24, 43, 0.85);
  border-color: rgba(43, 104, 255, 0.4);
  transform: translateY(-2px);
}

.contact-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 104, 255, 0.12);
  color: var(--electric-blue);
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}

.contact-item-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: rgba(43, 104, 255, 0.2);
  color: #FFFFFF;
  border-color: var(--electric-blue);
}

/* Social Links */
.socials-block {
  margin-top: 10px;
}

.socials-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

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

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: rgba(13, 17, 29, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  color: #FFFFFF;
}

.social-btn.instagram:hover {
  border-color: #E1306C;
  box-shadow: 0 10px 25px -5px rgba(225, 48, 108, 0.4);
  color: #FFFFFF;
}

.social-btn.facebook:hover {
  border-color: #1877F2;
  box-shadow: 0 10px 25px -5px rgba(24, 119, 242, 0.4);
  color: #FFFFFF;
}

/* Contact Form */
.contact-form-wrapper {
  padding: 44px;
  border-radius: var(--radius-lg);
  background: rgba(13, 17, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

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

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

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(9, 13, 23, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 0 15px rgba(43, 104, 255, 0.3);
  background: rgba(13, 17, 29, 0.95);
}

.form-control::placeholder {
  color: var(--text-dim);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E9AB5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
}

select.form-control option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

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

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  margin-top: 10px;
}

/* ==========================================================================
   Professional Agency Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.95) 0%, #060912 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 36px;
}

.footer-top-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 104, 255, 0.8), rgba(122, 56, 255, 0.8), transparent);
  box-shadow: 0 0 25px 2px rgba(43, 104, 255, 0.4);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

/* Footer Brand Column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo-wrapper {
  height: 48px;
  width: 145px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.footer-logo-img {
  height: 96px;
  width: auto;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: screen;
  transition: transform var(--transition-normal), filter var(--transition-normal);
  transform-origin: left center;
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(43, 104, 255, 0.5));
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 320px;
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(43, 104, 255, 0.08);
  border: 1px solid rgba(43, 104, 255, 0.2);
  color: #B4CAFF;
  font-size: 0.8rem;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 24px;
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 10px #00E5FF;
  animation: pulseDot 2s infinite;
}

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

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social-icon:hover {
  background: rgba(43, 104, 255, 0.15);
  border-color: rgba(43, 104, 255, 0.4);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -4px rgba(43, 104, 255, 0.4);
}

/* Footer Link Columns */
.footer-links-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 22px;
  position: relative;
  letter-spacing: -0.01em;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

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

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9125rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* Footer Contact Info Box */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
}

.footer-contact-label {
  color: var(--text-dim);
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.footer-contact-link {
  color: #B4CAFF;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-contact-link:hover {
  color: #FFFFFF;
}

.footer-contact-val {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-cta-box {
  margin-top: 10px;
}

.footer-cta-btn {
  padding: 10px 22px;
  font-size: 0.875rem;
  width: fit-content;
}

/* Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.copyright {
  color: var(--text-dim);
  font-size: 0.875rem;
}

.footer-separator {
  color: var(--text-dim);
  font-size: 0.75rem;
}

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

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform var(--transition-fast);
}

.back-to-top:hover {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(43, 104, 255, 0.4);
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: rgba(13, 17, 29, 0.9);
  border: 1px solid rgba(43, 104, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(43, 104, 255, 0.3);
  backdrop-filter: blur(20px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.2);
  color: #00E5FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Scroll Animations (Reveal Classes) */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    margin: 0 auto 36px auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .trust-bar {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 99;
  }

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

  .mobile-toggle {
    display: block;
  }

  .header-cta-btn {
    display: none;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 2.15rem;
  }

  .about-narrative-title {
    font-size: 2.15rem;
  }

  .contact-heading {
    font-size: 2.15rem;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .site-footer {
    padding-top: 60px;
    padding-bottom: 28px;
  }

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

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-bottom-left {
    justify-content: center;
  }

  .floating-badge {
    position: static;
    margin-top: 15px;
    display: inline-flex;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 72px;
  }

  .hero-title,
  .section-title,
  .about-narrative-title,
  .contact-heading {
    font-size: 2rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .services-section,
  .about-section {
    padding: 80px 0;
  }

  .contact-section {
    padding-top: 80px;
  }

  .hero-actions .btn,
  .social-btn {
    width: 100%;
  }

  .trust-bar,
  .trust-badges,
  .about-pillars {
    flex-direction: column;
  }

  .about-pillars {
    display: flex;
    gap: 16px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .contact-item-card,
  .metric-card {
    padding: 18px;
    gap: 14px;
  }

  .contact-item-left {
    min-width: 0;
    gap: 12px;
  }

  .contact-item-value,
  .footer-contact-link {
    overflow-wrap: anywhere;
  }

  .contact-form-wrapper {
    padding: 24px 16px;
  }
}

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