:root {
      --bg: #091121;
      --bg-strong: #141c30;
      --panel: linear-gradient(180deg, rgba(12, 19, 36, 0.94) 0%, rgba(18, 28, 48, 0.9) 100%);
      --card: #ffffff;
      --card-soft: #eefaff;
      --text: #141c30;
      --muted: #62708a;
      --line: #d7e6ee;
      --line-strong: #9fdceb;
      --brand: #23dbf2;
      --brand-deep: #141c30;
      --brand-soft: #e8fbff;
      --accent: #7cefff;
      --danger-soft: #fff1ed;
      --danger-text: #a3482d;
      --shadow: 0 28px 72px rgba(4, 10, 22, 0.42);
      --shadow-soft: 0 18px 36px rgba(20, 28, 48, 0.12);
      --radius-2xl: 28px;
      --radius-xl: 22px;
      --radius-lg: 18px;
      --radius-md: 14px;
      --radius-sm: 10px;
    }

    * {
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: "Montserrat", sans-serif;
      color: var(--text);
      background:
        radial-gradient(900px 540px at 12% 0%, rgba(35, 219, 242, 0.22) 0%, rgba(35, 219, 242, 0) 68%),
        radial-gradient(760px 520px at 100% 12%, rgba(84, 158, 255, 0.14) 0%, rgba(84, 158, 255, 0) 62%),
        linear-gradient(180deg, #08101e 0%, #10192d 48%, #141c30 100%);
      padding: 14px;
    }

    button,
    input,
    select {
      font: inherit;
    }

    .app-shell {
      width: min(1080px, 100%);
      margin: 0 auto;
      background: var(--panel);
      border: 1px solid rgba(35, 219, 242, 0.18);
      border-radius: 32px;
      backdrop-filter: blur(18px);
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
    }

    .hero {
      position: relative;
      padding: 26px 22px 22px;
      background:
        radial-gradient(220px 120px at 82% 20%, rgba(35, 219, 242, 0.22) 0%, rgba(35, 219, 242, 0) 100%),
        linear-gradient(135deg, #141c30 0%, #18233d 55%, #1d3151 100%);
      color: #f8fcff;
      overflow: hidden;
    }

    .hero::before,
    .hero::after {
      content: "";
      position: absolute;
      border-radius: 999px;
      background: rgba(35, 219, 242, 0.14);
      filter: blur(2px);
      pointer-events: none;
    }

    .hero::before {
      width: 280px;
      height: 280px;
      top: -140px;
      right: -40px;
    }

    .hero::after {
      width: 200px;
      height: 200px;
      left: -90px;
      bottom: -110px;
    }

    .hero-top {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
    }

    .brand-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(35, 219, 242, 0.26);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(235, 251, 255, 0.92);
      width: fit-content;
    }

    .hero-title {
      margin: 12px 0 0;
      font-size: clamp(28px, 5vw, 42px);
      line-height: 1.02;
      font-weight: 800;
      max-width: 720px;
      letter-spacing: -0.03em;
    }

    .hero-subtitle {
      margin: 14px 0 0;
      max-width: 720px;
      color: rgba(223, 242, 255, 0.82);
      font-size: 15px;
      line-height: 1.62;
    }

    .hero-metrics {
      position: relative;
      z-index: 1;
      margin-top: 18px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 10px;
    }

    .metric {
      padding: 14px 15px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(35, 219, 242, 0.18);
    }

    .metric-button {
      display: block;
      width: 100%;
      appearance: none;
      text-align: left;
      color: inherit;
      text-decoration: none;
      cursor: pointer;
      transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    }

    .metric-button:hover,
    .metric-button:focus-visible {
      transform: translateY(-1px);
      border-color: rgba(35, 219, 242, 0.38);
      background: rgba(255, 255, 255, 0.12);
      box-shadow: 0 16px 28px rgba(6, 16, 30, 0.18);
      outline: none;
    }

    .metric-button-accent {
      background: linear-gradient(135deg, rgba(35, 219, 242, 0.18) 0%, rgba(124, 239, 255, 0.08) 100%);
      border-color: rgba(124, 239, 255, 0.44);
    }

    .metric-label {
      font-size: 12px;
      color: rgba(215, 242, 252, 0.74);
      margin-bottom: 6px;
    }

    .metric-value {
      font-size: 17px;
      font-weight: 800;
      color: #ffffff;
    }

    .tabs {
      position: sticky;
      top: 0;
      z-index: 10;
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding: 12px 14px;
      background: rgba(10, 18, 34, 0.86);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(35, 219, 242, 0.16);
    }

    .tab-btn {
      flex: 0 0 auto;
      border: 1px solid rgba(159, 220, 235, 0.2);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.04);
      color: rgba(232, 247, 255, 0.72);
      padding: 11px 14px;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
      position: relative;
      z-index: 1;
      transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    }

    .tab-btn.active {
      color: #141c30;
      background: linear-gradient(135deg, #23dbf2 0%, #89f2ff 100%);
      border-color: #23dbf2;
      box-shadow: 0 12px 24px rgba(35, 219, 242, 0.28);
    }

    .tab-btn:active,
    .pill-btn:active,
    .button:active {
      transform: translateY(1px);
    }

    .content {
      padding: 16px;
      display: grid;
      gap: 16px;
      position: relative;
      z-index: 1;
    }

    .panel {
      display: none;
      gap: 14px;
      animation: fadeUp 0.28s ease-out;
    }

    .panel.active {
      display: grid;
    }

    .section-card,
    .feature-card,
    .soft-card,
    .result-card,
    .fx-card,
    .parking-card,
    .contact-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-soft);
    }

    .section-card {
      padding: 18px;
      display: grid;
      gap: 14px;
    }

    .section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .eyebrow {
      display: inline-flex;
      width: fit-content;
      padding: 7px 11px;
      border-radius: 999px;
      background: var(--brand-soft);
      border: 1px solid #b7edf6;
      color: #146579;
      font-size: 12px;
      font-weight: 800;
    }

    .section-title {
      margin: 0;
      font-size: clamp(21px, 4vw, 28px);
      font-weight: 800;
      letter-spacing: -0.03em;
    }

    .section-copy {
      margin: 0;
      color: var(--muted);
      line-height: 1.62;
      font-size: 14px;
    }

    .overview-grid,
    .parking-grid,
    .contact-grid,
    .rate-grid,
    .summary-grid {
      display: grid;
      gap: 12px;
    }

    .overview-grid,
    .contact-grid,
    .summary-grid {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .parking-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .feature-card,
    .soft-card,
    .fx-card,
    .parking-card,
    .contact-card {
      padding: 16px;
      display: grid;
      gap: 10px;
    }

    .feature-card {
      background: linear-gradient(180deg, #ffffff 0%, #f5fcff 100%);
    }

    .feature-icon,
    .contact-icon {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      font-size: 20px;
      background: linear-gradient(135deg, #e9fbff 0%, #f4f9ff 100%);
      border: 1px solid #cdebf3;
    }

    .feature-title,
    .contact-title,
    .parking-title,
    .rate-title {
      margin: 0;
      font-size: 18px;
      font-weight: 800;
      line-height: 1.2;
    }

    .feature-text,
    .contact-text,
    .parking-text,
    .rate-copy {
      margin: 0;
      color: var(--muted);
      line-height: 1.58;
      font-size: 14px;
    }

    .button-row,
    .calculator-actions,
    .parking-actions,
    .contact-actions,
    .quick-actions,
    .rate-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .button,
    .pill-btn {
      border: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.96);
      color: var(--text);
      border-radius: 14px;
      padding: 11px 14px;
      font-size: 14px;
      font-weight: 800;
      text-decoration: none;
      cursor: pointer;
      position: relative;
      z-index: 1;
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    }

    .button-primary {
      border-color: #23dbf2;
      background: linear-gradient(135deg, #23dbf2 0%, #7cefff 100%);
      color: #141c30;
      box-shadow: 0 14px 26px rgba(35, 219, 242, 0.24);
    }

    .button-soft {
      background: #eefaff;
      border-color: var(--line-strong);
      color: #22314f;
    }

    .button-ghost {
      background: transparent;
      border-style: dashed;
      color: var(--muted);
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 12px;
    }

    .field {
      display: grid;
      gap: 8px;
    }

    .field-wide {
      grid-column: 1 / -1;
    }

    .field[hidden] {
      display: none;
    }

    .field-label {
      font-size: 12px;
      font-weight: 800;
      color: #41526e;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .input,
    .select,
    .textarea {
      width: 100%;
      border: 1px solid #d7e6ee;
      background: #ffffff;
      border-radius: 16px;
      min-height: 52px;
      padding: 0 14px;
      color: var(--text);
      outline: none;
      transition: border-color 0.16s ease, box-shadow 0.16s ease;
    }

    .input:focus,
    .select:focus,
    .textarea:focus {
      border-color: #23dbf2;
      box-shadow: 0 0 0 4px rgba(35, 219, 242, 0.16);
    }

    .textarea {
      min-height: 132px;
      padding: 14px;
      resize: vertical;
    }

    .select {
      appearance: none;
      background-image:
        linear-gradient(45deg, transparent 50%, #141c30 50%),
        linear-gradient(135deg, #141c30 50%, transparent 50%);
      background-position:
        calc(100% - 20px) calc(50% - 4px),
        calc(100% - 13px) calc(50% - 4px);
      background-size: 7px 7px, 7px 7px;
      background-repeat: no-repeat;
      padding-right: 34px;
    }

    .check-option {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      min-height: 52px;
      padding: 14px;
      border: 1px solid #d7e6ee;
      background: #ffffff;
      border-radius: 16px;
      cursor: pointer;
      line-height: 1.45;
      color: var(--text);
    }

    .check-option input {
      width: 18px;
      height: 18px;
      margin: 2px 0 0;
      flex: 0 0 auto;
      accent-color: #23dbf2;
    }

    .check-option span {
      font-size: 14px;
      font-weight: 600;
    }

    .hint-strip {
      padding: 13px 15px;
      border-radius: 16px;
      background: linear-gradient(135deg, #eefaff 0%, #dff8ff 100%);
      border: 1px solid #9fdceb;
      color: #1e5970;
      font-size: 13px;
      line-height: 1.55;
    }

    .result-card {
      padding: 18px;
      display: grid;
      gap: 14px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fdff 100%);
    }

    .result-empty {
      padding: 18px;
      border-radius: 18px;
      background: var(--card-soft);
      border: 1px dashed var(--line-strong);
      color: var(--muted);
      line-height: 1.65;
    }

    .result-grid {
      display: grid;
      gap: 14px;
    }

    .result-group {
      padding: 16px;
      border-radius: 18px;
      border: 1px solid var(--line);
      background: #f8fcff;
      display: grid;
      gap: 8px;
    }

    .result-group h4 {
      margin: 0;
      font-size: 17px;
      font-weight: 800;
    }

    .result-meta {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 10px;
    }

    .meta-tile {
      padding: 13px 14px;
      border-radius: 16px;
      background: linear-gradient(180deg, #ffffff 0%, #edfafe 100%);
      border: 1px solid #d4ebf3;
    }

    .meta-label {
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 6px;
    }

    .meta-value {
      font-size: 18px;
      font-weight: 800;
      line-height: 1.2;
    }

    .result-list,
    .bank-list,
    .alt-list {
      display: grid;
      gap: 8px;
    }

    .result-row,
    .bank-row,
    .alt-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      line-height: 1.5;
    }

    .result-row span:first-child,
    .bank-row span:first-child,
    .alt-row span:first-child {
      color: var(--muted);
    }

    .result-row strong,
    .bank-row strong,
    .alt-row strong {
      text-align: right;
    }

    .result-total {
      padding: 16px;
      border-radius: 18px;
      background: linear-gradient(135deg, #141c30 0%, #203251 100%);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    .result-total-label {
      font-size: 13px;
      color: rgba(218, 242, 250, 0.78);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .result-total-value {
      font-size: clamp(26px, 5vw, 34px);
      font-weight: 800;
      letter-spacing: -0.03em;
    }

    .note {
      padding: 13px 15px;
      border-radius: 16px;
      background: #f3fbff;
      border: 1px solid var(--line);
      color: #54647e;
      font-size: 13px;
      line-height: 1.55;
    }

    .fx-toolbar {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
    }

    .rate-switch {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 2px;
    }

    .pill-btn.active {
      background: var(--brand-deep);
      color: #ffffff;
      border-color: var(--brand-deep);
    }

    .fx-main-rate {
      font-size: clamp(26px, 5vw, 38px);
      font-weight: 800;
      line-height: 1.02;
      letter-spacing: -0.04em;
      margin: 0;
    }

    .fx-updated {
      color: var(--muted);
      font-size: 13px;
      margin: 0;
    }

    .loading,
    .error-box {
      padding: 16px;
      border-radius: 18px;
      border: 1px dashed var(--line-strong);
      background: #f5fcff;
      color: var(--muted);
    }

    .error-box {
      background: var(--danger-soft);
      border-color: #f3c9ba;
      color: var(--danger-text);
    }

    .success-box {
      padding: 16px;
      border-radius: 18px;
      border: 1px solid #bdeaf2;
      background: #eefbff;
      color: #16586d;
      line-height: 1.6;
    }

    .map-wrap {
      border-radius: 22px;
      overflow: hidden;
      border: 1px solid var(--line);
      background: #edf7fb;
      min-height: 320px;
    }

    .map-frame {
      width: 100%;
      height: 320px;
      border: 0;
      background: #ddebf5;
      pointer-events: none;
    }

    .parking-card.active {
      border-color: #23dbf2;
      box-shadow: 0 18px 32px rgba(35, 219, 242, 0.18);
    }

    .parking-badge {
      display: inline-flex;
      width: fit-content;
      padding: 6px 10px;
      border-radius: 999px;
      background: #eafcff;
      border: 1px solid #cbeef5;
      color: #16657b;
      font-size: 12px;
      font-weight: 800;
    }

    .footer {
      padding: 14px 18px 18px;
      border-top: 1px solid rgba(35, 219, 242, 0.16);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
      background: rgba(10, 18, 34, 0.72);
      position: relative;
      z-index: 1;
    }

    .footer-copy {
      color: rgba(220, 237, 247, 0.74);
      font-size: 12px;
      margin: 0;
    }

    .toast {
      position: fixed;
      left: 50%;
      bottom: 18px;
      transform: translateX(-50%) translateY(10px);
      background: #141c30;
      color: #e8fbff;
      padding: 11px 15px;
      border-radius: 999px;
      font-size: 13px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.18s ease, transform 0.18s ease;
      z-index: 30;
      box-shadow: 0 16px 28px rgba(8, 16, 30, 0.34);
    }

    .toast.visible {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    .hide-mobile {
      display: inline;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 860px) {
      body {
        padding: 8px;
      }

      .app-shell {
        border-radius: 24px;
      }

      .hero {
        padding: 22px 16px 18px;
      }

      .tabs {
        padding: 10px;
      }

      .content {
        padding: 12px;
      }

      .section-card,
      .feature-card,
      .soft-card,
      .result-card,
      .fx-card,
      .parking-card,
      .contact-card {
        border-radius: 18px;
      }

      .result-row,
      .bank-row,
      .alt-row {
        display: grid;
        gap: 2px;
      }

      .result-row strong,
      .bank-row strong,
      .alt-row strong {
        text-align: left;
      }

      .hide-mobile {
        display: none;
      }
    }

    @media (max-width: 640px) {
      .panel[data-panel="rates"] .section-card {
        padding: 16px 14px;
        gap: 12px;
      }

      .panel[data-panel="rates"] .section-header {
        display: grid;
        gap: 10px;
        align-items: start;
      }

      .panel[data-panel="rates"] .section-header > div:first-child {
        min-width: 0;
      }

      .panel[data-panel="rates"] .section-title {
        font-size: 18px;
        line-height: 1.15;
      }

      .panel[data-panel="rates"] .section-copy {
        font-size: 13px;
        line-height: 1.55;
      }

      .panel[data-panel="rates"] .rate-actions {
        width: 100%;
      }

      .panel[data-panel="rates"] .rate-actions .button {
        display: flex;
        width: 100%;
        justify-content: center;
      }

      .panel[data-panel="rates"] .fx-toolbar {
        display: grid;
        gap: 10px;
        align-items: stretch;
      }

      .panel[data-panel="rates"] .rate-switch {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        overflow: visible;
        gap: 8px;
        padding-bottom: 0;
      }

      .panel[data-panel="rates"] .rate-switch .pill-btn {
        width: 100%;
        padding: 10px 0;
      }

      .panel[data-panel="rates"] .fx-updated {
        font-size: 12px;
      }

      .panel[data-panel="rates"] .fx-card {
        padding: 14px;
        gap: 8px;
      }

      .panel[data-panel="rates"] .fx-main-rate {
        font-size: clamp(22px, 8vw, 30px);
        line-height: 1.08;
        letter-spacing: -0.03em;
        overflow-wrap: anywhere;
      }

      .panel[data-panel="rates"] .rate-title {
        font-size: 16px;
      }

      .panel[data-panel="rates"] .rate-copy {
        font-size: 13px;
      }
    }

    @supports (-webkit-touch-callout: none) {
      .app-shell {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
      }

      .tabs {
        position: static;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
      }
    }