/* =============================================
   ARMENDA — AI-Powered Communication
   Dark theme with warm amber/orange accents
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0b;
  --bg-secondary: #111114;
  --bg-card: #16161a;
  --bg-card-hover: #1c1c21;
  --border: #222228;
  --border-light: #2a2a32;
  
  --text-primary: #f0f0f2;
  --text-secondary: #a0a0a8;
  --text-muted: #6a6a74;
  
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --accent-glow-strong: rgba(245, 158, 11, 0.3);
  
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(249, 115, 22, 0.05) 100%);
  
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);
  
  --max-width: 1200px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar.scrolled {
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-icon-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.logo-wordmark {
  height: 24px;
  width: auto;
  margin-left: 8px;
}

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

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

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

.nav-cta {
  font-size: 0.9rem !important;
  padding: 0.55rem 1.25rem !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  padding: 0.75rem 1.75rem;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

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

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow-strong);
}

.btn-outline {
  background: rgba(245, 158, 11, 0.04);
  color: #d8c8ad;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.12);
  transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow-strong) 0%, var(--accent-glow) 30%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: orb-pulse 6s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
}

@keyframes orb-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--accent-glow);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.hero-logo {
  margin-bottom: 1.5rem;
}

.hero-logo-img {
  max-width: 500px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.3));
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title-soft {
  color: #e6c88f;
  text-shadow: 0 0 28px rgba(245, 158, 11, 0.18);
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* --- Sections --- */
section {
  padding: 6rem 2rem;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: var(--accent-glow);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- How It Works --- */
.how-it-works {
  background: var(--bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
}

.step-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.step-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.step-expand-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover .step-expand-hint {
  opacity: 1;
}

.step-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), margin 0.3s ease, padding 0.3s ease;
  margin-top: 0;
  padding-top: 0;
  border-top: 0px solid transparent;
}

.step-card.expanded .step-detail {
  max-height: 600px;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.step-detail h4 {
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 0.35rem;
  margin-top: 1rem;
}

.step-detail h4:first-child {
  margin-top: 0;
}

.step-detail p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.step-card {
  cursor: pointer;
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  cursor: pointer;
}

.service-expand-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-expand-hint {
  opacity: 1;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card > p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* --- Service Deep Dives --- */
.service-deep-dives {
  padding: 0 0 5rem;
}

.deep-dive {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.deep-dive:last-child {
  border-bottom: none;
}

.deep-dive-content {
  max-width: 900px;
  margin: 0 auto;
}

.deep-dive-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  background: rgba(245, 158, 11, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.deep-dive h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.deep-dive-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 700px;
}

.deep-dive-scenario {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.deep-dive-scenario h4 {
  font-size: 0.9rem;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.deep-dive-scenario p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.deep-dive-scenario em {
  color: var(--text-primary);
  font-style: italic;
}

.deep-dive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.deep-dive-col h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.deep-dive-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.deep-dive-col li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.deep-dive-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 700px) {
  .deep-dive-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .deep-dive h2 {
    font-size: 1.5rem;
  }
  .deep-dive-lead {
    font-size: 1rem;
  }
}

/* --- Why Us --- */
.why-us {
  background: var(--bg-secondary);
}

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

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.benefit-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.benefit-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

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

.stats-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
}

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

.stat-big {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

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

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.testimonial-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0a0a0b;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Pricing --- */
.pricing {
  background: var(--bg-secondary);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, var(--bg-card) 30%);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: scale(1.03);
  overflow: visible;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-2px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #0a0a0b;
  padding: 0.35rem 1.25rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.4);
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-header h3 {
  margin-bottom: 0.5rem;
}

.pricing-header p {
  font-size: 0.85rem;
}

.pricing-price {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

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

.custom-text {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-features {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Pricing Section Labels --- */
.pricing-section-label {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: 3.5rem;
  margin-bottom: 0.25rem;
}

.pricing-section-label:first-of-type {
  margin-top: 0;
}

.pricing-section-desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* --- 2-Column Pricing Grid --- */
.pricing-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .pricing-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* --- Service Pricing Cards --- */
.service-card-pricing {
  text-align: center;
}

.service-card-pricing .pricing-header p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.pricing-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -0.75rem;
  margin-bottom: 1.25rem;
}

/* --- DIY Tools Grid --- */
.diy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.diy-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
}

.diy-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 15px var(--accent-glow);
  transform: translateY(-1px);
}

.diy-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.diy-card h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.diy-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.diy-badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(245, 158, 11, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  white-space: nowrap;
}

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

/* --- FAQ --- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
}

.faq-toggle {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Contact --- */
.contact {
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-orb {
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-content h2 {
  margin-bottom: 1rem;
}

.contact-content > p {
  margin-bottom: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236a6a74' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

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

.contact-form button {
  margin-top: 0.5rem;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-2px);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nav-cta {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-bar {
    flex-direction: column;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stat-divider {
    width: 60px;
    height: 1px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  section {
    padding: 4rem 1.25rem;
  }
}

/* --- Animations --- */
/* =============================================
   Card Animations & Visual Polish
   ============================================= */

/* --- Shared Card Base --- */
.step-card, .service-card, .benefit-card, .testimonial-card, .pricing-card {
  position: relative;
  overflow: hidden;
}

/* Featured pricing card needs visible overflow for badge */
.pricing-card.featured {
  overflow: visible;
}

/* Subtle inner glow line at top of each card */
.step-card::before,
.service-card::before,
.benefit-card::before,
.testimonial-card::before,
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 1px;
  background: var(--gradient-accent);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.step-card:hover::before,
.service-card:hover::before,
.benefit-card:hover::before,
.testimonial-card:hover::before,
.pricing-card:hover::before {
  width: 80%;
}

/* Corner glow on hover */
.step-card::after,
.service-card::after,
.benefit-card::after,
.testimonial-card::after,
.pricing-card::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle at top right, var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.step-card:hover::after,
.service-card:hover::after,
.benefit-card:hover::after,
.testimonial-card:hover::after,
.pricing-card:hover::after {
  opacity: 1;
}

/* --- Entrance Animations --- */
@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes borderPulse {
  0%, 100% { border-color: var(--border); }
  50% { border-color: rgba(245, 158, 11, 0.25); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0px var(--accent-glow); }
  50% { box-shadow: 0 0 20px var(--accent-glow); }
}

/* Staggered card reveal */
.step-card, .service-card, .benefit-card, .testimonial-card, .pricing-card {
  animation: cardReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.step-card:nth-child(1) { animation-delay: 0.05s; }
.step-card:nth-child(2) { animation-delay: 0.15s; }
.step-card:nth-child(3) { animation-delay: 0.25s; }
.step-card:nth-child(4) { animation-delay: 0.35s; }

.service-card:nth-child(1) { animation-delay: 0.05s; }
.service-card:nth-child(2) { animation-delay: 0.12s; }
.service-card:nth-child(3) { animation-delay: 0.19s; }
.service-card:nth-child(4) { animation-delay: 0.12s; }
.service-card:nth-child(5) { animation-delay: 0.19s; }
.service-card:nth-child(6) { animation-delay: 0.26s; }

.benefit-card:nth-child(1) { animation-delay: 0.05s; }
.benefit-card:nth-child(2) { animation-delay: 0.12s; }
.benefit-card:nth-child(3) { animation-delay: 0.19s; }
.benefit-card:nth-child(4) { animation-delay: 0.12s; }
.benefit-card:nth-child(5) { animation-delay: 0.19s; }
.benefit-card:nth-child(6) { animation-delay: 0.26s; }

.testimonial-card:nth-child(1) { animation-delay: 0.05s; }
.testimonial-card:nth-child(2) { animation-delay: 0.15s; }
.testimonial-card:nth-child(3) { animation-delay: 0.25s; }

.pricing-card:nth-child(1) { animation-delay: 0.05s; }
.pricing-card:nth-child(2) { animation-delay: 0.15s; }
.pricing-card:nth-child(3) { animation-delay: 0.25s; }

/* --- Enhanced Hover States --- */

/* Service cards get the strongest glow */
.service-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow), 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

/* Step cards get a subtle amber border pulse */
.step-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 25px var(--accent-glow), 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(-3px);
}

.step-card:hover .step-number {
  color: var(--accent-light);
  text-shadow: 0 0 10px var(--accent-glow-strong);
}

/* Benefit cards */
.benefit-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.benefit-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 25px var(--accent-glow), 0 6px 20px rgba(0,0,0,0.3);
  transform: translateY(-3px);
}

/* Testimonial cards */
.testimonial-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 20px var(--accent-glow), 0 4px 16px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

/* Pricing cards */
.pricing-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 30px var(--accent-glow), 0 8px 28px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

.pricing-card.featured {
  animation: glowPulse 3s ease-in-out infinite;
}

.pricing-card.featured:hover {
  box-shadow: 0 0 50px var(--accent-glow-strong), 0 12px 36px rgba(0,0,0,0.5);
  transform: translateY(-6px);
}

/* --- FAQ Items --- */
.faq-item {
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.03);
}

/* --- Stats Bar --- */
.stat-item {
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-item:hover .stat-big {
  text-shadow: 0 0 20px var(--accent-glow-strong);
}

.stat-big {
  transition: text-shadow 0.3s ease;
}

/* --- Section Headers --- */
.section-header {
  animation: cardReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* --- Service Icons --- */
.service-icon, .benefit-icon, .step-icon {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.service-card:hover .service-icon,
.benefit-card:hover .benefit-icon,
.step-card:hover .step-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px var(--accent-glow-strong));
}

/* --- Feature list items --- */
.service-features li {
  transition: transform 0.2s ease, color 0.2s ease;
}

.service-card:hover .service-features li {
  color: var(--text-primary);
}

/* --- Scroll-triggered reveal (uses Intersection Observer via JS) --- */
/* Applied by JS for below-fold elements; above-fold uses CSS animation */
.card-reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  filter: blur(4px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
