:root {
  --primary: #064e3b; /* deep emerald */
  --primary-2: #065f46;
  --accent: #b45309; /* rich amber */
  --accent-2: #d97706;
  --light: #f8fafc;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-300: #6ee7b7;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --emerald-950: #022c22;
  --bg: var(--light);
}

html,
body {
  height: 100%;
}

body {
  font-family: "Noto Sans Arabic", sans-serif;
  background: var(--bg);
  color: var(--slate-800);
}

.nastaliq {
  font-family: "Noto Nastaliq Urdu", serif;
  line-height: 1.8;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.text-glow {
  text-shadow: 0 0 15px rgba(180, 83, 9, 0.3);
}

/* Glass navbar */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.site-nav {
  min-height: 80px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-2);
  color: #fff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  overflow: hidden;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-size: 28px;
  font-weight: 800;
  color: #052e16;
}

.nav-items {
  padding: 8px 0;
}

.site-link {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-600);
  padding: 10px 6px;
  transition: color 220ms ease;
}

.site-link:hover {
  color: #059669;
}

.site-link.is-active {
  color: var(--emerald-700);
}

.link-underline {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #f59e0b;
  transition: width 240ms ease;
}

.site-link:hover .link-underline {
  width: 100%;
}

.site-link.is-active .link-underline {
  width: 100%;
}

.navbar-toggler-icon {
  filter: invert(0.2);
}

/* Tabs visibility */
.tab {
  /* Visibility is controlled by JS (hash routing).
     If JS fails, we prefer showing all sections over hiding everything. */
  display: block;
}

/* Hero */
.hero-gradient {
  background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-800) 100%);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.1;
}

.hero-shape-amber {
  width: 384px;
  height: 384px;
  top: -80px;
  right: -80px;
  background: #fbbf24;
}

.hero-shape-emerald {
  width: 320px;
  height: 320px;
  bottom: -80px;
  left: -80px;
  background: var(--emerald-300);
}

.hero-pill {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-title {
  margin-top: 20px;
  margin-bottom: 18px;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 56px;
    gap: 16px;
  }
}

.hero-title-accent {
  color: #fbbf24;
  font-size: 0.9em;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-title-accent {
    font-size: 0.95em;
  }
}

.hero-lead {
  font-size: 20px;
  color: #ecfdf5;
  opacity: 0.9;
  max-width: 560px;
  line-height: 1.9;
}

.hero-copy {
  text-align: right !important;
}

.hero-actions {
  align-items: flex-start;
}

@media (min-width: 576px) {
  .hero-actions {
    align-items: center;
  }
}

.btn-hero-primary {
  padding: 16px 40px;
  background: #f59e0b;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(88, 28, 0, 0.2);
  transition: transform 180ms ease, background 180ms ease;
}

.btn-hero-primary:hover {
  background: #d97706;
  transform: scale(1.05);
}

.btn-hero-primary:active {
  transform: scale(0.98);
}

.btn-hero-secondary {
  padding: 16px 40px;
  background: transparent;
  color: #ecfdf5;
  border: 2px solid rgba(110, 231, 183, 0.3);
  border-radius: 14px;
  font-weight: 800;
  font-size: 18px;
  transition: background 180ms ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ecfdf5;
}

.hero-stats {
  border-top: 1px solid rgba(52, 211, 153, 0.2);
}

.stat-number {
  font-size: 30px;
  font-weight: 900;
  color: #fbbf24;
}

.stat-label {
  font-size: 12px;
  color: #d1fae5;
}

.hero-image-group {
  position: relative;
}

.hero-image-backdrop {
  position: absolute;
  inset: 0;
  background: #052e16;
  border-radius: 24px;
  transform: rotate(3deg) scale(1.05);
  opacity: 0.2;
  transition: transform 300ms ease;
}

.hero-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.hero-image-group:hover .hero-image-backdrop {
  transform: rotate(6deg) scale(1.05);
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 700ms ease;
}

@media (min-width: 992px) {
  .hero-image {
    height: 600px;
  }
}

.hero-image-group:hover .hero-image {
  transform: scale(1.1);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 44, 34, 0.8), transparent);
}

.hero-image-caption {
  position: absolute;
  right: 32px;
  bottom: 32px;
}

.caption-kicker {
  color: #fbbf24;
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 4px;
}

.caption-title {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  margin: 0;
}

/* WhatsApp */
.wa-section {
  background: #fff;
  padding: 48px 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}

.wa-card {
  background: var(--emerald-50);
  border-radius: 32px;
  padding: 32px;
  border: 2px solid var(--emerald-100);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  transition: border-color 200ms ease;
}

@media (min-width: 768px) {
  .wa-card {
    padding: 48px;
    flex-direction: row;
  }
}

.wa-card:hover {
  border-color: #a7f3d0;
}

.wa-title {
  font-size: 32px;
  font-weight: 800;
  color: #052e16;
  margin: 0 0 12px;
}

.wa-copy {
  text-align: right !important;
}

.wa-lead {
  font-size: 18px;
  color: var(--slate-600);
  margin: 0;
  max-width: 640px;
  line-height: 1.9;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #25d366;
  color: #fff;
  padding: 18px 40px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 20px 25px rgba(34, 197, 94, 0.2);
  transition: transform 180ms ease;
}

.wa-btn:hover {
  color: #fff;
  transform: scale(1.05);
}

.wa-btn:active {
  transform: scale(0.98);
}

.wa-icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Features */
.features {
  padding: 96px 0;
  background: var(--slate-50);
}

.features-head {
  max-width: 720px;
  margin: 0 auto 64px;
}

.features-title {
  font-size: 40px;
  font-weight: 800;
  color: #052e16;
  margin-bottom: 16px;
}

.features-sub {
  font-size: 18px;
  color: var(--slate-600);
  margin: 0;
}

.feature-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: box-shadow 220ms ease;
}

.feature-card:hover {
  box-shadow: 0 20px 25px rgba(15, 23, 42, 0.12);
}

.feature-media {
  height: 256px;
  overflow: hidden;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.feature-card:hover .feature-media img {
  transform: scale(1.05);
}

.feature-body {
  padding: 32px;
}

.feature-title {
  font-size: 26px;
  font-weight: 800;
  color: #052e16;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--slate-600);
  line-height: 1.9;
  margin-bottom: 24px;
}

.feature-link {
  color: #d97706;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feature-link:hover {
  color: #b45309;
}

.feature-link-icon {
  width: 20px;
  height: 20px;
}

/* Gallery */
.gallery {
  padding: 96px 0;
  background: #fff;
}

.gallery-head {
  text-align: center;
  margin-bottom: 64px;
}

.gallery-title {
  font-size: 40px;
  font-weight: 800;
  color: #052e16;
  margin-bottom: 16px;
}

.gallery-sub {
  font-size: 18px;
  color: var(--slate-600);
  margin: 0;
}

.gallery-tile {
  position: relative;
  height: 256px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #f8fafc;
  box-shadow: 0 10px 15px rgba(15, 23, 42, 0.12);
}

@media (min-width: 768px) {
  .gallery-tile {
    height: 320px;
  }
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.gallery-tile:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 78, 59, 0.8), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-tile:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay p {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
}

/* Process */
.process {
  padding: 96px 0;
  background: var(--emerald-900);
  color: #fff;
  overflow: hidden;
}

.process-head {
  margin-bottom: 80px;
}

.process-title {
  font-size: 40px;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 16px;
}

.process-sub {
  color: #d1fae5;
  opacity: 0.8;
  max-width: 640px;
  margin: 0 auto;
}

.process-row {
  position: relative;
}

@media (min-width: 768px) {
  .process-row::before {
    display: none;
  }
}

.process-step {
  position: relative;
}

.process-icon {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(16, 185, 129, 0.3);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  transition: transform 240ms ease, background 240ms ease;
}

.process-step:hover .process-icon {
  background: #f59e0b;
  transform: scale(1.1);
}

.process-step-title {
  font-size: 20px;
  font-weight: 800;
  color: #fde68a;
  margin-bottom: 12px;
}

.process-step-desc {
  font-size: 13px;
  color: #ecfdf5;
  opacity: 0.7;
  line-height: 1.9;
  margin: 0;
}

/* Testimonials */
.testimonials {
  padding: 96px 0;
  background: var(--slate-50);
}

.testimonials-head {
  margin-bottom: 64px;
}

.testimonials-title {
  font-size: 40px;
  font-weight: 800;
  color: #052e16;
  margin-bottom: 10px;
}

.stars {
  display: inline-flex;
  gap: 4px;
  direction: rtl;
}

.stars span {
  color: #f59e0b;
  font-size: 26px;
}

.review {
  background: #fff;
  padding: 40px;
  border-radius: 32px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: box-shadow 220ms ease;
  position: relative;
}

.review:hover {
  box-shadow: 0 20px 25px rgba(15, 23, 42, 0.12);
}

.quote {
  position: absolute;
  top: -20px;
  right: 40px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--emerald-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.review-text {
  color: var(--slate-600);
  font-style: italic;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 32px;
}

.review-foot {
  border-top: 1px solid var(--slate-100);
  padding-top: 24px;
}

.review-name {
  margin: 0;
  font-weight: 800;
  color: #052e16;
  font-size: 20px;
}

.review-city {
  margin: 0;
  color: var(--slate-400);
  font-size: 12px;
}

/* FAQs */
.faqs {
  padding: 96px 0;
  background: #fff;
}

.faqs-title {
  font-size: 40px;
  font-weight: 800;
  color: #052e16;
  margin-bottom: 48px;
}

.faq-item {
  border: 1px solid #f1f5f9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-q {
  width: 100%;
  background: rgba(248, 250, 252, 0.5);
  padding: 20px 24px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: right;
  gap: 16px;
  cursor: pointer;
}

.faq-q:hover {
  background: #f8fafc;
}

.faq-arrow {
  width: 24px;
  height: 24px;
  color: var(--emerald-700);
  transition: transform 240ms ease;
  flex: 0 0 auto;
}

.faq-a {
  display: none;
  padding: 20px 24px;
  color: var(--slate-600);
  border-top: 1px solid #f1f5f9;
  animation: faqIn 160ms ease-out;
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-item.is-open .faq-arrow {
  transform: rotate(180deg);
}

/* Order */
.order {
  padding: 80px 0;
}

.order-card {
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

.order-side {
  background: var(--emerald-800);
  color: #fff;
}

.order-side-inner {
  padding: 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.order-title {
  font-size: 40px;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 24px;
}

.order-side-lead {
  color: #ecfdf5;
  opacity: 0.8;
  line-height: 1.9;
  margin-bottom: 32px;
}

.order-side-wa {
  margin-top: -14px;
  margin-bottom: 18px;
  opacity: 0.95;
}

.order-contact {
  display: grid;
  gap: 20px;
}

.order-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.order-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--emerald-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.order-contact-kicker {
  margin: 0;
  font-size: 11px;
  color: #a7f3d0;
}

.order-contact-value {
  margin: 0;
  font-weight: 800;
}

.order-contact-value[href] {
  color: #fff;
  text-decoration: none;
}

.order-contact-value[href]:hover {
  color: #fff;
  text-decoration: underline;
}

.order-side-note {
  margin-top: 48px;
  font-size: 12px;
  opacity: 0.5;
}

.order-main-inner {
  padding: 48px;
}

.form-soft {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
}

.form-soft:focus {
  border-color: transparent;
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25);
}

.btn-order-submit {
  width: 100%;
  background: #f59e0b;
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 900;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(88, 28, 0, 0.15);
}

.btn-order-submit:hover {
  background: #d97706;
  color: #fff;
}

.order-hint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--slate-600);
}

.order-hint a {
  color: var(--emerald-700);
  font-weight: 900;
  text-decoration: underline;
  margin-right: 6px;
}

.terms-ack {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}

.terms-ack .form-check-label {
  color: var(--slate-600);
  line-height: 1.9;
}

.terms-link {
  color: var(--emerald-800);
  font-weight: 900;
  text-decoration: underline;
}

.terms-note-line {
  margin-top: 8px;
  font-size: 12px;
  color: var(--slate-600);
}

.btn-order-icon {
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
}

.order-success {
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  animation: popIn 180ms ease-out;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 10px;
}

.success-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--slate-800);
  margin: 0;
}

.success-sub {
  margin: 0;
  color: var(--slate-600);
}

.success-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
}

.success-wa {
  background: #25d366;
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 900;
}

.success-wa:hover {
  background: #1fb95a;
  color: #fff;
}

.success-reset {
  background: transparent;
  border: 0;
  color: #059669;
  font-weight: 900;
  text-decoration: underline;
}

/* Floating WhatsApp widget */
.ai {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 1050;
}

.ai-fab {
  background: var(--emerald-900);
  color: #fff;
  border: 2px solid rgba(245, 158, 11, 0.5);
  padding: 18px 20px;
  border-radius: 999px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 180ms ease;
}

.ai-fab:hover {
  transform: scale(1.08);
}

.ai-fab:active {
  transform: scale(0.96);
}

.ai-fab-text {
  font-weight: 900;
  font-size: 18px;
}

.ai-fab-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ai-ping {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #f59e0b;
  animation: ping 1.1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.ai-panel {
  width: 320px;
  height: 550px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--emerald-100);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  animation: slideUp 240ms ease-out;
}

@media (min-width: 768px) {
  .ai-panel {
    width: 400px;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-head {
  background: var(--emerald-900);
  padding: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-badge {
  width: 40px;
  height: 40px;
  background: #f59e0b;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.ai-head-title {
  margin: 0;
  font-weight: 900;
}

.ai-head-sub {
  margin: 0;
  font-size: 10px;
  opacity: 0.6;
}

.ai-close {
  background: transparent;
  border: 0;
  color: #fff;
  transition: color 180ms ease;
}

.ai-close:hover {
  color: #fbbf24;
}

.ai-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ai-row {
  display: flex;
}

.ai-row.user {
  justify-content: flex-end;
}

.ai-row.model {
  justify-content: flex-start;
}

.ai-bubble {
  max-width: 85%;
  padding: 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.8;
}

.ai-bubble.user {
  background: var(--emerald-700);
  color: #fff;
  border-top-right-radius: 0;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.ai-bubble.model {
  background: #fff;
  color: var(--slate-800);
  border: 1px solid var(--slate-200);
  border-top-left-radius: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.ai-typing {
  padding: 0 20px 10px;
  background: #f8fafc;
  font-size: 12px;
  color: var(--slate-400);
}

.ai-input {
  padding: 20px;
  background: #fff;
  border-top: 1px solid var(--slate-100);
  display: flex;
  gap: 12px;
}

.ai-text {
  flex: 1;
  padding: 14px 18px;
  background: #f1f5f9;
  border: 0;
  border-radius: 16px;
  outline: none;
  font-size: 14px;
}

.ai-text:focus {
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25);
}

.ai-send {
  width: 48px;
  height: 48px;
  background: var(--emerald-800);
  color: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: background 180ms ease;
}

.ai-send:hover {
  background: var(--emerald-950);
}

.ai-send-icon {
  transform: rotate(180deg);
}

/* Footer */
.footer {
  background: #0b1121;
  color: #fff;
  padding: 80px 0 40px;
}

.footer-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-2);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  overflow: hidden;
}

.footer-brand {
  color: #f59e0b;
  font-size: 32px;
  font-weight: 900;
}

.footer-lead {
  color: var(--slate-400);
  font-size: 18px;
  line-height: 1.9;
  max-width: 560px;
  margin: 0;
}

.footer-h {
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  color: var(--slate-400);
}

.footer-links a {
  color: var(--slate-400);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: #f59e0b;
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--slate-400);
  font-size: 14px;
  text-align: right;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

.footer-meta {
  display: inline-flex;
  gap: 24px;
}

.footer-meta a {
  color: var(--slate-400);
  text-decoration: none;
}

.footer-meta a:hover {
  color: #fff;
}

/* Terms page */
.terms-page {
  padding: 96px 0;
  background: var(--slate-50);
}

.terms-card {
  background: #fff;
  border-radius: 40px;
  border: 1px solid var(--slate-200);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.terms-inner {
  padding: 48px;
}

.terms-title {
  font-size: 56px;
  font-weight: 900;
  color: #052e16;
  margin: 0 0 10px;
}

.terms-sub {
  margin: 0;
  color: var(--slate-600);
  line-height: 2;
  max-width: 900px;
}

.terms-block {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--slate-100);
}

.terms-h {
  font-size: 26px;
  font-weight: 900;
  color: var(--slate-800);
  margin: 0 0 12px;
}

.terms-list {
  margin: 0;
  padding-right: 18px;
  display: grid;
  gap: 10px;
  color: var(--slate-600);
  line-height: 2;
}

.terms-note {
  margin-top: 28px;
  padding: 14px 16px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: 16px;
  color: var(--slate-600);
}

@media (max-width: 575.98px) {
  .terms-inner {
    padding: 24px;
  }
  .terms-title {
    font-size: 40px;
  }
}

/* Small tweaks */
@media (max-width: 575.98px) {
  .ai {
    left: 16px;
    bottom: 16px;
  }
  .ai-panel {
    width: calc(100vw - 32px);
    max-width: 400px;
  }
}
