/* ==========================================================================
   Nil Veralu Web Design — stylesheet
   ========================================================================== */

:root {
  --color-navy: #0f172a;
  --color-navy-light: #1e293b;
  --color-teal: #14b8a6;
  --color-teal-dark: #0d9488;
  --color-gold: #d4a72c;
  --color-silver: #94a3b8;
  --color-bronze: #b8794f;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --max-width: 1160px;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  color: var(--color-teal-dark);
  background: rgba(20, 184, 166, 0.1);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--color-navy);
  margin-bottom: 12px;
}

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

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--color-teal);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-dark-outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn-dark-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Header / Nav ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 72px;
  width: auto;
  display: block;
}

.brand-name {
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--color-navy);
  line-height: 1.15;
}

.brand-nil {
  color: #1d4ed8;
}

.brand-veralu {
  color: #16a34a;
}

.brand-sub {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-teal-dark);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-teal-dark);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--color-teal);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

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

/* Hero --------------------------------------------------------------------- */

.hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1a2b52 55%, var(--color-teal-dark) 130%);
  color: var(--color-white);
  padding: 100px 0 110px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero h1 .accent {
  color: var(--color-teal);
}

.hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  color: var(--color-teal);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 28px;
}

.hero-visual .browser-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.hero-visual .browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.hero-visual-body {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 22px;
}

.hero-visual-line {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 12px;
}

.hero-visual-line.w-60 { width: 60%; }
.hero-visual-line.w-80 { width: 80%; }
.hero-visual-line.w-40 { width: 40%; }

.hero-visual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.hero-visual-cards div {
  height: 56px;
  border-radius: 8px;
  background: rgba(20, 184, 166, 0.25);
  border: 1px solid rgba(20, 184, 166, 0.4);
}

/* Feature cards ------------------------------------------------------------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

/* Services teaser ------------------------------------------------------------ */

.services-teaser {
  background: var(--color-white);
}

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.teaser-card {
  border-radius: var(--radius);
  padding: 36px;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.teaser-card.monthly {
  background: linear-gradient(135deg, var(--color-navy), #24345f);
}

.teaser-card.onetime {
  background: linear-gradient(135deg, var(--color-teal-dark), #0b7a70);
}

.teaser-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.teaser-card p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
  font-size: 0.96rem;
}

.teaser-card .btn {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.teaser-card .btn:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* Process steps ----------------------------------------------------------------- */

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.process-step {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-teal);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 auto 18px;
}

.process-step h3 {
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.process-step p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

/* CTA banner ------------------------------------------------------------------ */

.cta-banner {
  background: linear-gradient(120deg, var(--color-teal-dark), var(--color-navy));
  color: var(--color-white);
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* Pricing page ------------------------------------------------------------------ */

.page-hero {
  background: linear-gradient(135deg, var(--color-navy), var(--color-teal-dark));
  color: var(--color-white);
  padding: 70px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

.care-highlight {
  text-align: center;
  margin-bottom: 40px;
}

.care-highlight .big {
  display: block;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  color: var(--color-teal-dark);
}

.care-highlight .small {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 6px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.plan-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured {
  border: 2px solid var(--color-teal);
  box-shadow: var(--shadow-md);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-teal);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.plan-tier {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-white);
  font-size: 0.85rem;
}

.plan-tier.bronze { background: var(--color-bronze); }
.plan-tier.silver { background: var(--color-silver); }
.plan-tier.gold { background: var(--color-gold); }

.plan-card h3 {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.plan-card .plan-desc {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.plan-price .currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
}

.plan-price .amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-navy);
}

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

.plan-card hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 22px 0;
}

.plan-features {
  flex-grow: 1;
  margin-bottom: 26px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--color-text);
}

.plan-features li .check {
  color: var(--color-teal-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-note {
  background: var(--color-white);
  border: 1px dashed var(--color-teal);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 20px;
  text-align: center;
  color: var(--color-text);
}

.pricing-note strong {
  color: var(--color-teal-dark);
}

.divider-heading {
  text-align: center;
  margin: 90px 0 46px;
}

.divider-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--color-navy);
  margin-bottom: 10px;
}

.divider-heading p {
  color: var(--color-text-light);
}

.addon-banner {
  margin-top: 40px;
  background: linear-gradient(120deg, var(--color-navy), var(--color-teal-dark));
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.addon-banner .addon-text h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.addon-banner .addon-text p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.addon-price {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 14px 26px;
  text-align: center;
  flex-shrink: 0;
}

.addon-price strong {
  display: block;
  font-size: 1.5rem;
}

.addon-price span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

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

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 14px;
}

.faq-item h4 {
  color: var(--color-navy);
  font-size: 1rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

/* Contact page ------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(20, 184, 166, 0.2);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item h4 {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 0.96rem;
  color: var(--color-white);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-row a:hover {
  background: var(--color-teal);
}

.contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-form-wrap h3 {
  color: var(--color-navy);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.contact-form-wrap > p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin-bottom: 26px;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
  background: var(--color-white);
}

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

.form-note {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 10px;
  text-align: center;
}

.form-success {
  display: none;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid var(--color-teal);
  color: var(--color-teal-dark);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.form-success.visible {
  display: block;
}

.map-placeholder {
  margin-top: 40px;
  height: 260px;
  border-radius: var(--radius);
  border: 2px dashed var(--color-border);
  background: repeating-linear-gradient(45deg, #fff, #fff 10px, #f1f5f9 10px, #f1f5f9 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.95rem;
  text-align: center;
  flex-direction: column;
  gap: 6px;
}

/* Footer --------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 8px 16px;
  display: inline-flex;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col ul li a:hover {
  color: var(--color-teal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* WhatsApp floating button -------------------------------------------------------------- */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

@media (max-width: 720px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 18px;
    right: 18px;
  }
}

/* Responsive ------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .teaser-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    display: none;
    box-shadow: var(--shadow-md);
  }

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

  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  section {
    padding: 56px 0;
  }

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

  .addon-banner {
    flex-direction: column;
    text-align: center;
  }
}

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 22px;
  }
}
