:root {
  --primary-color: #0066ff;
  --primary-hover: #0052cc;
  --bg-color: #f6f8fb;
  --bg-card: #ffffff;
  --text-main: #1a1f36;
  --text-muted: #697386;
  --border-color: #e3e8ee;
  --accent-cyan: #00e5ff;
  --shadow-soft: 0 12px 40px rgba(26, 31, 54, 0.08);
  --shadow-hover: 0 20px 50px rgba(0, 102, 255, 0.18);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  background-image: 
    linear-gradient(to right, rgba(0, 102, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 102, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Background Animated Planes Container */
.bg-airplane-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.05), transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(0, 229, 255, 0.06), transparent 50%);
}

.paper-plane {
  position: absolute;
  width: 48px;
  height: auto;
  opacity: 0;
  animation: planeFloat 20s linear infinite;
  filter: drop-shadow(0 10px 15px rgba(0, 102, 255, 0.3));
}

.plane-1 { top: 15%; left: -10%; --scale: 1; animation-duration: 25s; animation-delay: -8s; }
.plane-2 { top: 65%; left: -10%; --scale: 0.6; animation-duration: 35s; animation-delay: -22s; }
.plane-3 { top: 40%; left: -10%; --scale: 1.2; animation-duration: 20s; animation-delay: -4s; }

@keyframes planeFloat {
  0% { transform: translateX(0) translateY(0) rotate(15deg) scale(var(--scale)); opacity: 0; }
  10% { opacity: 0.6; }
  50% { transform: translateX(50vw) translateY(-40px) rotate(5deg) scale(var(--scale)); }
  90% { opacity: 0.6; }
  100% { transform: translateX(110vw) translateY(-80px) rotate(25deg) scale(var(--scale)); opacity: 0; }
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3 {
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header {
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 32px;
  height: 32px;
}

.logo span {
  color: var(--primary-color);
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1rem;
}

.main-nav a:hover {
  color: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.05rem;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(0, 102, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 102, 255, 0.45);
  color: #fff !important;
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: #fff;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #fff !important;
}

.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

/* Hero Section */
.hero {
  padding: 70px 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

.hero-content p.subtitle {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Hero Pain Point & Trust Pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.2);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.pill-item:hover {
  background: rgba(0, 102, 255, 0.15);
  transform: translateY(-2px);
}

.hero-trust-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #10b981;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Graphic Animations */
.hero-graphic {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-card {
  background: rgba(255, 255, 255, 0.95);
  width: 320px;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite;
}

.connection-status {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.pulse-dot {
  width: 16px;
  height: 16px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse 2s infinite;
}

.status-text h4 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-main);
}

.status-text p {
  font-size: 0.85rem;
  margin: 0;
  color: #10b981;
  font-weight: 600;
}

.server-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.server-item {
  background: #f8fafc;
  padding: 12px 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-color);
}

.server-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

.ms {
  color: var(--primary-color);
  font-weight: 600;
}

.circle-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Sections */
.section {
  padding: 70px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

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

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: inline-block;
  background: #eef2ff;
  padding: 14px;
  border-radius: 12px;
  color: var(--primary-color);
}

/* Promo Banner in Pricing */
.promo-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px dashed #3b82f6;
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.promo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e40af;
  display: flex;
  align-items: center;
  gap: 10px;
}

.code-highlight {
  background: #2563eb;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.promo-timer {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #dc2626;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Pricing Section */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 35px 30px 25px;
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
  border: 2px solid var(--primary-color);
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-5px);
}

.badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.price {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 15px 0 20px;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: normal;
}

.pricing-features {
  margin: 20px 0 25px;
  text-align: left;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--primary-color);
  margin-right: 10px;
  font-weight: bold;
  background: #eef2ff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

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

.refund-guarantee-badge {
  text-align: center;
  font-size: 0.82rem;
  color: #10b981;
  font-weight: 600;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Media & AI Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.media-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 35px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

.media-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

/* Reviews */
.review-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.stars {
  color: #fbbf24;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.reviewer {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.reviewer-info h4 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.reviewer-info p {
  font-size: 0.85rem;
  margin: 0;
}

/* SEO Articles Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.article-img-placeholder {
  height: 160px;
  background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--primary-color);
}

.article-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-content h3 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 18px;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
}

.read-more::after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.2s;
}

.article-card:hover .read-more::after {
  transform: translateX(5px);
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 22px 28px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-soft);
}

.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Footer */
footer {
  background: #ffffff;
  padding: 50px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  text-align: center;
  margin-bottom: 25px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 18px 0;
}

.footer-links a {
  color: var(--text-muted);
}

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

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

/* Mobile Sticky Footer Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(0, 102, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-sticky-bar-container {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 12px 10px;
  font-size: 0.95rem;
  border-radius: 8px;
  white-space: nowrap;
}

/* Exit-Intent Popup */
.exit-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.exit-modal.active {
  display: flex;
  opacity: 1;
}

.exit-modal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 30px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 102, 255, 0.15);
  animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.exit-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exit-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.exit-modal-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.exit-modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.exit-modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.exit-coupon-box {
  background: #f0f9ff;
  border: 2px dashed #0284c7;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.exit-coupon-code {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0369a1;
  letter-spacing: 2px;
}

.exit-copy-btn {
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.exit-copy-btn:hover {
  background: #0369a1;
}

/* Legal Pages Typography (About, Terms, Privacy) */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 45px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

.legal-content h2 {
  text-align: left;
  margin-top: 35px;
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 10px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-pills {
    justify-content: center;
  }
  .hero-trust-note {
    justify-content: center;
  }
  .action-buttons {
    justify-content: center;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }
  .main-nav {
    display: none;
  }
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 75px; /* Prevent Mobile Sticky CTA from overlapping footer */
  }
  h1 {
    font-size: 2.4rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .action-buttons {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .promo-banner {
    flex-direction: column;
    text-align: center;
  }
  .promo-text {
    flex-direction: column;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 15px;
  }
  .mobile-sticky-bar {
    display: block;
  }
}
