/* ===== Direct Axess - Complete Real Estate Technology ===== */
/* Design: Modern, authoritative, conversion-focused */

:root {
  /* Colors - Direct Axess Brand: Black & Red */
  --color-bg: #0a0a0a;
  --color-bg-elevated: #111111;
  --color-bg-card: #1a1a1a;
  --color-surface: #1f1f1f;
  --color-text: #f5f5f5;
  --color-text-muted: #a3a3a3;
  --color-accent: #dc2626;
  --color-accent-hover: #ef4444;
  --color-accent-muted: rgba(220, 38, 38, 0.15);
  --color-amber: #dc2626;
  --color-amber-muted: rgba(220, 38, 38, 0.15);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-success: #22c55e;
  
  /* Typography */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  
  /* Spacing */
  --container-max: 1200px;
  --section-padding: clamp(4rem, 10vw, 6rem);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ===== Header & Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.logo {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text);
}

.logo-name {
  line-height: 1.2;
}

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

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
  line-height: 1.2;
}

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

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

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

.nav-phone {
  color: var(--color-accent) !important;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.75) 50%, var(--color-bg) 100%);
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(220, 38, 38, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(220, 38, 38, 0.06), transparent);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300px;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(220, 38, 38, 0.35);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--color-accent);
  position: relative;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-products {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-product-pill {
  padding: 0.5rem 1rem;
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.hero-product-pill:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--color-accent-muted);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-surface);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

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

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* ===== Products ===== */
.products {
  padding: var(--section-padding) 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: all var(--transition);
}

.product-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.product-card .product-badge,
.product-card .product-icon,
.product-card h3,
.product-card .product-tagline,
.product-card > p,
.product-card .product-features,
.product-card .product-link {
  padding-left: 2rem;
  padding-right: 2rem;
}

.product-card .product-badge {
  top: 1rem;
  right: 1rem;
}

.product-card .product-icon {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.product-card .product-link {
  display: inline-block;
  margin: 0 2rem 2rem;
}

.product-card:hover {
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-featured {
  border-color: rgba(220, 38, 38, 0.3);
  background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(220, 38, 38, 0.05) 100%);
}

.product-coming {
  opacity: 0.9;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background: #ffffff;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--color-accent);
  z-index: 2;
}

.product-badge.coming {
  background: var(--color-amber);
  color: #ffffff;
}

.product-icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.product-icon svg {
  width: 100%;
  height: 100%;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.product-tagline {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.product-card > p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.product-features {
  list-style: none;
  margin-bottom: 1.25rem;
}

.product-features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: gap var(--transition);
}

.product-link:hover {
  gap: 0.5rem;
}

/* ===== Problem / Solution ===== */
.problem-solution {
  padding: var(--section-padding) 0;
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.ps-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.ps-problem {
  background: rgba(220, 38, 38, 0.05);
  border-color: rgba(220, 38, 38, 0.2);
}

.ps-solution {
  background: var(--color-bg-card);
  border-color: rgba(220, 38, 38, 0.3);
}

.ps-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.ps-problem h3 {
  color: var(--color-text-muted);
}

.ps-solution h3 {
  color: var(--color-accent);
}

.ps-card ul {
  list-style: none;
  padding: 0;
}

.ps-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.ps-problem li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: rgba(220, 38, 38, 0.8);
  font-weight: 700;
}

.ps-solution li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.ps-solution li strong {
  color: var(--color-text);
}

/* ===== Roles Section ===== */
.roles-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-elevated);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.role-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: all var(--transition);
}

.role-image {
  height: 140px;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.role-card .role-icon,
.role-card h4,
.role-card p,
.role-card .role-link {
  padding-left: 2rem;
  padding-right: 2rem;
}

.role-card .role-icon {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}

.role-card h4 {
  margin-top: 0.5rem;
}

.role-card p {
  margin-bottom: 1rem;
}

.role-card .role-link {
  display: inline-block;
  padding-bottom: 2rem;
}

.role-card:hover {
  border-color: rgba(220, 38, 38, 0.3);
}

.role-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.role-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

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

.role-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity var(--transition);
}

.role-link:hover {
  opacity: 0.9;
}

/* ===== FAQ Section ===== */
.faq-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-elevated);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  line-height: 1.4;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ===== Why Us ===== */
.why-us {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--color-bg-elevated);
}

.why-us-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 280px;
  overflow: hidden;
}

.why-us-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.why-us-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--color-bg-elevated) 0%, transparent 60%, var(--color-bg-elevated) 100%);
}

.why-us .container {
  position: relative;
  z-index: 1;
}

.why-us .section-header {
  max-width: 720px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.why-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.why-card:hover {
  border-color: rgba(220, 38, 38, 0.3);
}

.why-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--color-accent);
  background: var(--color-accent-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.comparison-cta {
  text-align: center;
  padding: 2rem;
  background: var(--color-accent-muted);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--radius-lg);
}

.comparison-cta p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.comparison-cta .btn {
  margin-top: 0.5rem;
}

/* ===== Testimonials ===== */
.testimonials {
  padding: var(--section-padding) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  font-size: 3rem;
  font-family: Georgia, serif;
  color: var(--color-accent);
  opacity: 0.4;
}

.testimonial p {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial cite {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: normal;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(220, 38, 38, 0.06) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.cta-content p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Contact ===== */
.contact {
  padding: var(--section-padding) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-item:hover {
  color: var(--color-accent);
}

.contact-icon {
  font-size: 1.25rem;
}

.contact-social {
  display: flex;
  gap: 1rem;
}

.contact-social a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}

.contact-social a:hover {
  color: var(--color-accent);
}

/* Contact Form */
.contact-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

/* Honeypot - hidden from users */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.turnstile-container {
  min-height: 65px;
}

/* Form Success State */
.contact-form.success .form-group {
  display: none;
}

.contact-form.success .btn {
  display: none;
}

.contact-form .success-message {
  display: none;
  padding: 1.5rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-success);
  font-weight: 500;
}

.contact-form.success .success-message {
  display: block;
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-content .logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}

.footer-content .logo-tagline {
  font-size: 0.75rem;
}

.footer-tagline {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ps-grid {
    grid-template-columns: 1fr;
  }
  
  .roles-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--color-bg-elevated);
    flex-direction: column;
    padding: 2rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  
  .hero {
    padding: 5rem 0 3rem;
    min-height: auto;
    padding-top: max(5rem, 20vh);
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .product-card .product-icon,
  .product-card h3,
  .product-card .product-tagline,
  .product-card > p,
  .product-card .product-features,
  .product-card .product-link {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .product-card .product-link {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
  
  .role-card .role-icon,
  .role-card h4,
  .role-card p,
  .role-card .role-link {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .role-card .role-link {
    padding-bottom: 1.5rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-featured {
    order: -1;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .roles-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .why-card {
    padding: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial {
    padding: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-grid {
    gap: 2rem;
  }
  
  .comparison-cta {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  
  .hero {
    padding-top: max(4rem, 15vh);
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .product-tagline {
    font-size: 0.85rem;
  }
  
  .contact-info h2 {
    font-size: 1.5rem;
  }
  
  .footer {
    padding: 2rem 0;
  }
}

/* Large phones in portrait / very small tablets */
@media (min-width: 481px) and (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}
