/* ==========================================================================
   Monitra - Modern OBD-II & AI Web Application CSS
   Design System & Aesthetics
   ========================================================================== */

:root {
  /* Color Tokens - Light Mode Default */
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --navbar-bg: rgba(255, 255, 255, 0.9);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(2, 132, 199, 0.3);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --accent-cyan: #0284c7;
  --accent-blue: #2563eb;
  --accent-purple: #7c3aed;
  --accent-green: #16a34a;
  --accent-red: #dc2626;
  --accent-amber: #d97706;

  --gradient-primary: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --gradient-accent: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-danger: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  --gradient-glass: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.01) 100%);

  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.15);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
  --hover-bg: rgba(0, 0, 0, 0.05);
  --input-bg: #f8fafc;
  --input-border: rgba(0, 0, 0, 0.12);
  --footer-bg: #e2e8f0;
  --phone-frame-bg: #e2e8f0;
  --ai-mockup-bg: #f8fafc;
  --contact-sec-bg: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  --contact-card-bg: #ffffff;
  --privacy-card-bg: #ffffff;

  /* Typography */
  --font-family-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-family-title: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --navbar-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  /* Color Tokens - Dark Mode */
  --bg-dark: #0b0f19;
  --bg-card: #131927;
  --bg-card-hover: #1c2438;
  --bg-glass: rgba(19, 25, 39, 0.7);
  --navbar-bg: rgba(11, 15, 25, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);

  --text-main: #f0f4f8;
  --text-muted: #8e9bb0;
  --text-dim: #5a667a;

  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #7f00ff;
  --accent-green: #00e676;
  --accent-red: #ff1744;
  --accent-amber: #ffab00;

  --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #7f00ff 100%);
  --gradient-danger: linear-gradient(135deg, #ff1744 0%, #ff5252 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.2);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);
  --hover-bg: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(255, 255, 255, 0.03);
  --input-border: rgba(255, 255, 255, 0.08);
  --footer-bg: #070a12;
  --phone-frame-bg: #182032;
  --ai-mockup-bg: #0d121f;
  --contact-sec-bg: linear-gradient(180deg, #0b0f19 0%, #080d18 100%);
  --contact-card-bg: linear-gradient(135deg, rgba(19, 25, 39, 0.9) 0%, rgba(13, 18, 31, 0.95) 100%);
  --privacy-card-bg: linear-gradient(135deg, rgba(19, 25, 39, 0.9) 0%, rgba(13, 18, 31, 0.95) 100%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

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

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

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

.highlight { color: var(--accent-cyan); }
.success { color: var(--accent-green); }
.warning { color: var(--accent-amber); }

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  background: var(--navbar-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-family-title);
  font-size: 1.5rem;
  font-weight: 800;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.badge-v2 {
  font-size: 0.7rem;
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  border: 1px solid var(--border-glow);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--border-glass);
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.language-button:hover,
.language-button.active {
  color: var(--text-main);
  background: var(--hover-bg);
  border-color: var(--border-glass);
}

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

.flag-icon {
  width: 20px;
  height: 13px;
  border-radius: 2px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
  display: block;
  object-fit: cover;
}

.language-code {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--text-muted);
  background: var(--hover-bg);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-left: 6px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--text-main);
  border-color: var(--border-glow);
  transform: scale(1.08);
}

.theme-toggle .theme-icon-sun {
  display: none;
  font-size: 1rem;
  color: #f59e0b;
}

.theme-toggle .theme-icon-moon {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--accent-cyan);
}

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

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.btn-privacy-link {
  background: rgba(127, 0, 255, 0.15) !important;
  color: #c084fc !important;
  border: 1px solid rgba(127, 0, 255, 0.3);
}

.btn-privacy-link:hover {
  background: rgba(127, 0, 255, 0.3) !important;
  color: #fff !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.4;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-cyan);
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 450px;
  height: 450px;
  background: var(--accent-purple);
  bottom: 0;
  right: -50px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-family-title);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #0b0f19;
}

.btn-download {
  background: #f59e0b;
  color: #1a1000;
}

.btn-download:hover {
  background: #fb923c;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-glow:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

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

.stat-number {
  font-family: var(--font-family-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

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

/* Phone Mockup Visual */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 100%;
  max-width: 360px;
  background: #182032;
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 242, 254, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-screen {
  background: var(--bg-card);
  border-radius: 26px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--border-glass);
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.connection-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  margin-right: 4px;
}

.mockup-mode {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-green);
  padding: 2px 8px;
  border-radius: 8px;
}

.app-icon-header {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
}

.hero-app-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.app-hero-meta {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.app-hero-meta strong {
  color: var(--text-main);
}

.app-hero-meta span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mockup-param-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.param-chip {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 8px 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.chip-name {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.chip-val {
  font-size: 0.9rem;
  font-weight: 700;
}

.mockup-footer-badge {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-dim);
  padding-top: 8px;
  border-top: 1px solid var(--border-glass);
}

/* Sections General */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-family-title);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-family-title);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.feature-list li i {
  color: var(--accent-cyan);
}

/* Driving Style & Recorder Section */
.score-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.score-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.score-ring svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 10;
}

.ring-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.ring-fill.eco { stroke: var(--accent-green); }
.ring-fill.safety { stroke: var(--accent-cyan); }

.ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
}

.score-num {
  font-family: var(--font-family-title);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.score-unit { font-size: 0.7rem; color: var(--text-muted); }

.gforce-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(127, 0, 255, 0.15);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.gforce-readouts {
  width: 100%;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
}

.g-item {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 6px;
}

/* AI Reports Section */
.ai-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 48px;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ai-report-mockup {
  background: #0d121f;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-glow);
}

.ai-mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.ai-badge {
  background: var(--gradient-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

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

.ai-mockup-content h4 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.ai-finding {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.ai-finding.warning {
  background: rgba(255, 171, 0, 0.1);
  border: 1px solid rgba(255, 171, 0, 0.2);
  color: var(--accent-amber);
}

.ai-finding.ok {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  color: var(--accent-green);
}

.ai-summary-footer {
  margin-top: 16px;
  text-align: right;
}

.pdf-btn {
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-main);
}

.ai-bullets {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-bullet-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ai-bullet-item i {
  font-size: 1.2rem;
  color: var(--accent-cyan);
  margin-top: 4px;
}

/* Privacy View Page */
.view-section {
  display: none;
}

.view-section.active-view {
  display: block;
}

.privacy-container {
  padding: 140px 24px 100px;
}

.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.privacy-title {
  font-family: var(--font-family-title);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.privacy-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.privacy-alert-box {
  display: flex;
  gap: 16px;
  background: rgba(255, 171, 0, 0.1);
  border: 1px solid rgba(255, 171, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
}

.alert-icon {
  font-size: 1.8rem;
  color: var(--accent-amber);
}

.alert-text h3 {
  font-size: 1.1rem;
  color: var(--accent-amber);
  margin-bottom: 8px;
}

.alert-text p {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
}

.privacy-section {
  margin-bottom: 28px;
}

.privacy-section h2 {
  font-family: var(--font-family-title);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent-cyan);
}

.privacy-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.7;
}

.privacy-footer-action {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  text-align: center;
}

/* Footer */
.site-footer {
  background: #070a12;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}

.footer-col ul a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--accent-cyan);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-glass);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Contact & Collaboration Section */
.contact-section {
  position: relative;
  background: var(--contact-sec-bg);
  border-top: 1px solid var(--border-glass);
  padding-top: 48px;
  overflow: hidden;
}

.contact-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

.contact-section > .container {
  position: relative;
  z-index: 1;
}

.glow-contact {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(127, 0, 255, 0.08) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.contact-card-wrapper {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-card {
  background: var(--contact-card-bg);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.contact-card-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
}

.contact-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(127, 0, 255, 0.15);
  border: 1px solid rgba(127, 0, 255, 0.3);
  color: #c084fc;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-card-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-origin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 16px;
  text-align: left;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-md);
}

.origin-flag {
  font-size: 1.45rem;
  line-height: 1;
}

.origin-title,
.origin-location {
  display: block;
}

.origin-title {
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.origin-location {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
  transition: var(--transition-fast);
}

.textarea-wrapper .field-icon {
  top: 16px;
}

.input-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.input-with-icon {
  padding-left: 46px;
}

.input-field:focus {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.03);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.input-field:focus + .field-icon,
.input-icon-wrapper:focus-within .field-icon {
  color: var(--accent-cyan);
}

.select-field {
  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='%2300f2fe' 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 16px center;
  background-size: 18px;
  padding-right: 46px;
  cursor: pointer;
}

.select-field option {
  background: #131927;
  color: #fff;
  padding: 10px;
}

.textarea-field {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.recaptcha-v3-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.recaptcha-v3-badge {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.recaptcha-v3-badge i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.contact-alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  animation: slideInDown 0.3s ease;
}

.hidden-alert { display: none; }
.alert-success {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: var(--accent-green);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.2);
}
.alert-error {
  background: rgba(255, 23, 68, 0.15);
  border: 1px solid rgba(255, 23, 68, 0.4);
  color: var(--accent-red);
  box-shadow: 0 0 20px rgba(255, 23, 68, 0.2);
}

.btn-contact-submit {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  justify-content: center;
  font-size: 1.05rem;
  padding: 16px 32px;
  background: linear-gradient(135deg, #00f2fe 0%, #7f00ff 100%);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
}

.btn-contact-submit:hover {
  box-shadow: 0 15px 40px rgba(0, 242, 254, 0.5), 0 0 25px rgba(127, 0, 255, 0.4);
  transform: translateY(-3px);
}

.btn-contact-submit:hover .btn-icon {
  transform: translateX(4px) translateY(-2px);
}

.btn-icon {
  transition: transform 0.25s ease;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-cta-group { justify-content: center; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
  .grid-2col { grid-template-columns: 1fr; }
  .score-cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.4rem; }
  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    display: none;
    border-bottom: 1px solid var(--border-glass);
  }
  .nav-menu.open { display: flex; }
  .language-switcher { align-self: flex-end; margin-left: 0; padding-left: 0; border-left: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .privacy-card { padding: 24px; }
  .contact-card { padding: 24px; }
}
