:root {
  --teal-900: #0a3d3d;
  --teal-800: #0d4f4f;
  --teal-700: #126666;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --cream: #f7f5f0;
  --text: #1a2e2e;
  --muted: #5a6e6e;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(10, 61, 61, 0.12);
  --shadow-lg: 0 12px 40px rgba(10, 61, 61, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-800);
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 79, 79, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.logo-link img {
  height: 52px;
  width: auto;
}

.logo-frame--footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(160deg, #ffffff 0%, #f5f7f7 45%, #e8eded 100%);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-frame--footer img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--teal-800);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-700);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(13, 79, 79, 0.15);
}

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

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal-800);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(13, 79, 79, 0.08);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--text);
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--teal-900);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--teal-800);
  border: 2px solid var(--teal-800);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(160deg, var(--teal-900) 0%, var(--teal-800) 45%, #0f6060 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.05rem;
  opacity: 0.92;
  margin: 0 0 1.5rem;
  max-width: 32rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 1.75rem;
}

.hero-tags span::before {
  content: '•';
  margin-right: 0.5rem;
  color: var(--gold);
}

.hero-tags span:first-child::before {
  content: none;
  margin: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 900px) {
  .hero {
    padding: 4rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

/* Trust strip */
.trust-strip {
  background: var(--white);
  padding: 1.75rem 0 1.5rem;
  border-top: 5px solid var(--teal-800);
  border-bottom: 1px solid rgba(13, 79, 79, 0.06);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem 1rem;
  text-align: center;
  align-items: start;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--teal-800);
}

.trust-icon svg {
  width: 32px;
  height: 32px;
}

.trust-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-800);
  line-height: 1.25;
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }

  .trust-item:last-child {
    grid-column: 1 / -1;
    max-width: 200px;
    margin-inline: auto;
  }
}

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

  .trust-item:last-child {
    grid-column: auto;
    max-width: none;
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  color: var(--teal-900);
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Why cards */
.why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 79, 79, 0.06);
}

.why-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--teal-800);
}

.why-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(13, 79, 79, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.popular {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .price-card.popular {
    transform: scale(1.02);
  }
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--teal-900);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.35rem;
  color: var(--teal-900);
}

.price-monthly {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal-800);
  margin: 0.5rem 0 0.15rem;
}

.price-monthly small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.price-setup {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.price-start {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-700);
  background: rgba(13, 79, 79, 0.06);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

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

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-700);
  font-weight: 700;
}

.price-features .setup-detail {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(13, 79, 79, 0.15);
  font-size: 0.82rem;
  color: var(--muted);
}

.price-features .setup-detail li::before {
  content: '•';
  color: var(--gold);
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Callout */
.callout {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-700));
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 2rem;
}

.callout p {
  margin: 0;
  font-size: 1.05rem;
  max-width: 52rem;
  margin-inline: auto;
}

.callout strong {
  color: var(--gold-light);
}

/* Feature image */
.feature-banner {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-list li {
  background: var(--cream);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  list-style: none;
}

.feature-list li::before {
  content: '→ ';
  color: var(--gold);
  font-weight: 700;
}

/* Add-ons */
.addon-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .addon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .addon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.addon-card {
  background: var(--cream);
  border: 1px solid rgba(13, 79, 79, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.addon-card h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--teal-800);
}

.addon-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.footnote-card {
  background: rgba(13, 79, 79, 0.05);
  border: 1px solid rgba(13, 79, 79, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footnote-card strong {
  color: var(--teal-800);
}

/* Sinhala block */
.sinhala-block {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.sinhala-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.7;
  color: var(--teal-900);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
  font-weight: 600;
}

.sinhala-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item span {
  font-size: 1.5rem;
}

.contact-item div strong {
  display: block;
  color: var(--teal-900);
  margin-bottom: 0.15rem;
}

.contact-item div a,
.contact-item div p {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(13, 79, 79, 0.15);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--teal-700);
  outline-offset: 1px;
}

/* Footer */
.site-footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand .logo-frame--footer {
  margin-bottom: 0.85rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 280px;
}

.footer-links h4 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--gold-light);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}
