/* ============================================
   FELORA TECHNOLOGY — Design System
   Dark theme, devgent-inspired
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Syne:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-nav: rgba(5, 5, 5, 0.8);

  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666;

  --accent: #B8AAFF;
  --accent-light: #D0C8FF;
  --accent-glow: rgba(184, 170, 255, 0.15);
  --accent-cyan: #4ECDC4;
  --accent-cyan-glow: rgba(78, 205, 196, 0.12);

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(124, 102, 227, 0.3);

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Border Radius */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea {
  font-family: inherit;
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 12px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;

  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--bg-primary);
  color: #fff !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  border: 1px solid rgba(124, 102, 227, 0.4);
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan), var(--accent-light), var(--accent));
  background-size: 300% 100%;
  animation: liquid-border 4s ease infinite;
  z-index: -1;
  opacity: 0.5;
  filter: blur(3px);
  transition: opacity 0.4s, filter 0.4s;
}

.nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: var(--bg-primary);
  z-index: -1;
}

.nav-cta:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.nav-cta:hover::before {
  opacity: 1;
  filter: blur(6px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 45%, var(--bg-primary) 75%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 24px;
}

.hero-content h1 {
  margin-bottom: 16px;
  color: #fff;
  -webkit-text-fill-color: #fff;
  filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.8));
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.2em;

  color: var(--accent);
  margin-bottom: 24px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 0, 0, 0.8);
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 20px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 0, 0, 0.8);
}

/* ============================================
   BUTTONS — Liquid Metal Effect
   ============================================ */
@keyframes liquid-border {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  z-index: 1;
  cursor: pointer;
}

.btn-primary {
  background: var(--bg-primary);
  color: #fff;
  border: 1px solid rgba(124, 102, 227, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan), var(--accent-light), var(--accent));
  background-size: 300% 100%;
  animation: liquid-border 4s ease infinite;
  z-index: -1;
  opacity: 0.6;
  filter: blur(4px);
  transition: opacity 0.4s, filter 0.4s;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: var(--bg-primary);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.btn-primary:hover::before {
  opacity: 1;
  filter: blur(8px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  background: linear-gradient(90deg, var(--accent), transparent, var(--accent-cyan));
  background-size: 200% 100%;
  animation: liquid-border 6s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: var(--bg-primary);
  z-index: -1;
}

.btn-secondary:hover {
  border-color: transparent;
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-secondary:hover::before {
  opacity: 0.8;
}

.btn-ghost {
  color: var(--accent);
  padding: 10px 0;
  font-weight: 500;
  border: none;
}

.btn-ghost::before,
.btn-ghost::after {
  display: none;
}

.btn-ghost:hover {
  color: var(--accent-light);
  gap: 14px;
}

.btn-ghost svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Glow decorations */
.glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.glow-purple {
  background: var(--accent-glow);
}

.glow-cyan {
  background: var(--accent-cyan-glow);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(124, 102, 227, 0.2), transparent, rgba(78, 205, 196, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 12px;
  margin-bottom: 24px;
  color: var(--accent);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-section h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.cta-section p {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-links h5 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-scale"] {
  transform: scale(0.95);
}

[data-animate="fade-scale"].animate-in {
  transform: scale(1);
}

[data-animate="fade-left"] {
  transform: translateX(-30px);
}

[data-animate="fade-left"].animate-in {
  transform: translateX(0);
}

[data-animate="fade-right"] {
  transform: translateX(30px);
}

[data-animate="fade-right"].animate-in {
  transform: translateX(0);
}

/* Stagger delays for card grids */
.card-grid>*:nth-child(1) {
  transition-delay: 0s;
}

.card-grid>*:nth-child(2) {
  transition-delay: 0.1s;
}

.card-grid>*:nth-child(3) {
  transition-delay: 0.2s;
}

.card-grid>*:nth-child(4) {
  transition-delay: 0.3s;
}

.card-grid>*:nth-child(5) {
  transition-delay: 0.4s;
}

/* ============================================
   SPLIT SECTION (text + visual)
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-text .section-label {
  margin-bottom: 12px;
}

.split-text h2 {
  margin-bottom: 20px;
}

.split-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.split-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

/* ============================================
   PAGE-SPECIFIC: ABOUT
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.values-grid .card:nth-child(4),
.values-grid .card:nth-child(5) {
  grid-column: span 1;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.team-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.team-tag svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* ============================================
   PAGE-SPECIFIC: SERVICES
   ============================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even)>* {
  direction: ltr;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(124, 102, 227, 0.1);
  line-height: 1;
  margin-bottom: 16px;
}

/* ============================================
   PAGE-SPECIFIC: GEO
   ============================================ */
.geo-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.geo-feature-card {
  padding: 36px;
}

.geo-feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.geo-feature-card .geo-subtitle {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}

.geo-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================
   PAGE-SPECIFIC: BLOG
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.blog-card {
  padding: 36px;
}

.blog-card .blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  transition: var(--transition);
}

.blog-card:hover h3 {
  color: var(--accent);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.4s ease;
}

.blog-card.expanded p {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.blog-card.expanded .blog-read-more {
  display: none;
}

.blog-card .blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-card .blog-author .author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent);
}

.blog-card .blog-read-more {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition);
}

.blog-card:hover .blog-read-more {
  color: var(--accent-light);
}

.newsletter-section {
  text-align: center;
  padding: 80px 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 24px auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

/* ============================================
   PAGE-SPECIFIC: CONTACT
   ============================================ */
.contact-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #030308;
}

.contact-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.45;
}

.contact-content {
  position: relative;
  z-index: 10;
  padding-top: 120px;
  padding-bottom: 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(124, 102, 227, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.contact-info-card h2 {
  margin-bottom: 8px;
}

.contact-info-card>p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item .info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-info-item .info-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.contact-info-item .info-text {
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Contact page overrides: white text */
.contact-page .section-label {
  color: #fff;
}

.contact-page .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.contact-page h1 {
  -webkit-text-fill-color: #fff;
  background: none;
}

.contact-info-item .info-text a {
  color: var(--text-primary);
  transition: var(--transition);
}

.contact-info-item .info-text a:hover {
  color: var(--accent);
}

.contact-form-card {
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(124, 102, 227, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.contact-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--bg-primary);
  color: #fff;
  border: 1px solid rgba(124, 102, 227, 0.4);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
}

.form-submit::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan), var(--accent-light), var(--accent));
  background-size: 300% 100%;
  animation: liquid-border 4s ease infinite;
  z-index: -1;
  opacity: 0.6;
  filter: blur(4px);
  transition: opacity 0.4s, filter 0.4s;
}

.form-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: var(--bg-primary);
  z-index: -1;
}

.form-submit:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.form-submit:hover::before {
  opacity: 1;
  filter: blur(8px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .geo-insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-block:nth-child(even) {
    direction: ltr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 60px 40px;
    border-left: 1px solid var(--border);
    transition: var(--transition-slow);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-hamburger {
    display: flex;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .geo-feature-grid {
    grid-template-columns: 1fr;
  }

  .geo-insight-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .card {
    padding: 28px;
  }

  .hero {
    min-height: 100svh;
  }
}

/* ============================================
   MOBILE MENU OVERLAY 
   ============================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   MISC
   ============================================ */
::selection {
  background: var(--accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* --- Blog Article Detail Page --- */
.blog-article-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
}

.blog-article-hero img,
.blog-article-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.85) 100%);
}

.blog-article-header {
  position: relative;
  max-width: 760px;
  margin: -80px auto 0;
  padding: 0 24px;
  z-index: 2;
}

.blog-article-header .blog-date {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.blog-article-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 12px 0 20px;
}

.blog-article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.blog-article-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-article-author .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.blog-article-author .author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-article-author .author-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.blog-article-author .author-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.blog-article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.blog-article-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.blog-article-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 48px 0 16px;
  line-height: 1.3;
}

.blog-article-body h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--text-primary);
  margin: 36px 0 12px;
  line-height: 1.4;
}

.blog-article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.blog-article-body ul,
.blog-article-body ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.blog-article-body li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.blog-article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--bg-card);
  border-radius: 0 8px 8px 0;
}

.blog-article-body blockquote p {
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 0;
}

.blog-article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
  max-width: 760px;
  margin: 0 auto;
}

.blog-article-back:hover {
  color: var(--accent);
}

.blog-read-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}

.blog-read-more:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .blog-article-hero {
    height: 35vh;
    min-height: 220px;
  }

  .blog-article-header {
    margin-top: -60px;
  }

  .blog-article-body p,
  .blog-article-body li {
    font-size: 0.95rem;
  }
}