:root {
  --ink: #10233f;
  --ink-soft: #52637a;
  --navy: #071a33;
  --blue: #1769e0;
  --blue-dark: #0d4fb5;
  --cyan: #26c6da;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --border: #dfe7f1;
  --success: #0d9b73;
  --shadow: 0 20px 50px rgba(16, 35, 63, .1);
  --shadow-soft: 0 10px 28px rgba(16, 35, 63, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-alt);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.site-nav {
  min-height: 76px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(223, 231, 241, .9);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(16, 35, 63, .04);
}
.navbar-brand { color: var(--ink); font-size: 1.25rem; font-weight: 800; letter-spacing: -.04em; }
.navbar-brand:hover { color: var(--ink); }
.navbar-brand > span:last-child span, .footer-brand span { color: var(--blue); }
.brand-mark {
  width: 34px; height: 34px; display: inline-grid; place-items: center;
  color: #fff; border-radius: 10px; font-weight: 800;
  background: linear-gradient(145deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 20px rgba(23, 105, 224, .25);
}
.navbar-toggler { border: 0; box-shadow: none !important; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2310233f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.nav-link { color: #43536a; font-weight: 600; padding: .65rem .75rem !important; }
.nav-link:hover, .nav-link:focus { color: var(--blue); }
.nav-login { border: 1px solid transparent; }

.site-main { overflow: hidden; }
.btn { font-weight: 700; border-radius: 10px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-brand { color: #fff; background: linear-gradient(135deg, var(--blue), #2a86f5); border: 0; box-shadow: 0 8px 20px rgba(23, 105, 224, .22); }
.btn-brand:hover, .btn-brand:focus { color: #fff; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); box-shadow: 0 12px 24px rgba(23, 105, 224, .28); }
.btn-outline-brand { color: var(--blue); border: 1px solid #b9d2f5; background: #fff; }
.btn-outline-brand:hover { color: #fff; background: var(--blue); border-color: var(--blue); }

.hero-section {
  position: relative; overflow: hidden; margin-top: 2rem; padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 5rem);
  color: #fff; border-radius: 28px;
  background: linear-gradient(130deg, #071a33 0%, #0c3262 54%, #0c5bc4 100%);
  box-shadow: 0 28px 70px rgba(7, 26, 51, .24);
}
.hero-glow { position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 380px; height: 380px; right: -80px; top: -170px; background: rgba(38, 198, 218, .18); }
.hero-glow-two { width: 270px; height: 270px; left: 35%; bottom: -220px; background: rgba(23, 105, 224, .35); }
.eyebrow { display: inline-block; color: var(--blue); font-size: .77rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-light { color: #83e9f1; }
.hero-title { max-width: 800px; font-size: clamp(2.65rem, 6vw, 5rem); line-height: 1.02; font-weight: 800; letter-spacing: -.055em; }
.hero-title span { color: #78e5ef; }
.hero-copy { max-width: 700px; margin-top: 1.5rem; color: #d6e2ef; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.7; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; color: #d4e6f6; font-size: .92rem; }

.feed-card { position: relative; max-width: 430px; margin-left: auto; padding: 1.5rem; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(255,255,255,.09); box-shadow: 0 24px 60px rgba(0,0,0,.22); backdrop-filter: blur(16px); }
.feed-card-top { color: #dbe9f5; font-size: .86rem; font-weight: 700; }
.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: .45rem; border-radius: 50%; background: #54e5a8; box-shadow: 0 0 0 5px rgba(84,229,168,.14); }
.feed-url { margin: 1.2rem 0; padding: 1rem; overflow: hidden; border-radius: 10px; color: #fff; background: rgba(1, 15, 30, .45); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(.86rem, 2vw, 1rem); white-space: nowrap; }
.feed-url span { color: #86a7c8; }
.feed-divider { height: 1px; margin: .6rem 0 1rem; background: rgba(255,255,255,.12); }
.feed-stat-row { display: flex; justify-content: space-between; padding: .55rem 0; color: #a9bdd1; font-size: .9rem; }
.feed-stat-row strong { color: #fff; font-weight: 600; }
.feed-pulse { display: flex; align-items: end; gap: 5px; height: 40px; margin-top: 1rem; }
.feed-pulse span { flex: 1; min-height: 8px; border-radius: 3px; background: linear-gradient(to top, #1b7aeb, #58e0eb); opacity: .8; }
.feed-pulse span:nth-child(1), .feed-pulse span:nth-child(7) { height: 35%; }.feed-pulse span:nth-child(2), .feed-pulse span:nth-child(6) { height: 65%; }.feed-pulse span:nth-child(3), .feed-pulse span:nth-child(8) { height: 48%; }.feed-pulse span:nth-child(4) { height: 92%; }.feed-pulse span:nth-child(5) { height: 75%; }

.section-space { padding: clamp(4rem, 8vw, 7rem) 0 1rem; }
.section-heading { max-width: 680px; }
.section-heading h2, .cta-panel h2 { margin-top: .7rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; }
.section-heading p { color: var(--ink-soft); font-size: 1.05rem; }
.price-card { position: relative; padding: 1.6rem; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-soft); }
.price-card.featured { border-color: #84b8fb; transform: translateY(-6px); box-shadow: 0 20px 45px rgba(23,105,224,.15); }
.popular-tag { position: absolute; top: -12px; right: 18px; padding: .35rem .7rem; color: #fff; border-radius: 20px; background: var(--blue); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.plan-name { color: var(--ink-soft); font-weight: 700; }
.plan-price { margin-top: .6rem; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 2.25rem; font-weight: 800; letter-spacing: -.05em; }
.plan-price span { vertical-align: super; margin-right: 2px; font-size: 1rem; }
.plan-detail, .pricing-note { color: var(--ink-soft); font-size: .88rem; }
.benefit-section { padding-bottom: 5rem; }
.benefit-card { height: 100%; padding: 1.6rem; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.benefit-icon { display: grid; width: 42px; height: 42px; margin-bottom: 1.2rem; place-items: center; border-radius: 12px; color: var(--blue); background: #eaf3ff; font-weight: 800; }
.benefit-card h3 { font-size: 1.05rem; font-weight: 800; }
.benefit-card p { margin: 0; color: var(--ink-soft); line-height: 1.65; font-size: .92rem; }
.text-link { font-weight: 800; }
.cta-panel { margin-bottom: 2rem; padding: clamp(3rem, 7vw, 5rem); color: #fff; border-radius: 24px; background: linear-gradient(135deg, #0b3264, #1769e0); box-shadow: var(--shadow); }
.cta-panel p { max-width: 650px; margin: 0 auto 1.8rem; color: #dbe9f7; }

.auth-section { min-height: 70vh; }
.auth-intro { padding: 2rem 1rem 1rem 0; }
.auth-intro h1 { letter-spacing: -.05em; line-height: 1.05; }.auth-intro h1 span { color: var(--blue); }
.trust-list > div { display: flex; gap: .9rem; margin-bottom: 1.2rem; }
.trust-list strong, .trust-list small { display: block; }.trust-list small { color: var(--ink-soft); margin-top: .15rem; }
.check-icon { display: grid; flex: 0 0 30px; height: 30px; place-items: center; color: var(--success); border-radius: 50%; background: #e4f7f0; font-weight: 800; }
.auth-card { border: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow) !important; }
.secure-pill { flex: none; padding: .42rem .7rem; color: #087353; border-radius: 999px; background: #e6f8f2; font-size: .72rem; font-weight: 800; }
.form-section-title { margin: 0 0 1rem; padding-bottom: .6rem; color: var(--ink); border-bottom: 1px solid var(--border); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .9rem; font-weight: 800; }
.form-label { color: #31445e; font-size: .84rem; font-weight: 700; }.form-label span { color: #8290a2; font-weight: 500; }
.form-control, .form-select { min-height: 46px; color: var(--ink); border: 1px solid #cad6e4; border-radius: 9px; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: #5b9df1; box-shadow: 0 0 0 .22rem rgba(23,105,224,.12); }
.card { border-color: var(--border); border-radius: 16px; }
.alert { border: 0; border-radius: 12px; }

.site-footer { color: #9db0c4; background: var(--navy); }
.footer-brand { color: #fff; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.25rem; font-weight: 800; }

.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 2.5rem; text-align: center; }
.page-hero h1 { max-width: 780px; margin: .75rem auto; font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -.05em; }
.page-hero p { max-width: 700px; margin: 0 auto; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; }
.content-panel { padding: clamp(1.3rem, 4vw, 2.4rem); border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); }
.country-card { height: 100%; padding: 1rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.country-card:hover { transform: translateY(-2px); border-color: #a9c9f4; box-shadow: var(--shadow-soft); }
.country-code { display: inline-grid; width: 36px; height: 28px; place-items: center; margin-bottom: .55rem; color: var(--blue); border-radius: 7px; background: #eaf3ff; font-size: .75rem; font-weight: 800; }
.feature-card { height: 100%; padding: 1.7rem; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.feature-card h2 { margin: 1rem 0 .6rem; font-size: 1.12rem; font-weight: 800; }.feature-card p { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.feature-symbol { display: grid; width: 46px; height: 46px; place-items: center; color: #fff; border-radius: 13px; background: linear-gradient(135deg, var(--blue), var(--cyan)); font-weight: 800; }
.accordion-item { margin-bottom: .75rem; overflow: hidden; border: 1px solid var(--border) !important; border-radius: 12px !important; box-shadow: 0 5px 18px rgba(16,35,63,.04); }
.accordion-button { color: var(--ink); font-weight: 700; }.accordion-button:not(.collapsed) { color: var(--blue-dark); background: #edf5ff; box-shadow: none; }
.footer-heading { margin-bottom: .7rem; color: #fff; font-weight: 800; }
.site-footer a { display: block; margin: .35rem 0; color: #b9c8d7; }.site-footer a:hover { color: #fff; }
.footer-bottom { color: #71859a; border-top: 1px solid rgba(255,255,255,.09); font-size: .84rem; }

.portal-shell { display: grid; grid-template-columns: minmax(225px, 260px) minmax(0, 1fr); gap: 2rem; align-items: start; padding-top: 2.25rem; }
.portal-sidebar { position: sticky; top: 100px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.portal-user { display: flex; align-items: center; gap: .75rem; padding: 1.25rem; border-bottom: 1px solid var(--border); background: linear-gradient(145deg, #f8fbff, #eef5ff); }
.portal-user > div { min-width: 0; }
.portal-user strong, .portal-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-user strong { color: var(--ink); font-size: .92rem; }
.portal-user small { margin-top: .1rem; color: var(--ink-soft); font-size: .72rem; }
.portal-avatar { display: grid; flex: 0 0 40px; height: 40px; place-items: center; color: #fff; border-radius: 12px; background: linear-gradient(145deg, var(--blue), var(--cyan)); font-weight: 800; box-shadow: 0 8px 18px rgba(23,105,224,.2); }
.portal-menu { padding: .75rem; }
.portal-menu a { display: flex; align-items: center; gap: .7rem; margin: .15rem 0; padding: .75rem .8rem; color: #465a72; border-radius: 10px; font-size: .86rem; font-weight: 700; transition: color .18s ease, background .18s ease, transform .18s ease; }
.portal-menu a:hover { color: var(--blue-dark); background: #f0f6ff; transform: translateX(2px); }
.portal-menu a.active { color: #fff; background: linear-gradient(135deg, var(--blue), #2a86f5); box-shadow: 0 8px 18px rgba(23,105,224,.2); }
.portal-menu a span { display: inline-grid; width: 22px; height: 22px; place-items: center; font-size: 1rem; }
.portal-content { min-width: 0; }
.portal-content > .card, .portal-card { border: 1px solid var(--border); box-shadow: var(--shadow-soft) !important; }
.portal-content h1 { color: var(--ink); font-weight: 800; letter-spacing: -.035em; }
.portal-content h2 { color: var(--ink); font-weight: 800; }
.current-email { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; padding: 1rem 1.15rem; border: 1px solid #cfe0f6; border-radius: 12px; background: #f2f7ff; }
.current-email span { color: var(--ink-soft); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.current-email strong { overflow-wrap: anywhere; }
.package-picker { max-height: 250px; padding: 1rem; overflow-y: auto; border: 1px solid #cad6e4; border-radius: 10px; background: #fbfdff; }
.package-picker .form-check + .form-check { margin-top: .7rem; }
.checkout-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: 12px; background: var(--navy); }
.checkout-summary span, .checkout-summary strong { display: block; }.checkout-summary span { color: #a9bdd1; font-size: .78rem; }.checkout-summary strong { color: #fff; font-size: 1.45rem; }
.order-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--border); font-size: .86rem; }
.order-list > div:last-child { border-bottom: 0; }.order-list span { min-width: 0; }.order-list small { display: block; margin-top: .2rem; color: var(--ink-soft); }
.ip-usage { padding: .55rem .85rem; color: var(--ink-soft); border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: .83rem; }.ip-usage strong { color: var(--blue); font-size: 1.05rem; }
.empty-state { padding: 2.4rem 1rem; text-align: center; }.empty-state > span { display: grid; width: 48px; height: 48px; margin: 0 auto 1rem; place-items: center; color: var(--blue); border-radius: 14px; background: #eaf3ff; font-size: 1.25rem; font-weight: 800; }
.ticket-message { margin-bottom: 1rem; padding: 1rem; border-left: 3px solid #7fb3f7; border-radius: 0 10px 10px 0; background: #f7faff; }.ticket-message > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-bottom: .45rem; }.ticket-message small { color: var(--ink-soft); }.ticket-message p { margin: 0; line-height: 1.6; }
.result-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 1.25rem; place-items: center; color: #fff; border-radius: 18px; font-size: 1.6rem; font-weight: 800; }.result-icon.success { background: var(--success); }.result-icon.error { background: #dc3545; }

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { margin-top: .75rem; padding: .75rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow-soft); }
  .site-nav .btn { display: block; margin-top: .4rem; padding: .65rem 1rem !important; }
  .feed-card { margin: 1rem auto 0; }
  .price-card.featured { transform: none; }
  .portal-shell { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 1.5rem; }
  .portal-sidebar { position: static; }
  .portal-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
  .portal-menu a { margin: 0; }
}
@media (max-width: 575.98px) {
  .hero-section { margin-top: 1rem; padding: 3rem 1.25rem; border-radius: 20px; }
  .hero-title { font-size: 2.55rem; }
  .hero-trust { flex-direction: column; gap: .55rem; }
  .section-space { padding-top: 3.5rem; }
  .auth-intro { padding-top: 0; }
  .auth-card .card-body { padding: 1.4rem !important; }
  .secure-pill { display: none; }
  .portal-menu { display: flex; padding: .65rem; overflow-x: auto; scroll-snap-type: x proximity; }
  .portal-menu a { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
  .portal-user { padding: 1rem; }
  .portal-content .card-body { padding: 1.25rem !important; }
  .portal-content .input-group { display: grid; grid-template-columns: 1fr 1fr; }
  .portal-content .input-group .form-control { grid-column: 1 / -1; width: 100%; border-radius: 9px 9px 0 0 !important; }
  .portal-content .input-group .btn { border-radius: 0 0 9px 9px !important; }
}
