:root {
  --primary: #0a3a8d;
  --primary-strong: #062b6a;
  --accent: #1ac6ff;
  --ink: #0f172a;
  --muted: #475569;
  --stroke: #e2e8f0;
  --surface: #f8fafc;
  --card: #ffffff;
  --glow: 0 18px 60px rgba(10, 58, 141, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background: radial-gradient(circle at 20% 20%, rgba(26, 198, 255, 0.08), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(10, 58, 141, 0.09), transparent 40%),
              #f4f6fb;
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--stroke);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.3px;
}

.logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
}

.nav-menu a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.nav-menu a:hover {
  color: var(--ink);
  background: var(--surface);
}

.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 4px;
}

/* Hero */
.hero {
  padding: 56px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.hero-grid > div {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--stroke);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  box-shadow: var(--glow);
}

.hero h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.4px;
  font-weight: 700;
}

.hero h1 span { color: var(--primary); }

.hero p {
  color: var(--muted);
  max-width: 560px;
  font-size: 15px;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  justify-content: center;
}

.tag {
  background: #0a3a8d08;
  color: var(--primary);
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 12px;
  border: 1px solid #0a3a8d15;
  font-weight: 500;
}

.hero-benefits {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0 0;
  width: 100%;
  border-top: 1px solid var(--stroke);
  margin-top: 20px;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.benefit-icon {
  font-size: 18px;
}

.benefit-text {
  font-weight: 500;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--glow);
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:disabled {
  background: linear-gradient(135deg, #cbd5e1, #a0aec0);
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.btn-primary:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 58, 141, 0.32);
}

.btn-ghost {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--glow);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.rate {
  font-size: 28px;
  color: var(--primary-strong);
  font-weight: 700;
}

.card-rows {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}

.row small { color: var(--muted); }

.result {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fbff, #eef3ff);
  border: 1px solid #d9e4ff;
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 22px;
}

/* Converter */
.section {
  padding: 64px 0;
}

.section h2 {
  font-size: 30px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section p.lead { color: var(--muted); }

.converter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 28px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

input, select {
  width: 100%;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--card);
  font-size: 15px;
  color: var(--ink);
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.small-badge {
  padding: 6px 10px;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--stroke);
}

/* Rates */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.mini-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 6px;
}

.mini-card strong { font-size: 16px; }

.mini-card span { color: var(--muted); font-size: 13px; }

/* Rate Showcase */
.rate-showcase {
  background: linear-gradient(135deg, #1ac6ff, var(--primary));
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 12px 40px rgba(26, 198, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.rate-showcase h3 {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rate-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-bottom: 0;
}

.rate-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.rate-currency {
  font-size: 12px;
  opacity: 0.95;
  font-weight: 600;
}

.rate-subtitle {
  font-size: 10px;
  opacity: 0.85;
  margin: 2px 0 0 0;
}

/* Why Choose Us */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.why-card {
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(10, 58, 141, 0.12);
  transform: translateY(-4px);
}

.why-icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #0a3a8d08;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card h3 {
  font-size: 17px;
  color: var(--ink);
  margin: 0;
  font-weight: 600;
}

.why-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Testimonials */
.testimonials-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  padding: 40px 20px;
  position: relative;
  min-height: 320px;
}

.testimonials-wrapper::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  position: absolute;
  width: calc(100% - 40px);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 14px;
  opacity: 0;
  animation: fade-carousel 60s linear infinite;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-card:nth-child(1) { animation-delay: 0s; }
.testimonial-card:nth-child(2) { animation-delay: -6s; }
.testimonial-card:nth-child(3) { animation-delay: -12s; }
.testimonial-card:nth-child(4) { animation-delay: -18s; }
.testimonial-card:nth-child(5) { animation-delay: -24s; }
.testimonial-card:nth-child(6) { animation-delay: -30s; }
.testimonial-card:nth-child(7) { animation-delay: -36s; }
.testimonial-card:nth-child(8) { animation-delay: -42s; }
.testimonial-card:nth-child(9) { animation-delay: -48s; }
.testimonial-card:nth-child(10) { animation-delay: -54s; }
.testimonial-card:nth-child(11) { animation-delay: -60s; }
.testimonial-card:nth-child(12) { animation-delay: -66s; }
.testimonial-card:nth-child(13) { animation-delay: -72s; }
.testimonial-card:nth-child(14) { animation-delay: -78s; }
.testimonial-card:nth-child(15) { animation-delay: -84s; }
.testimonial-card:nth-child(16) { animation-delay: -90s; }
.testimonial-card:nth-child(17) { animation-delay: -96s; }
.testimonial-card:nth-child(18) { animation-delay: -102s; }
.testimonial-card:nth-child(19) { animation-delay: -108s; }
.testimonial-card:nth-child(20) { animation-delay: -114s; }

.testimonial-card .stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.testimonial-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.testimonial-card .author-info strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.testimonial-card .author-info small {
  color: var(--muted);
  font-size: 12px;
}

@keyframes fade-carousel {
  0% { opacity: 1; }
  19.99% { opacity: 1; }
  20% { opacity: 0; }
  100% { opacity: 0; }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.step {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--card);
  display: grid;
  gap: 6px;
}

.step .num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--surface);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--primary);
}

/* Disclaimer */
.disclaimer {
  background: linear-gradient(135deg, #0a3a8d, #062b6a);
  color: #e8f1ff;
  padding: 26px;
  border-radius: 18px;
  display: grid;
  gap: 10px;
  box-shadow: var(--glow);
}

.disclaimer small { color: #c6d6ff; }

/* CTA */
.cta {
  padding: 48px;
  border-radius: 18px;
  background: linear-gradient(125deg, #0a3a8d, #1ac6ff);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--glow);
}

.cta p { color: #e6f5ff; max-width: 540px; }

/* Footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--stroke);
  padding: 32px 0;
  margin-top: 48px;
  text-align: center;
}

footer p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--primary-strong);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(10, 58, 141, 0.24);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 58, 141, 0.32);
}

.back-to-top:active {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
  }
}

/* Legal Pages */
.legal-section {
  padding: 64px 0;
}

.legal-section h2 {
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--ink);
}

.legal-section h3 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 600;
}

.legal-section p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-section ul, .legal-section ol {
  color: var(--muted);
  margin-left: 20px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-section li {
  margin-bottom: 10px;
}

.legal-section strong {
  color: var(--ink);
}

.legal-update {
  background: var(--surface);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .converter-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .nav-menu.active {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    background: var(--card);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    display: grid;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .nav-cta { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-ghost { text-align: center; }
  .cta { padding: 30px; }
}
