/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a2e;
  background: hsl(220, 25%, 97%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== CSS VARIABLES ===== */
:root {
  --primary: hsl(200, 100%, 40%);
  --primary-dark: hsl(200, 100%, 32%);
  --secondary: hsl(260, 60%, 55%);
  --secondary-dark: hsl(260, 60%, 45%);
  --accent: hsl(280, 70%, 60%);
  --bg-light: hsl(220, 25%, 97%);
  --bg-section: hsl(260, 40%, 92%);
  --text-primary: #1a1a2e;
  --text-muted: #6b7280;
  --white: #ffffff;
  --radius: 1rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --gradient-hero: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-cta: linear-gradient(135deg, var(--secondary), var(--primary));
  --container: 1200px;
  --transition: all 0.3s ease;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
}

.header.scrolled .logo {
  background: rgba(26, 26, 46, 0.06);
  color: var(--text-primary);
  border-color: rgba(26, 26, 46, 0.1);
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-get-esim {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.btn-get-esim:hover {
  background: var(--secondary-dark);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.btn-account {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-account:hover {
  background: rgba(255, 255, 255, 0.2);
}

.header.scrolled .btn-account {
  background: transparent;
  border-color: rgba(26, 26, 46, 0.15);
  color: var(--text-primary);
}

.header.scrolled .btn-account:hover {
  background: rgba(26, 26, 46, 0.05);
}

.header.scrolled .btn-get-esim {
  background: var(--secondary);
  color: var(--white);
}

.btn-menu {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem;
  transition: var(--transition);
}

.btn-menu:hover {
  color: var(--white);
}

.header.scrolled .btn-menu {
  color: var(--text-muted);
}

.header.scrolled .btn-menu:hover {
  color: var(--text-primary);
}

/* ===== MOBILE MENU OVERLAY ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.menu-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.menu-overlay.open .menu-sidebar {
  transform: translateX(0);
}

.menu-close {
  align-self: flex-end;
  padding: 0.5rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.menu-close:hover {
  color: var(--text-primary);
}

.menu-nav {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.menu-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
}

.menu-nav a:hover {
  background: hsl(220, 25%, 95%);
  color: var(--primary);
}

.lang-switch {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(220, 25%, 92%);
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  flex: 1;
  padding: 0.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
  color: var(--text-muted);
}

.lang-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.lang-btn:not(.active):hover {
  background: hsl(220, 25%, 95%);
  color: var(--text-primary);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 500;
  opacity: 0.9;
}

.hero-subtitle br.desktop-br {
  display: none;
}

.hero-subtitle .dash {
  display: inline;
}

.btn-choose {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.btn-choose:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.btn-choose svg {
  width: 1rem;
  height: 1rem;
}

.hero-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  white-space: pre-line;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.hero-illustration {
  max-width: 420px;
  width: 100%;
  margin-top: 1rem;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.15));
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: 100%;
  max-width: 800px;
  margin: 1rem auto 2rem;
  padding: 0 0.5rem;
  position: relative;
  z-index: 10;
}

.hero-feature {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 1rem 0.25rem;
  text-align: center;
  color: var(--white);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.hero-feature:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.hero-feature-icon {
  margin: 0 auto 0.5rem;
  opacity: 0.9;
}

.hero-feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto;
}

.hero-feature-text {
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.25;
  word-break: break-word;
}


/* ===== INFO BANNER ===== */
.info-banner {
  padding: 2.5rem 1rem;
  text-align: center;
}

.info-banner-card {
  max-width: 750px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 1.5rem;
  padding: 2rem 3rem;
}

.info-banner p {
  margin: 0;
  color: var(--white);
  font-size: 1.275rem;
  font-weight: 700;
  line-height: 1.7;
}

/* ===== ADVANTAGES ===== */
.advantages {
  padding: 4rem 1rem;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.advantage-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.advantage-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
}

.advantage-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.advantage-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.advantage-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== PRICING ===== */
.pricing {
  padding: 4rem 1rem;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  border: 1px solid hsl(220, 25%, 90%);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  background: var(--white);
  transition: var(--transition);
}

.price-card:hover {
  box-shadow: var(--shadow-md);
}

.price-card.popular {
  border-color: var(--primary);
  border-width: 2px;
}

.price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.price-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.price-data {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.price-duration {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.price-duration svg {
  width: 1rem;
  height: 1rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
}

.price-features {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.price-feature svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.btn-buy {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: 1px solid hsl(220, 25%, 85%);
  color: var(--text-primary);
  background: var(--white);
}

.btn-buy:hover {
  background: hsl(220, 25%, 96%);
  border-color: hsl(220, 25%, 78%);
}

.price-card.popular .btn-buy {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.price-card.popular .btn-buy:hover {
  background: var(--primary-dark);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 4rem 1rem;
  background: var(--bg-section);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: hsl(220, 60%, 95%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--gradient-cta);
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
  background-size: 40px 40px;
}

.cta-banner>* {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--secondary);
  border-radius: var(--radius-full);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cta-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  margin-top: 0.75rem;
}

/* ===== CONNECTION GUIDE ===== */
.connection-guide {
  padding: 4rem 1rem;
  background: var(--bg-light);
}

.guide-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-top: -2rem;
  margin-bottom: 2.5rem;
}

.guide-steps {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.guide-line {
  position: absolute;
  left: 1.5rem;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 1px;
}

.guide-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.guide-step-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.guide-step-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  flex: 1;
  box-shadow: var(--shadow-sm);
  border: 1px solid hsl(220, 25%, 92%);
}

.guide-step-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.guide-step-header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.guide-step-title {
  font-size: 1rem;
  font-weight: 700;
}

.guide-step-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.guide-step-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition);
}

.guide-btn.primary {
  background: var(--primary);
  color: var(--white);
}

.guide-btn.primary:hover {
  background: var(--primary-dark);
}

.guide-btn.outline {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.guide-btn.outline:hover {
  background: hsl(200, 100%, 97%);
}

.guide-btn svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-light);
  border-top: 1px solid hsl(220, 25%, 90%);
  padding: 3rem 1rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-contact-item svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid hsl(220, 25%, 90%);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.footer-company {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.footer-address {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ===== RESPONSIVE: TABLET ===== */
@media (min-width: 640px) {
  .btn-get-esim {
    display: inline-flex;
  }

  .btn-account {
    display: inline-flex;
  }

  .hero-features {
    gap: 0.75rem;
    padding: 0 1.5rem;
  }

  .hero-feature {
    padding: 1.25rem 0.75rem;
  }

  .hero-feature-text {
    font-size: 0.8125rem;
    line-height: 1.3;
  }

  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ===== RESPONSIVE: DESKTOP ===== */
@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 3rem;
    padding-top: 6rem;
  }

  .hero-text {
    max-width: 560px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.75rem;
  }

  .hero-subtitle br.desktop-br {
    display: block;
  }

  .hero-subtitle .dash {
    display: none;
  }

  .hero-desc {
    font-size: 1.5rem;
  }

  .btn-choose-wrap {
    justify-content: flex-start;
  }

  .hero-illustration {
    max-width: 480px;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .info-banner p {
    font-size: 1.125rem;
  }

  .cta-title {
    font-size: 2.25rem;
  }
}