/* Advisir Pte. Ltd. — ForForeigners page
   Responsive, clean presentation for desktop, tablet and mobile.
*/

:root {
  --red: #e10600;
  --red-dark: #b90400;
  --red-soft: #fff2f1;
  --text: #202124;
  --muted: #62666b;
  --border: #e4e6e8;
  --surface: #ffffff;
  --background: #f6f7f9;
  --shadow: 0 12px 32px rgba(24, 28, 33, 0.10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.brand img {
  width: 190px;
  height: auto;
  border-radius: 4px;
}

.header-title {
  border-left: 1px solid var(--border);
  padding-left: 28px;
}

.header-title span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-title h1 {
  margin: 3px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.2;
}

/* Hero */
.hero {
  padding: 58px 0 44px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(225, 6, 0, 0.08), transparent 45%),
    #fff;
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.12;
}

.hero p {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Plans */
.plans {
  padding: 24px 0 70px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.plan-header {
  padding: 30px 28px 26px;
  border-top: 5px solid var(--red);
}

.plan-card:nth-child(2) .plan-header {
  border-top-color: #c50000;
}

.plan-card:nth-child(3) .plan-header {
  border-top-color: #900000;
}

.plan-header .eyebrow {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.plan-header h2 {
  margin: 6px 0 14px;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.15;
}

.plan-subtitle {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.plan-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.price {
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.price strong {
  display: block;
  color: var(--red);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.govt-fee {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.note {
  margin: 18px 0 0;
  padding: 12px 14px;
  background: var(--red-soft);
  border-left: 3px solid var(--red);
  border-radius: 7px;
  color: #4d1a18;
  font-size: 0.83rem;
}

.cta {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 13px 18px;
  border: 2px solid var(--red);
  border-radius: 9px;
  background: #fff;
  color: var(--red);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta:hover,
.cta:focus {
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

.features {
  flex: 1;
  padding: 4px 28px 28px;
  border-top: 1px solid var(--border);
}

.feature-group {
  padding: 22px 0 8px;
}

.feature-group + .feature-group {
  border-top: 1px solid var(--border);
}

.feature-group h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  text-align: left;
  color: #242424;
}

.feature-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-group li {
  position: relative;
  margin: 9px 0;
  padding-left: 25px;
  color: #444;
  font-size: 0.91rem;
  line-height: 1.45;
}

.feature-group li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 900;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  background: #181818;
  color: #cfcfcf;
  text-align: center;
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

/* Tablet */
@media (max-width: 980px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .header-inner {
    justify-content: center;
  }

  .header-title {
    display: none;
  }

  .brand img {
    width: 210px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 720px);
  }

  .header-inner {
    min-height: 82px;
    padding: 12px 0;
  }

  .brand img {
    width: 175px;
  }

  .hero {
    padding: 42px 0 30px;
  }

  .plans {
    padding-top: 12px;
    padding-bottom: 45px;
  }

  .plans-grid {
    gap: 18px;
  }

  .plan-header,
  .features {
    padding-left: 21px;
    padding-right: 21px;
  }

  .plan-header {
    padding-top: 24px;
  }

  .feature-group {
    padding-top: 18px;
  }
}
