@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
/* 
═══════════════════════════════════════════════════════════════════
NEGOTIORUM DESIGN SYSTEM 2.0: EXECUTIVE FUTURE
═══════════════════════════════════════════════════════════════════
Author: Antigravity Agent
Theme: High-End Fintech x Cyberpunk AI
*/

 :root {
  /* ─── CORE PALETTE ───────────────────────────────────────────── */
  --bg-deep: #0f1115;
  /* Deep graphite */
  --bg-dark: #141823;
  /* Dark panel */
  --bg-secondary: #181d2a;
  /* Section contrast */
  --bg-surface: rgba(20, 24, 35, 0.92);
  /* Translucent surface */
  --bg-card: rgba(23, 28, 40, 0.9);

  /* ─── LIGHT THEME COLORS ─────────────────────────────────────── */
  --pure-white: #ffffff;
  --charcoal: #e6e8ec;
  --subtle-gray: #1c2230;
  --light-gray: rgba(148, 163, 184, 0.18);
  --steel-blue: #8bb7ff;

  /* ─── ACCENTS ────────────────────────────────────────────────── */
  --gold: #7aa2ff;
  --bronze: #7aa2ff;
  --gold-glow: rgba(122, 162, 255, 0.35);
  --violet: #9b8cff;
  --violet-glow: rgba(155, 140, 255, 0.35);
  --success: #22c55e;
  --danger: #ef4444;

  /* ─── TEXT COLORS ────────────────────────────────────────────── */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --navy-dark: #0f1115;

  /* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* ─── GLASSMORPHISM ENGINE ───────────────────────────────────── */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  --backdrop-blur: blur(16px);
  --neon-border: 1px solid rgba(255, 255, 255, 0.15);

  /* ─── SPACING & RADIUS ───────────────────────────────────────── */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3.5rem;
  --spacing-xl: 6rem;
  --spacing-2xl: 7rem;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  /* ─── SHADOWS & TRANSITIONS ─────────────────────────────────── */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.25);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.35);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.4);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.5);
  --transition-base: 0.3s ease;

  /* ─── GRADIENTS ─────────────────────────────────────────────── */
  --gradient-primary: linear-gradient(135deg, rgba(20, 24, 35, 0.9) 0%, rgba(16, 20, 30, 0.95) 100%);
  --gradient-gold: linear-gradient(135deg, #7aa2ff 0%, #9b8cff 100%);
}

/* ─── RESET & BASE ─────────────────────────────────────────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #bcd0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── UTILITY CLASSES: GLASSMORPHISM ───────────────────────────── */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
}

.glass-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

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

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ─── COMPONENTS: BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  border: none;
  line-height: 1.2;
  min-height: 44px;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #5f86e8 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(90, 120, 220, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(90, 120, 220, 0.35);
}

.btn-violet {
  background: linear-gradient(135deg, var(--violet) 0%, #5b21b6 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ─── LAYOUT: GRID SYSTEM ──────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

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

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

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

@media (max-width: 1024px) {

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

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ─── SECTIONS: HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(2, 6, 23, 0.95));
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
  z-index: 0;
}

.hero-bg-image.active {
  opacity: 0.4;
}

/* Darkened for legibility */

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── COMPONENT: NAVBAR ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-links a {
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--pure-white);
}

.nav-cta {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: white;
}

.logo-accent {
  color: var(--gold);
}

/* ─── ANIMATIONS ───────────────────────────────────────────────── */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(184, 134, 11, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(184, 134, 11, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(184, 134, 11, 0);
  }
}

.pulse-glow {
  animation: pulse-glow 2s infinite;
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.slide-up {
  animation: slideUp 0.6s ease forwards;
}

/* ─── SECTIONS ─────────────────────────────────────────────────── */
.section {
  padding: clamp(3rem, 6vw, var(--spacing-2xl)) 0;
}

.section-sm {
  padding: var(--spacing-lg) 0;
}

/* ─── CARDS ────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, var(--spacing-md));
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-primary);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card {
  height: 100%;
}

/* ─── BUTTON VARIANTS ──────────────────────────────────────────── */
.btn-secondary {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(226, 232, 240, 0.12);
  color: var(--pure-white);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(122, 162, 255, 0.6);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--bronze);
  color: var(--pure-white);
}

/* ─── FORMS ────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

.form-textarea {
  width: 100%;
  min-height: 140px;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

/* ─── MATERIAL WEB OVERRIDES ───────────────────────────────────── */
md-filled-button,
md-outlined-button,
md-text-button {
  --md-sys-color-primary: var(--gold);
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-outline: rgba(122, 162, 255, 0.5);
  --md-filled-button-container-height: 44px;
  --md-outlined-button-container-height: 44px;
  --md-text-button-container-height: 44px;
  display: inline-flex;
  max-width: 100%;
  margin-top: 0.5rem;
}

md-filled-button::part(button),
md-outlined-button::part(button),
md-text-button::part(button) {
  padding: 0.65rem 1.4rem;
  min-height: 44px;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}

md-outlined-text-field,
md-filled-text-field {
  --md-sys-color-primary: var(--gold);
  --md-sys-color-on-surface: var(--text-primary);
  --md-sys-color-surface: var(--bg-card);
  --md-sys-color-outline: rgba(148, 163, 184, 0.35);
  --md-sys-color-on-surface-variant: var(--text-muted);
  width: 100%;
}

md-outlined-select {
  --md-sys-color-primary: var(--gold);
  --md-sys-color-on-surface: var(--text-primary);
  --md-sys-color-surface: var(--bg-card);
  --md-sys-color-outline: rgba(148, 163, 184, 0.35);
  --md-sys-color-on-surface-variant: var(--text-muted);
  width: 100%;
}

/* ─── UTILITY CLASSES ─────────────────────────────────────────── */
.text-center {
  text-align: center;
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.accent-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--bronze), var(--steel-blue));
  margin: var(--spacing-sm) auto;
  border-radius: 2px;
}

.glow-line {
  position: relative;
  display: inline-block;
}

.glow-line::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  margin: 0.75rem auto 0;
  background: var(--gradient-gold);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
  border-radius: 999px;
}

/* ─── FOOTER ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-secondary);
  padding: var(--spacing-2xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: var(--spacing-xl);
}

.footer-grid h5 {
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
}

.footer-grid a {
  color: var(--text-secondary);
}

.footer-grid a:hover {
  color: var(--pure-white);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ─── MOBILE MENU ──────────────────────────────────────────────── */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

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

  .hero-cta {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .nav-links a {
    width: 100%;
  }

  .nav-links .nav-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ─── HERO CTA ─────────────────────────────────────────────────── */
.hero-cta {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn,
.hero-cta md-filled-button,
.hero-cta md-outlined-button {
  flex: 1 1 auto;
  min-width: 200px;
}

@media (max-width: 480px) {
  .btn,
  md-filled-button,
  md-outlined-button,
  md-text-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}