/* ============================================
   GasFree4u Clone - Shared Styles
   Three-language support: English, Spanish, Chinese
   ============================================ */

:root {
  --bg-primary: #0a0e27;
  --bg-secondary: #0f1733;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(96, 165, 250, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #a3b8d9;
  --text-muted: #6b7da3;
  --accent-blue: #60a5fa;
  --accent-cyan: #22d3ee;
  --accent-purple: #a78bfa;
  --accent-green: #34d399;
  --accent-red: #f87171;
  --accent-yellow: #fbbf24;
  --gradient-blue: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
  --gradient-purple: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  --gradient-green: linear-gradient(135deg, #34d399 0%, #22d3ee 100%);
  --gradient-red: linear-gradient(135deg, #f87171 0%, #fbbf24 100%);
  --shadow-glow: 0 8px 32px rgba(96, 165, 250, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

[data-lang="zh"] body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

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

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

/* ===== Star background ===== */
.bg-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(2px 2px at 20px 30px, white, transparent),
    radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, white, transparent),
    radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 200px 50px, white, transparent),
    radial-gradient(1px 1px at 250px 160px, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 300px 220px, white, transparent),
    radial-gradient(1px 1px at 350px 100px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 400px 250px, white, transparent);
  background-size: 450px 450px;
  background-repeat: repeat;
  opacity: 0.4;
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(96, 165, 250, 0.4);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.nav a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.lang-switcher a {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.lang-switcher a:hover {
  color: var(--text-primary);
}

.lang-switcher a.active {
  background: var(--gradient-blue);
  color: var(--bg-primary);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gradient-blue);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--bg-primary);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero h1 .gradient {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--gradient-blue);
  color: var(--bg-primary);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(96, 165, 250, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
}

/* ===== Angel illustration ===== */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.angel-illustration {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}

.angel-circle {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(96, 165, 250, 0.3);
  animation: rotate 30s linear infinite;
}

.angel-circle::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.angel-orb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.angel-core {
  width: 60%;
  height: 60%;
  background: radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.4), rgba(96, 165, 250, 0.2) 50%, transparent 70%);
  border-radius: 50%;
  position: relative;
  filter: blur(1px);
}

.angel-core::before {
  content: '👼';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  filter: drop-shadow(0 0 30px rgba(167, 139, 250, 0.5));
}

.angel-wing {
  position: absolute;
  top: 50%;
  width: 35%;
  height: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border-radius: 100% 0 100% 0;
  transform-origin: right center;
}

.angel-wing.left {
  left: 5%;
  transform: translateY(-50%) rotate(-15deg);
  border-radius: 0 100% 0 100%;
}

.angel-wing.right {
  right: 5%;
  transform: translateY(-50%) rotate(15deg) scaleX(-1);
}

.angel-planet {
  position: absolute;
  border-radius: 50%;
}

.angel-planet.p1 {
  top: 10%;
  right: 15%;
  width: 18px;
  height: 18px;
  background: var(--accent-cyan);
  box-shadow: 0 0 20px var(--accent-cyan);
}

.angel-planet.p2 {
  bottom: 15%;
  right: 8%;
  width: 14px;
  height: 14px;
  background: var(--accent-yellow);
  box-shadow: 0 0 20px var(--accent-yellow);
}

.angel-planet.p3 {
  bottom: 25%;
  left: 10%;
  width: 10px;
  height: 10px;
  background: var(--accent-purple);
  box-shadow: 0 0 16px var(--accent-purple);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Section ===== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Process steps ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s;
}

.process-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.process-number {
  width: 36px;
  height: 36px;
  background: var(--gradient-blue);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.process-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.process-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.process-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(96, 165, 250, 0.1);
  color: var(--accent-blue);
  font-size: 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  align-self: flex-start;
}

/* ===== Notice banner ===== */
.notice {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 32px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.notice-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.notice-content {
  flex: 1;
}

.notice-title {
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 4px;
  font-size: 14px;
}

.notice-text {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== Comparison ===== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  text-align: center;
}

.comparison-card.green {
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.05);
}

.comparison-card.red {
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.05);
}

.comparison-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.comparison-card.green .comparison-label {
  background: rgba(52, 211, 153, 0.15);
  color: var(--accent-green);
}

.comparison-card.red .comparison-label {
  background: rgba(248, 113, 113, 0.15);
  color: var(--accent-red);
}

.comparison-amount {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.comparison-card.green .comparison-amount {
  color: var(--accent-green);
}

.comparison-card.red .comparison-amount {
  color: var(--accent-red);
}

.comparison-detail {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.comparison-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
}

.comparison-status.good {
  background: rgba(52, 211, 153, 0.15);
  color: var(--accent-green);
}

.comparison-status.bad {
  background: rgba(248, 113, 113, 0.15);
  color: var(--accent-red);
}

/* ===== Mockup phones ===== */
.phone-mockup {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.06), rgba(167, 139, 250, 0.04));
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  margin-bottom: 24px;
}

.phone-pair {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.phone {
  width: 110px;
  height: 200px;
  background: linear-gradient(180deg, #1a1f3a, #0f1733);
  border-radius: 18px;
  border: 2px solid rgba(96, 165, 250, 0.4);
  padding: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 4px;
  background: rgba(96, 165, 250, 0.5);
  border-radius: 4px;
}

.phone-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-green);
}

.phone-amount.bad {
  color: var(--accent-red);
}

.phone-circle {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--accent-red);
  border-radius: 50%;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.6;
}

/* ===== Address box ===== */
.address-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.address-text {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--text-secondary);
  word-break: break-all;
  flex: 1;
  min-width: 200px;
}

.copy-btn {
  padding: 10px 20px;
  background: var(--gradient-blue);
  color: var(--bg-primary);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
}

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

.copy-btn.copied {
  background: var(--gradient-green);
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

.pricing-card .process-number {
  margin-bottom: 16px;
}

.pricing-amount {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 12px 0 8px;
}

.pricing-detail {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== CTA buttons ===== */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
}

.cta-card.whatsapp {
  background: #25D366;
  color: white;
}

.cta-card.whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.cta-card.telegram {
  background: #0088cc;
  color: white;
}

.cta-card.telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.3);
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

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

.faq-item:hover {
  border-color: var(--border-glow);
}

.faq-item.open {
  border-color: var(--border-glow);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(96, 165, 250, 0.15);
  color: var(--accent-blue);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-secondary);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.faq-answer-inner p {
  margin-bottom: 10px;
}

.faq-answer-inner strong {
  color: var(--text-primary);
}

.faq-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  font-style: italic;
}

.faq-footer-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===== Footer ===== */
.footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  text-align: center;
  margin-top: 40px;
}

.footer-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero-grid,
  .comparison-grid,
  .pricing-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
  }

  .hero-visual {
    min-height: 320px;
  }

  .angel-core::before {
    font-size: 80px;
  }
}

@media (max-width: 568px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 60px 0 40px;
  }
}

