/* ==========================================================================
   AMEND TECHNOLOGIE — DESIGN SYSTEM & CORE STYLES
   Modern Product Studio Design Architecture
   ========================================================================== */


:root {
  /* Color Palette - Midnight & Luminescent Accents */
  --bg-primary: #080b11;
  --bg-secondary: #0d121c;
  --bg-tertiary: #131b2a;
  --bg-surface: rgba(19, 27, 42, 0.7);
  --bg-surface-elevated: rgba(26, 37, 56, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(56, 189, 248, 0.3);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Accent Colors */
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;

  /* Product-Specific Brand Accents */
  --brand-kleverklimb: #7bb801;
  --brand-kleverklimb-glow: rgba(123, 184, 1, 0.25);
  --brand-mytax: #2563eb;
  --brand-mytax-glow: rgba(37, 99, 235, 0.25);
  --brand-mobile: #ec4899;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #ec4899 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 20%, #94a3b8 100%);
  --gradient-cyan-emerald: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --gradient-blue-indigo: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --gradient-kk: linear-gradient(135deg, #84cc16 0%, #10b981 100%);
  --gradient-mtc: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  --gradient-dark-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Depth */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);
  --shadow-glow-blue: 0 0 35px rgba(59, 130, 246, 0.25);
  --shadow-glow-kk: 0 0 35px rgba(123, 184, 1, 0.25);

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --nav-height: 80px;
  --container-max: 1240px;
}

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

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background Mesh */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: 
    radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 60%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Grid Pattern Overlay */
.bg-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.text-gradient-cyan {
  background: var(--gradient-cyan-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.text-gradient-brand {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.text-gradient-kk {
  background: var(--gradient-kk);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.text-gradient-mtc {
  background: var(--gradient-mtc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.font-mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

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

.section-spacer {
  padding-block: 100px;
}

@media (max-width: 768px) {
  .section-spacer {
    padding-block: 60px;
  }
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3.2rem);
  margin-bottom: 16px;
  word-break: normal;
  overflow-wrap: break-word;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(8, 11, 17, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 11, 17, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: var(--border-medium);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.brand-link:hover .brand-mark {
  transform: scale(1.05);
  border-color: var(--accent-cyan);
}

.brand-mark svg, .brand-mark img {
  width: 24px;
  height: 24px;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 600px) {
  .nav-actions .btn {
    display: none;
  }
  .brand-title {
    font-size: 1.2rem;
  }
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 17, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-links a {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-secondary);
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.1);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #3b82f6);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9, #60a5fa);
  box-shadow: 0 6px 28px rgba(14, 165, 233, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-kk {
  background: linear-gradient(135deg, #7bb801, #5f8f00);
  color: #0b1402;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(123, 184, 1, 0.35);
}

.btn-kk:hover {
  background: linear-gradient(135deg, #8cd302, #7bb801);
  box-shadow: 0 6px 28px rgba(123, 184, 1, 0.55);
  transform: translateY(-2px);
  color: #0b1402;
}

.btn-mtc {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-mtc:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 6px 28px rgba(37, 99, 235, 0.55);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ==========================================================================
   CARDS & SURFACES
   ========================================================================== */

.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.glass-card-subtle {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 24px;
}

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

.hero-section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 100px;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  max-width: 920px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-headline {
  font-size: clamp(2.1rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: 2rem;
    line-height: 1.2;
  }
  .desktop-only {
    display: none;
  }
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin-inline: auto;
  margin-top: 60px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

@media (max-width: 768px) {
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 4px;
}

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

/* ==========================================================================
   FLAGSHIP SHOWCASE CARDS (KleverKlimb & MyTaxCalculator)
   ========================================================================== */

.flagship-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.flagship-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.flagship-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--accent-cyan)), transparent);
  opacity: 0.8;
}

.flagship-card.kk-theme {
  --card-accent: #7bb801;
}

.flagship-card.mtc-theme {
  --card-accent: #3b82f6;
}

.flagship-card:hover {
  border-color: var(--border-medium);
}

.flagship-card.kk-theme:hover {
  box-shadow: 0 20px 60px rgba(123, 184, 1, 0.15);
}

.flagship-card.mtc-theme:hover {
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
}

.flagship-content-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 48px;
}

@media (max-width: 992px) {
  .flagship-content-grid {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 36px;
  }
}

.flagship-details {
  display: flex;
  flex-direction: column;
}

.product-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.product-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.kk-icon-box {
  background: #7bb801;
  box-shadow: 0 0 25px rgba(123, 184, 1, 0.35);
}

.mtc-icon-box {
  background: #2563eb;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.35);
}

.product-category-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-headline {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.15;
}

.product-tagline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.55;
}

.product-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.badge-pill.highlight {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.product-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

@media (max-width: 600px) {
  .product-features-list {
    grid-template-columns: 1fr;
  }
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-bullet i {
  color: var(--card-accent, var(--accent-cyan));
  font-size: 0.9rem;
  margin-top: 4px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Mockup Browser Window Frame */
.browser-mockup {
  position: relative;
  background: #0f1523;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.flagship-card:hover .browser-mockup {
  transform: translateY(-4px) scale(1.01);
}

.browser-mockup-header {
  background: #141c2e;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

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

.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #10b981; }

.browser-address-bar {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-address-bar i {
  color: var(--accent-emerald);
  font-size: 0.75rem;
}

.browser-mockup-body {
  position: relative;
  background: #050811;
  overflow: hidden;
}

.browser-mockup-body img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.flagship-card:hover .browser-mockup-body img {
  transform: scale(1.02);
}

/* Floating Metrics Badge on Mockup */
.mockup-floating-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(13, 18, 28, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.mockup-badge-text strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.1;
}

.mockup-badge-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DOMAINS & CAPABILITIES SECTION
   ========================================================================== */

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

@media (max-width: 992px) {
  .domains-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .domains-grid {
    grid-template-columns: 1fr;
  }
}

.domain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.domain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03), transparent 60%);
  pointer-events: none;
}

.domain-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.domain-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
}

.domain-card:nth-child(1) .domain-icon-circle { color: #38bdf8; background: rgba(56, 189, 248, 0.1); }
.domain-card:nth-child(2) .domain-icon-circle { color: #84cc16; background: rgba(132, 204, 22, 0.1); }
.domain-card:nth-child(3) .domain-icon-circle { color: #818cf8; background: rgba(129, 140, 248, 0.1); }
.domain-card:nth-child(4) .domain-icon-circle { color: #f472b6; background: rgba(244, 114, 182, 0.1); }
.domain-card:nth-child(5) .domain-icon-circle { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
.domain-card:nth-child(6) .domain-icon-circle { color: #34d399; background: rgba(52, 211, 153, 0.1); }

.domain-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.domain-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.domain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.domain-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
}

/* ==========================================================================
   ENGINEERING & PHILOSOPHY SECTION
   ========================================================================== */

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

@media (max-width: 900px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

.philosophy-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.philosophy-card h3 {
  font-size: 1.25rem;
  margin-block: 14px 10px;
}

.philosophy-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   FOUNDER & STUDIO SECTION
   ========================================================================== */

.founder-card {
  background: linear-gradient(135deg, rgba(19, 27, 42, 0.8) 0%, rgba(13, 18, 28, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 860px) {
  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
    gap: 32px;
  }
}

.founder-avatar-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin-inline: auto;
}

.founder-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.2);
}

.founder-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.founder-bio h3 {
  font-size: 2rem;
  margin-bottom: 6px;
}

.founder-title-line {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 18px;
}

.founder-bio p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.founder-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 860px) {
  .founder-socials {
    justify-content: center;
  }
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   WORK WITH US / FREELANCE BANNER
   ========================================================================== */

.cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, rgba(13, 18, 28, 0.8) 70%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  max-width: 720px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ==========================================================================
   PRODUCTS CATALOG PAGE (products.html)
   ========================================================================== */

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-tab-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.filter-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.filter-tab-btn.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
}

.product-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .product-catalog-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.catalog-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.catalog-card-image {
  position: relative;
  height: 260px;
  background: #090e17;
  overflow: hidden;
}

.catalog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.catalog-card:hover .catalog-card-image img {
  transform: scale(1.04);
}

.catalog-status-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(13, 18, 28, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.catalog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.catalog-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

/* ==========================================================================
   CONTACT PAGE (contact.html)
   ========================================================================== */

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-channel-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-channel-info p,
.contact-channel-info a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.contact-channel-info a:hover {
  color: var(--accent-cyan);
}

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

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

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

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

/* ==========================================================================
   LEGAL / POLICY PAGES
   ========================================================================== */

.policy-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 900px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .policy-card {
    padding: 28px 20px;
  }
}

.policy-body {
  color: var(--text-secondary);
  line-height: 1.75;
}

.policy-body h2 {
  font-size: 1.5rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: #ffffff;
}

.policy-body h3 {
  font-size: 1.2rem;
  margin-top: 24px;
  margin-bottom: 8px;
  color: #ffffff;
}

.policy-body p {
  margin-bottom: 16px;
}

.policy-body ul {
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: disc;
}

.policy-body li {
  margin-bottom: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  margin-top: auto;
  background: #05070c;
  border-top: 1px solid var(--border-subtle);
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-block: 16px 24px;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   MTC MONEY (Android app) — brand teal #2F6B5E
   ========================================================================== */

.flagship-card.money-theme {
  --card-accent: #4fa38c;
}

.flagship-card.money-theme:hover {
  box-shadow: 0 20px 60px rgba(79, 163, 140, 0.15);
}

.money-icon-box {
  background: #2f6b5e;
  box-shadow: 0 0 25px rgba(79, 163, 140, 0.35);
  overflow: hidden;
  padding: 0;
}

.money-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-money {
  background: linear-gradient(135deg, #3a8371, #2f6b5e);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(79, 163, 140, 0.35);
}

.btn-money:hover {
  background: linear-gradient(135deg, #4fa38c, #3a8371);
  box-shadow: 0 6px 28px rgba(79, 163, 140, 0.55);
  transform: translateY(-2px);
  color: #ffffff;
}

.text-gradient-money {
  background: linear-gradient(135deg, #86c3b2 0%, #4fa38c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Phone screenshot pair used in the homepage flagship card */
.phone-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  padding: 24px 0;
}

.phone-showcase img {
  width: 46%;
  max-width: 260px;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--border-medium);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-showcase img:nth-child(2) {
  transform: translateY(-28px);
}

.flagship-card:hover .phone-showcase img:nth-child(1) {
  transform: translateY(-4px);
}

.flagship-card:hover .phone-showcase img:nth-child(2) {
  transform: translateY(-32px);
}

/* Screenshot gallery on the product page */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .screenshot-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .screenshot-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.screenshot-gallery figure {
  margin: 0;
}

.screenshot-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.screenshot-gallery img:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 163, 140, 0.5);
}

.screenshot-gallery figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.money-hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-medium);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

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

@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.plan-card.featured {
  border-color: rgba(79, 163, 140, 0.5);
}

.plan-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.plan-card li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-card li i {
  color: #4fa38c;
  margin-top: 4px;
}

.plan-grid.two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .plan-grid.two {
    grid-template-columns: 1fr;
  }
}
