:root {
  /* Colors */
  --bg-main: #f8fafc; /* Soft slate background */
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  --border-color: #e2e8f0;
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  
  --accent: #0ea5e9;
  
  --green: #10b981;
  --red: #ef4444;
  --yellow: #f59e0b;

  /* Typography */
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.025);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Elegant Background Mesh Gradient */
body {
  position: relative;
  background-image: 
    radial-gradient(at 0% 0%, hsla(217, 100%, 90%, 1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, hsla(189, 100%, 90%, 1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, hsla(152, 100%, 92%, 1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(217, 100%, 93%, 1) 0px, transparent 50%);
  background-attachment: fixed;
}

.grid-background {
  display: none;
}

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

/* Typography Re-styling */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-main);
}

h1 { 
  font-size: clamp(3rem, 6vw, 4.5rem); 
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 { 
  font-size: clamp(2rem, 4vw, 2.75rem); 
  margin-bottom: var(--space-md); 
}

h3 { 
  font-size: 1.35rem; 
  margin-bottom: var(--space-xs); 
}

p { 
  color: var(--text-muted); 
  font-size: 1.1rem; 
  margin-bottom: var(--space-sm);
}

.mono-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Utilities */
.text-green { color: var(--green); }
.mt-4 { margin-top: var(--space-md); }
.w-full { width: 100%; }
.border-top { border-top: 1px solid var(--border-color); }
.bg-darker { background-color: rgba(255, 255, 255, 0.4); }

/* Glassmorphism Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 75px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 100;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand svg rect, .brand svg path {
  stroke: var(--primary);
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  background: rgba(255,255,255,0.5);
  padding: 8px 24px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
}

/* Hero Section */
.hero {
  padding: 220px 0 var(--space-xl) 0;
  text-align: center;
}

.hero-label {
  color: var(--primary);
  background: var(--primary-light);
  margin-bottom: var(--space-md);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 600;
}

.hero-subtitle {
  max-width: 700px;
  margin: 0 auto var(--space-lg) auto;
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.arrow {
  margin-left: 8px;
  transition: transform 0.2s;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* Hero Metrics */
.metrics-row {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  padding-top: var(--space-xl);
}

.metric {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-md);
  flex: 1;
  max-width: 300px;
  transition: transform 0.3s ease;
}

.metric:hover {
  transform: translateY(-5px);
}

.metric-value {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-value span {
  font-size: 1.5rem;
  color: var(--text-light);
}

.metric-label {
  color: var(--text-muted);
}

/* General Sections */
.section {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl) auto;
}

.mono-tag {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

/* Card Visuals (Licensing) */
.offer-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.terminal {
  background: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.terminal-header {
  background: #1e293b;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--green); }

.terminal-body {
  padding: var(--space-md);
  color: #94a3b8;
  line-height: 1.8;
  font-size: 0.9rem;
}

/* Bento Layout */
.bento-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(280px, auto);
  gap: var(--space-md);
}

.bento-box {
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.bento-box.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
}

.box-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.highlight {
  color: var(--primary);
  margin-bottom: var(--space-md);
  display: inline-block;
  background: white;
  padding: 4px 12px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.icon {
  color: var(--primary);
  margin-bottom: var(--space-md);
  width: 32px;
  height: 32px;
}

/* Grid 3 Layout (Security) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card {
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.card-icon {
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

/* Contact Section */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.contact-info h2 {
  margin-bottom: var(--space-sm);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.method {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.method .label {
  color: var(--text-light);
  width: 60px;
  margin-top: 4px;
}

.method a, .method span {
  color: var(--text-main);
  font-size: 1.1rem;
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
}

.method a:hover {
  color: var(--primary);
}

/* Forms */
.tech-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Footer */
.footer {
  padding: var(--space-lg) 0;
  background: white;
}

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

.footer-details {
  display: flex;
  gap: var(--space-md);
}

.footer-details a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-details a:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
  .offer-card, .bento-layout, .grid-3, .contact-layout {
    grid-template-columns: 1fr;
  }
  .metrics-row {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  .metric {
    width: 100%;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding: 160px 0 var(--space-lg) 0;
  }
}
