/* GreatVPN Landing Styles */

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

:root {
  --bg: #0f1014;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #007aff;
  --accent-hover: #0066d6;
  --text: #ffffff;
  --text-sec: #94949e;
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--text);
}

img, svg {
  display: block;
}

/* ===== Navbar ===== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.navbar.scrolled {
  background: rgba(15, 16, 20, 0.85);
  border-bottom-color: var(--border);
}

.navbar-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, #fff, #007aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-link {
  padding: 8px 16px;
  color: var(--text-sec);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.navbar-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.navbar-link--cta {
  color: var(--bg);
  background: var(--accent);
  font-weight: 600;
}

.navbar-link--cta:hover {
  background: var(--accent-hover);
  color: var(--bg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  max-width: 80vw;
  height: 100vh;
  background: #1a1b21;
  border-left: 1px solid var(--border);
  z-index: 1002;
  transition: right 0.3s;
  overflow-y: auto;
  padding: 24px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-link {
  display: block;
  padding: 12px 16px;
  color: var(--text-sec);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.mobile-menu-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* ===== Section base ===== */

.section {
  padding: 96px 24px;
}

.section-container {
  max-width: var(--container);
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-sec);
  font-size: 1.1rem;
  margin-bottom: 56px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Hero ===== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(0, 122, 255, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 122, 255, 0.06) 0%, transparent 40%);
}

.hero-content {
  max-width: 720px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fff 0%, #94949e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-sec);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ===== Advantages ===== */

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.advantage-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.advantage-card:hover {
  border-color: rgba(0, 122, 255, 0.3);
  transform: translateY(-4px);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}

.advantage-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.advantage-card p {
  color: var(--text-sec);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== How it works ===== */

.steps {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.1);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 20px;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background: var(--border);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-sec);
  font-size: 0.95rem;
}

/* ===== Pricing ===== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.plan-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.plan-card:hover {
  border-color: rgba(0, 122, 255, 0.3);
  transform: translateY(-4px);
}

.plan-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-sec);
}

.plan-description {
  color: var(--text-sec);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.plan-card .btn {
  width: 100%;
}

.pricing-empty {
  text-align: center;
  color: var(--text-sec);
  padding: 40px;
}

/* ===== FAQ ===== */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(0, 122, 255, 0.2);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-sec);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== CTA Section ===== */

.cta-section {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(0, 122, 255, 0.02) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-content p {
  color: var(--text-sec);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ===== Footer ===== */

.footer {
  padding: 64px 24px 32px;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-weight: 700;
  font-size: 1.3rem;
  background: linear-gradient(90deg, #fff, #007aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer-brand-desc {
  color: var(--text-sec);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-sec);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  font-size: 0.9rem;
  color: var(--text-sec);
}

.footer-links a {
  color: var(--text-sec);
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  color: var(--text-sec);
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-overlay,
  .mobile-menu {
    display: block;
  }

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

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

  .section {
    padding: 64px 20px;
  }

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

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

  .steps {
    flex-direction: column;
    gap: 24px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

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

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

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