
    :root {
  --ink: #0e4a57;
  --accent: #19a66c;
  --muted: #5a6c73;
  --background: #fff;
  --shadow: rgba(0,0,0,0.05);
  --border: rgba(14,74,87,.08);
}

/* Base styles - Mobile First */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: 'Nunito Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand img {
  width: 140px;
  height: auto;
  object-fit: contain;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  margin-left: 14px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

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

.login {
  margin-left: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: #fbfafa;
  text-decoration: none;
  font-weight: 900;
  transition: all 0.3s ease;
}

.login:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 28px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.hero-text {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.h-title {
  font-size: clamp(28px, 8vw, 56px);
  line-height: 1.05;
  margin: 0;
  white-space: normal;
}

.h-title .caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--ink);
  margin-left: 3px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.h-tag {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.badges {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.badges img {
  width: min(140px, 30vw);
  height: auto;
  object-fit: contain;
}

.phone {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone img {
  width: min(350px, 90vw);
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

/* Four Pillars cards */
.pillars {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}

.pillar {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 14px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow);
}

.pillar h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--ink);
}

.pillar ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
  color: var(--muted);
}

/* How it works grid */
.how-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

.how-step {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 14px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow);
}

.how-step h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  text-align: center;
}

.how-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

/* Trust grid */
.trust-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
}

.trust-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 14px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow);
}

.trust-icon {
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--accent);
}

.trust-card p {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  margin-left: 14px;
  padding: 8px 0;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--background);
  min-width: 260px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 20;
}

.dropdown-content a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: var(--accent);
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.foot img {
  width: 140px;
  height: auto;
}

.copy {
  font-size: 16px;
  color: var(--muted);
  font-weight: 700;
}

/* Tablet Styles */
@media (min-width: 640px) {
  .container {
    padding: 14px 24px;
  }

  .brand img {
    width: 160px;
  }

  .nav {
    gap: 20px;
  }

  nav a {
    margin-left: 20px;
  }

  .login {
    padding: 10px 16px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-grid {
    gap: 32px;
  }

  .h-title {
    font-size: clamp(32px, 7vw, 48px);
  }

  .badges img {
    width: min(160px, 25vw);
  }

  .phone img {
    width: min(400px, 85vw);
  }

  .pillars {
    gap: 28px;
    padding: 32px 0;
  }

  .pillar {
    padding: 24px;
  }

  .pillar h2 {
    font-size: 22px;
  }

  .how-grid {
    gap: 24px;
    padding: 32px 0;
  }

  .how-step {
    padding: 24px;
  }

  .how-step h3 {
    font-size: 22px;
  }

  .trust-grid {
    gap: 24px;
    padding: 32px 0;
  }

  .trust-card {
    padding: 24px;
  }

  .trust-icon {
    font-size: 40px;
  }

  .foot img {
    width: 160px;
  }

  .copy {
    font-size: 18px;
  }
}

/* Small screen nav adjustments */
@media (max-width: 639px) {
  .nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .brand img {
    display: block;
    margin: 0 auto;
  }

  nav {
    width: 100%;
    text-align: center;
  }

  nav a {
    margin-left: 0;
    margin-right: 14px;
  }

  .login {
    display: block;
    width: 92%;
    padding: 12px 16px;
    text-align: center;
    margin-top: 10px;
  }

  .foot{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
}

/* Desktop Styles */
@media (min-width: 880px) {
  .hero-text {
    width: 50%;
    max-width: 600px;
    min-width: 400px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand img {
    width: 180px;
  }

  .nav {
    gap: 30px;
  }

  nav a {
    margin-left: 24px;
  }

  .badges img {
    width: 168px;
  }

  .phone img {
    width: min(450px, 80vw);
  }

  .pillar h2 {
    font-size: 24px;
  }

  .how-step h3 {
    font-size: 24px;
  }

  .trust-icon {
    font-size: 44px;
  }

  .foot img {
    width: 180px;
  }
    .foot{
    display: block;
    text-align: center;
  }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
  .container {
    padding: 14px 32px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-grid {
    gap: 40px;
  }

  .h-title {
    font-size: clamp(40px, 5vw, 56px);
  }

  .pillars {
    gap: 32px;
  }

  .how-grid {
    gap: 32px;
  }

  .trust-grid {
    gap: 32px;
  }
}

/* High DPI/Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .brand img,
  .badges img,
  .phone img,
  .foot img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  header,
  footer,
  .login,
  nav {
    display: none !important;
  }

  .container {
    max-width: none;
    padding: 0;
  }

  .hero,
  .pillars,
  .how-grid,
  .trust-grid {
    page-break-inside: avoid;
  }
}
