/* LINEAL TECHNOLOGIES — EXECUTIVE B2B DESIGN SYSTEM */
:root {
  --font-heading: 'Outfit', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  --brand: #005D9C;
  --brand-light: #007ACC;
  --brand-dark: #003B66;
  --accent: #00C8FF;
  --accent-hover: #33D6FF;
  
  --bg-primary: #0A192F;
  --bg-secondary: #112240;
  --bg-card: rgba(23, 42, 69, 0.75);
  --bg-card-border: rgba(100, 255, 218, 0.12);
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --success: #10B981;
  --error: #EF4444;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Header & Brand Prominence */
header {
  background: rgba(10, 25, 47, 0.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-link img {
  height: 58px;
  width: auto;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.logo-link:hover img {
  transform: scale(1.02);
  border-color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}
nav a:hover { color: var(--accent); }

nav a.nav-cta {
  padding: 0.5rem 1.25rem;
  background: rgba(0, 200, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
}
nav a.nav-cta:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Hero Section */
.hero {
  max-width: 1100px;
  margin: 4.5rem auto 3rem auto;
  padding: 0 2rem;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.badge-preview {
  display: inline-block;
  background: rgba(0, 200, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 200, 255, 0.25);
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.btn-primary-hero {
  padding: 0.9rem 2.25rem;
  background: var(--brand);
  color: #FFFFFF;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 93, 156, 0.4);
}
.btn-primary-hero:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
}
.btn-secondary-hero {
  padding: 0.9rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.2s ease;
}
.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

/* Sections */
.section-title {
  text-align: center;
  margin-top: 5rem;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--text-primary);
}
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.grid-3 {
  max-width: 1200px;
  margin: 2rem auto 4rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.grid-2 {
  max-width: 1200px;
  margin: 2rem auto 4rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}
.card p { color: var(--text-secondary); font-size: 0.98rem; margin-bottom: 1.5rem; line-height: 1.6; }

.btn-card-action {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 200, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.2s ease;
  align-self: start;
}
.btn-card-action:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Differentiation Section */
.differentiation-section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}
.differentiation-content {
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 200, 255, 0.15);
  border-radius: 12px;
  padding: 2.5rem 3rem;
  text-align: center;
}
.differentiation-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.differentiation-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Form Section */
.section-form {
  max-width: 720px;
  margin: 5rem auto;
  padding: 3rem 2.5rem;
  background: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.section-form h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-form p.sub {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-secondary); font-size: 0.95rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 200, 255, 0.2);
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--brand);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-top: 1.5rem;
}
.btn-primary:hover { background: var(--brand-light); }

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
footer a { color: var(--text-secondary); text-decoration: none; margin: 0 1rem; }
footer a:hover { color: var(--accent); }

/* Responsive Adjustments */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.6rem; }
  .header-container { flex-direction: column; gap: 1rem; text-align: center; }
  nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  .hero { margin-top: 2.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; padding: 0 1rem; }
  .differentiation-content { padding: 1.75rem 1.25rem; }
  .section-form { padding: 2rem 1.25rem; margin: 3rem 1rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary-hero, .btn-secondary-hero { width: 100%; text-align: center; }
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
