@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #05070a;
  --bg-card: rgba(10, 15, 26, 0.72);
  --bg-card-hover: rgba(16, 25, 42, 0.88);
  --bg-modal: rgba(8, 12, 20, 0.96);
  --primary: #f97316;
  --primary-hover: #c2410c;
  --primary-glow: rgba(249, 115, 22, 0.35);
  --accent: #fbbf24;
  --accent-glow: rgba(251, 191, 36, 0.24);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(249, 115, 22, 0.45);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-dark); color: var(--text-main); }
body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 20% 0%, rgba(249,115,22,0.12) 0%, rgba(5,7,10,0) 38%),
    radial-gradient(circle at 100% 100%, rgba(251,191,36,0.08) 0%, rgba(5,7,10,0) 44%),
    var(--bg-dark);
  background-attachment: fixed;
  color: var(--text-main);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(5,7,10,0.76); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-container {
  max-width: 1240px; margin: 0 auto; padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo-group { display: flex; flex-direction: column; gap: 0.12rem; }
.logo-title {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 40%, var(--primary) 75%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-subtitle { font-size: 0.72rem; font-weight: 700; color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; }

.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255,255,255,0.04); color: var(--text-main); cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.2); transition: var(--transition);
}
.menu-toggle:hover { border-color: var(--border-hover); box-shadow: 0 0 0 4px rgba(249,115,22,0.12); }
.menu-toggle .bar { width: 18px; height: 2px; background: #fff; display: block; border-radius: 99px; position: relative; }
.menu-toggle .bar::before, .menu-toggle .bar::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: #fff; border-radius: 99px; }
.menu-toggle .bar::before { top: -6px; }
.menu-toggle .bar::after { top: 6px; }

.desktop-nav { display: block; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.15rem; margin: 0; padding: 0; }
.nav-links a { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; padding: 0.3rem 0; position: relative; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -0.35rem; height: 2px; border-radius: 999px;
  background: var(--primary); box-shadow: 0 0 10px var(--primary-glow);
}

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-orders {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 14px; padding: 0.7rem 1rem;
  background: rgba(249,115,22,0.12); color: #fff; border: 1px solid rgba(249,115,22,0.25); cursor: pointer;
  font-weight: 700; transition: var(--transition);
}
.btn-orders:hover { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 18px var(--primary-glow); transform: translateY(-1px); }
.lang-selector {
  border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.05); color: #fff;
  padding: 0.65rem 0.8rem; cursor: pointer; outline: none; transition: var(--transition);
}
.lang-selector:hover, .lang-selector:focus { border-color: var(--border-hover); }

/* Unified left hamburger/service drawer */
.mobile-drawer {
  position: fixed; top: 74px; left: -320px; right: auto; width: 320px; max-width: 88vw; height: calc(100vh - 74px);
  overflow-y: auto; background: rgba(7,11,17,0.97); backdrop-filter: blur(18px); border-right: 1px solid var(--border);
  border-bottom: none; z-index: 99; transition: left 0.28s ease; box-shadow: 18px 0 42px rgba(0,0,0,0.35);
}
.mobile-drawer.active { left: 0; right: auto; }
.mobile-nav-links { list-style: none; padding: 1rem 1rem 1.25rem; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.mobile-menu-heading { margin: 0.8rem 0 0.15rem; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.mobile-nav-links a {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 0.85rem; border-radius: 14px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); color: var(--text-main); font-weight: 600;
  transition: var(--transition);
}
.mobile-nav-links a:hover { border-color: var(--border-hover); background: rgba(249,115,22,0.1); transform: translateX(2px); }
.mobile-nav-links i { width: 18px; text-align: center; color: var(--primary); }

main { padding-top: 96px; }
.view-section { display: none; }
.view-section.active { display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; }
.hero {
  max-width: 1240px; margin: 0 auto; padding: 4.2rem 1.25rem 2rem; display: grid; gap: 1.5rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); align-items: center;
}
.hero-card, .section-card, .package-card, .faq-card, .order-panel, .modal-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 26px; backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.35); transition: var(--transition);
}
.hero-card:hover, .section-card:hover, .package-card:hover, .faq-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-2px); }
.hero-card { padding: 2rem; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.85rem; border-radius: 999px;
  border: 1px solid rgba(249,115,22,0.28); color: #ffd9c0; background: rgba(249,115,22,0.12);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em;
}
.hero h1 { margin: 1rem 0 0.85rem; font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 0.98; letter-spacing: -0.05em; }
.hero p { margin: 0; color: var(--text-muted); font-size: 1.03rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.3rem; }
.btn-primary, .btn-secondary {
  border: 0; border-radius: 16px; padding: 0.95rem 1.15rem; font-weight: 800; cursor: pointer; transition: var(--transition);
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: #fff; box-shadow: 0 10px 30px rgba(249,115,22,0.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 24px var(--primary-glow); }
.btn-secondary { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.07); }
.price-chip {
  display: inline-flex; align-items: center; gap: 0.6rem; width: fit-content; margin-top: 1rem; padding: 0.95rem 1.1rem;
  border-radius: 18px; border: 1px solid rgba(249,115,22,0.32); background: rgba(249,115,22,0.08); color: #fff; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.price-chip .price { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.price-chip .currency { color: var(--text-muted); font-size: 0.88rem; font-weight: 700; }
.price-chip:hover { border-color: var(--border-hover); background: rgba(249,115,22,0.14); box-shadow: 0 0 0 4px rgba(249,115,22,0.1); }
.hero-side { padding: 1.4rem; display: grid; gap: 1rem; }
.hero-stat { padding: 1rem 1.1rem; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }
.hero-stat strong { display: block; font-family: var(--font-heading); font-size: 1.35rem; margin-bottom: 0.25rem; }
.hero-stat span { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; }

.section-wrap { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem 4rem; }
.page-header { margin: 0 0 1.2rem; }
.page-header h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(1.65rem, 2.5vw, 2.4rem); letter-spacing: -0.04em; }
.page-header p { margin: 0.65rem 0 0; color: var(--text-muted); line-height: 1.7; }
.packages-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.package-card { position: relative; padding: 1.35rem; }
.featured-tag {
  position: absolute; top: 14px; right: 14px; padding: 0.35rem 0.65rem; border-radius: 999px; font-size: 0.72rem; font-weight: 800;
  background: rgba(249,115,22,0.16); color: #ffd9c0; border: 1px solid rgba(249,115,22,0.28);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 0.9rem;
  background: linear-gradient(135deg, rgba(249,115,22,0.2), rgba(251,191,36,0.12)); color: #fff; border: 1px solid rgba(249,115,22,0.28);
  box-shadow: 0 0 24px rgba(249,115,22,0.12);
}
.package-card h3 { margin: 0 0 0.55rem; font-family: var(--font-heading); font-size: 1.15rem; }
.package-desc { margin: 0 0 0.95rem; color: var(--text-muted); font-size: 0.93rem; line-height: 1.65; min-height: 4.6em; }
.package-price-box { margin-bottom: 0.95rem; }
.package-features { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.6rem; }
.package-features li { display: flex; align-items: flex-start; gap: 0.5rem; color: #d1d5db; font-size: 0.9rem; line-height: 1.45; }
.package-features i { color: #34d399; margin-top: 0.17rem; }
.btn-buy {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.9rem 1rem;
  border: 1px solid rgba(249,115,22,0.28); border-radius: 16px; background: rgba(249,115,22,0.12); color: #fff;
  font-weight: 800; cursor: pointer; transition: var(--transition);
}
.btn-buy:hover { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 18px var(--primary-glow); transform: translateY(-1px); }

.section-card { padding: 1.3rem; }
.faq-grid { display: grid; gap: 0.9rem; }
.faq-card { overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.05rem;
  border: 0; background: transparent; color: #fff; cursor: pointer; text-align: left;
}
.faq-question strong { font-size: 1rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; color: var(--text-muted); padding: 0 1.05rem; }
.faq-card.open .faq-answer { max-height: 220px; padding-bottom: 1rem; }
.faq-card.open .faq-question i { transform: rotate(180deg); }

.orders-table-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--border); }
.orders-table { width: 100%; border-collapse: collapse; min-width: 900px; background: rgba(255,255,255,0.02); }
.orders-table th, .orders-table td { padding: 0.9rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); text-align: left; }
.orders-table th { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(255,255,255,0.03); }
.orders-table td { color: #d1d5db; font-size: 0.93rem; }
.tx-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86rem; }
.status-badge {
  display: inline-flex; align-items: center; padding: 0.4rem 0.7rem; border-radius: 999px; background: rgba(16,185,129,0.14);
  color: #86efac; border: 1px solid rgba(16,185,129,0.22); font-weight: 700; font-size: 0.8rem;
}
.no-orders { margin-top: 0.9rem; color: var(--text-muted); }

.footer { padding: 1.2rem 1.25rem 2rem; color: var(--text-muted); }
.footer-grid { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1rem; align-items: center; border-top: 1px solid var(--border); padding-top: 1rem; }
.footer a { color: #fff; }
.footer a:hover { color: var(--primary); }

.modal-backdrop {
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(10px); z-index: 200;
}
.modal-backdrop.active { display: flex; }
.modal-card {
  width: min(100%, 560px); max-height: 84vh; overflow: auto; padding: 1.15rem; position: relative;
  border-color: rgba(249,115,22,0.24);
}
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.05); color: #fff; cursor: pointer;
}
.modal-card h3 { margin: 0 2.5rem 0.45rem 0; font-family: var(--font-heading); font-size: 1.35rem; }
.modal-desc { margin: 0 0 1rem; color: var(--text-muted); line-height: 1.55; }
.order-summary-box { display: grid; gap: 0.45rem; padding: 0.85rem; border-radius: 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); margin-bottom: 0.95rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; color: #d1d5db; }
.summary-row strong { color: #fff; text-align: right; }
.compact-field { margin-bottom: 0.8rem; display: flex; flex-direction: column; gap: 0.42rem; }
.compact-field label { font-size: 0.92rem; font-weight: 700; }
.compact-field input, .compact-field select {
  width: 100%; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); color: #fff;
  padding: 0.72rem 0.9rem; outline: none; transition: var(--transition);
}
.compact-field input:focus, .compact-field select:focus { border-color: var(--border-hover); }
.quantity-control-group { margin-bottom: 0.8rem; }
.quantity-control-group label { display: block; margin-bottom: 0.42rem; font-weight: 700; }
.qty-selector { display: grid; grid-template-columns: auto 1fr auto; gap: 0.45rem; align-items: center; }
.qty-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.05);
  color: #fff; cursor: pointer;
}
.qty-selector input { height: 42px; text-align: center; }
.total-price-box {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0.9rem 0 1rem;
  padding: 0.9rem 1rem; border: 1px solid rgba(249,115,22,0.26); border-radius: 16px; background: rgba(249,115,22,0.08);
}
.total-price-box .price-val { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; cursor: pointer; }
.paypal-wrapper { margin-top: 0.75rem; }
.payment-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.85rem; }
.payment-badges span {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.58rem 0.75rem; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: #e5e7eb; font-size: 0.84rem; font-weight: 700;
}

@media (max-width: 1100px) {
  .packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .header-container { padding-inline: 0.85rem; }
  .logo-title { font-size: 1.2rem; }
  .menu-toggle { width: 42px; height: 42px; }
  main { padding-top: 88px; }
  .hero { padding-top: 2.6rem; }
  .hero-card { padding: 1.35rem; }
  .packages-grid { grid-template-columns: 1fr; }
  .section-wrap { padding-bottom: 3rem; }
  .modal-card { max-height: 88vh; padding: 1rem; }
}
@media (max-width: 520px) {
  .header-actions { gap: 0.55rem; }
  .btn-orders { padding: 0.65rem 0.85rem; }
  .lang-selector { padding-inline: 0.6rem; }
  .price-chip .price { font-size: 1.18rem; }
  .price-chip { width: 100%; justify-content: space-between; }
  .total-price-box { flex-direction: column; align-items: flex-start; }
}
