@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

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

:root {
  --blue: #1B4FD8;
  --blue-dark: #1239A6;
  --blue-light: #EEF3FD;
  --blue-mid: #3B6FEA;
  --green: #0D9373;
  --green-light: #E6F7F3;
  --text: #0F1923;
  --text-mid: #374151;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --border-mid: #D1D5DB;
  --bg: #F8F9FC;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(27,79,216,0.10);
  --shadow-lg: 0 8px 48px rgba(27,79,216,0.15);
}

html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 34px; height: 34px; background: var(--blue); color: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.logo-icon.small { width: 26px; height: 26px; font-size: 13px; }
.logo-text { font-size: 17px; font-weight: 600; color: var(--text); }
.logo-text strong { color: var(--blue); }
.nav { display: flex; gap: 4px; }
.nav-link { padding: 6px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text-mid); font-size: 14px; font-weight: 500; transition: background 0.15s, color 0.15s; }
.nav-link:hover { background: var(--blue-light); color: var(--blue); }
.header-right { display: flex; align-items: center; gap: 12px; }
.lang-switcher { display: flex; gap: 2px; background: var(--bg); border-radius: var(--radius-sm); padding: 3px; border: 1px solid var(--border); }
.lang-btn { background: none; border: none; padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--text-muted); cursor: pointer; font-family: inherit; transition: all 0.15s; }
.lang-btn.active { background: var(--white); color: var(--blue); box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.menu-toggle { display: none; background: none; border: none; font-size: 20px; cursor: pointer; padding: 4px 8px; }

/* HERO */
.hero { background: linear-gradient(150deg, #0F1F6B 0%, #1B4FD8 60%, #2E6FFF 100%); padding: 60px 0 80px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); color: white; padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 24px; display: inline-block; }
.hero-title { font-size: clamp(28px, 5vw, 46px); font-weight: 800; color: white; line-height: 1.15; margin-bottom: 16px; }
.hero-title em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: #93C5FD; }
.hero-sub { color: rgba(255,255,255,0.8); font-size: 16px; max-width: 540px; margin-bottom: 40px; }

/* ORDER CARD */
.order-card { background: white; border-radius: 20px; padding: 28px; width: 100%; max-width: 620px; box-shadow: var(--shadow-lg); }
.country-tabs { display: flex; gap: 6px; margin-bottom: 24px; background: var(--bg); border-radius: 10px; padding: 4px; }
.ctab { flex: 1; background: none; border: none; padding: 10px 6px; border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 4px; transition: all 0.15s; }
.ctab .flag { font-size: 20px; }
.ctab .ctab-name { font-size: 11px; }
.ctab.active { background: white; color: var(--blue); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.ctab:hover:not(.active) { color: var(--text); }

.form-body { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.6px; }
.form-group input, .form-group select {
  border: 1.5px solid var(--border-mid); border-radius: var(--radius-sm); padding: 11px 14px;
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--text);
  background: var(--bg); outline: none; transition: border-color 0.15s, background 0.15s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--blue); background: white; }

.price-summary { background: var(--blue-light); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.price-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-mid); }
.price-row span:last-child { font-weight: 600; }
.price-row.total { border-top: 1px solid #C7D9F9; padding-top: 10px; margin-top: 4px; font-size: 16px; font-weight: 700; color: var(--text); }
.price-row.total span:last-child { color: var(--blue); font-size: 18px; }

.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: white; border: none; border-radius: var(--radius-sm); padding: 14px 24px; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background 0.15s, transform 0.1s; }
.btn-primary:hover { background: #0B7D62; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-buy { width: 100%; font-size: 16px; padding: 16px; border-radius: 10px; }
.form-note { text-align: center; font-size: 12px; color: var(--text-muted); }

/* TRUST BAR */
.trust-bar { background: white; border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 0; padding: 20px 0; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 12px 32px; }
.trust-icon { font-size: 22px; }
.trust-title { font-size: 13px; font-weight: 700; color: var(--text); }
.trust-sub { font-size: 12px; color: var(--text-muted); }
.trust-divider { width: 1px; height: 36px; background: var(--border); }

/* SECTIONS */
.section { padding: 72px 0; }
.section-gray { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); font-size: 15px; }

/* COUNTRY GRID */
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.country-card { background: white; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; cursor: pointer; display: flex; align-items: center; gap: 14px; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.country-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.country-flag-big { font-size: 36px; flex-shrink: 0; }
.country-info { flex: 1; }
.country-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.country-info p { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.country-price { font-size: 13px; font-weight: 700; color: var(--blue); }
.country-arrow { font-size: 18px; color: var(--blue-mid); opacity: 0; transition: opacity 0.15s; }
.country-card:hover .country-arrow { opacity: 1; }

/* STEPS */
.steps-grid { display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap; justify-content: center; }
.step-card { background: white; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px 22px; flex: 1; min-width: 180px; max-width: 220px; text-align: center; }
.step-num { width: 40px; height: 40px; background: var(--blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; margin: 0 auto 14px; }
.step-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.step-connector { font-size: 22px; color: var(--border-mid); display: flex; align-items: center; padding: 0 8px; margin-top: 24px; }

/* FAQ */
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; text-align: left; }
.faq-q:hover { background: var(--bg); }
.faq-arrow { font-size: 20px; font-weight: 400; color: var(--blue); flex-shrink: 0; transition: transform 0.2s; }
.faq-q.open .faq-arrow { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: 14px; color: var(--text-mid); line-height: 1.65; border-top: 1px solid var(--border); padding-top: 14px; }
.faq-a.open { display: block; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 26px; font-weight: 800; color: white; margin-bottom: 6px; }
.cta-inner p { color: rgba(255,255,255,0.8); }
.cta-section .btn-primary { background: white; color: var(--blue); font-size: 15px; padding: 14px 32px; white-space: nowrap; }
.cta-section .btn-primary:hover { background: #f0f4ff; }

/* FOOTER */
.footer { background: var(--text); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer .logo-text { color: white; }
.footer .logo-text strong { color: #93C5FD; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; transition: color 0.15s; }
.footer-links a:hover { color: white; }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 12px; line-height: 1.7; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 12px 20px; z-index: 99; }
  .menu-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); margin: 0; padding: 4px 0; }
  .trust-inner { gap: 0; }
  .trust-item { padding: 10px 16px; }
  .trust-divider { display: none; }
  .cta-inner { flex-direction: column; text-align: center; }
  .country-grid { grid-template-columns: 1fr 1fr; }
}
