/* SoftEther VPN — softethervpn.lol */
/* Japanese-engineered indigo + sakura aesthetic */

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

:root {
  --primary: #1E215C;
  --primary-soft: #2D316E;
  --accent: #F9A8D4;
  --accent-deep: #EC4899;
  --bg: #FFF9F5;
  --bg-alt: #F5EFEA;
  --text: #1A1A2E;
  --text-muted: #525078;
  --card-bg: #FFFFFF;
  --border: #E8DED4;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(30, 33, 92, 0.08);
  --shadow-lg: 0 14px 40px rgba(30, 33, 92, 0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title,
h2.heading-serif,
.about-heading,
.uses-heading,
.faq-heading,
.cta-heading,
.pricing-heading {
  font-family: 'Hina Mincho', serif;
  font-weight: 400;
  letter-spacing: 0;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ============ HEADER (Nav A: white sticky + shadow) ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 245, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(30, 33, 92, 0.06);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 10px rgba(30, 33, 92, 0.25);
}

.brand-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

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

.nav-links a.nav-cta {
  background: var(--accent);
  padding: 10px 20px;
  border-radius: 10px;
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(249, 168, 212, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-links a.nav-cta:hover {
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(249, 168, 212, 0.6);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.25s;
}

.mobile-menu {
  display: none;
  background: var(--card-bg);
  padding: 18px 22px 24px;
  border-top: 1px solid var(--border);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed var(--border);
}

.mobile-menu a:last-child { border-bottom: 0; }

/* ============ HERO (A: gradient + form-card overlay) ============ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(249, 168, 212, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(236, 72, 153, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, #1E215C 0%, #2D316E 55%, #4338CA 100%);
  color: #fff;
  padding: 90px 0 130px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(255, 255, 255, 0.06) 0%, transparent 30%),
    radial-gradient(circle at 75% 65%, rgba(249, 168, 212, 0.12) 0%, transparent 25%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(249, 168, 212, 0.35);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}

.hero h1 .accent-word {
  background: linear-gradient(120deg, var(--accent) 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 11px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 8px 24px rgba(249, 168, 212, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(249, 168, 212, 0.55);
  background: var(--accent-deep);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.trust-row span::before {
  content: "◆ ";
  color: var(--accent);
  margin-right: 4px;
}

/* Form-card overlay */
.hero-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  padding: 32px 28px;
  color: var(--text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  position: relative;
  border-top: 4px solid var(--accent);
}

.hero-card-label {
  font-family: 'Hina Mincho', serif;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.hero-card h3 {
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--text);
}

.hero-card-list {
  list-style: none;
  margin-bottom: 22px;
}

.hero-card-list li {
  padding: 11px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.hero-card-list li:last-child { border-bottom: 0; }

.hero-card-list strong {
  color: var(--primary);
  font-weight: 600;
}

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

/* ============ STATS BAR ============ */
.stats {
  background: var(--bg-alt);
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-cell {
  padding: 14px 8px;
}

.stat-num {
  font-family: 'Hina Mincho', serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ============ SECTIONS (alternating bg) ============ */
section { padding: 90px 0; }

.section-white { background: var(--bg); }
.section-cream { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
  font-weight: 600;
}

.section-title {
  font-size: clamp(28px, 3.8vw, 42px);
  margin-bottom: 18px;
  color: var(--primary);
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============ FEATURES (Cards B: coloured border-top) ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--card-bg);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.feature-card:nth-child(2) { border-top-color: var(--accent-deep); }
.feature-card:nth-child(3) { border-top-color: #4338CA; }
.feature-card:nth-child(4) { border-top-color: var(--accent); }
.feature-card:nth-child(5) { border-top-color: #6366F1; }
.feature-card:nth-child(6) { border-top-color: #BE185D; }

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Hina Mincho', serif;
  font-size: 22px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============ DOWNLOAD / PLATFORMS ============ */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.platform-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
}

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

.platform-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: var(--bg-alt);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: 'Hina Mincho', serif;
  color: var(--primary);
  font-size: 22px;
  font-weight: 400;
}

.platform-card h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.platform-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ ABOUT / WHY-SOFTETHER text block ============ */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-text p:first-of-type {
  font-size: 18px;
  color: var(--text);
}

.about-pillars {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-deep);
}

.about-pillars h3 {
  font-family: 'Hina Mincho', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 20px;
}

.pillar {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.pillar:last-child { border-bottom: 0; }

.pillar-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text);
}

.pillar-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============ USE-CASES ============ */
.uses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.use-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--border);
}

.use-num {
  font-family: 'Hina Mincho', serif;
  font-size: 32px;
  color: var(--accent-deep);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}

.use-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.use-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============ PRICING (gradient card) ============ */
.pricing-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(249, 168, 212, 0.5) 0%, transparent 60%),
    linear-gradient(135deg, #1E215C 0%, #4338CA 100%);
  color: #fff;
  border-radius: 22px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(30, 33, 92, 0.25);
}

.pricing-card::before {
  content: "桜";
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: 'Hina Mincho', serif;
  font-size: 90px;
  color: rgba(249, 168, 212, 0.18);
  line-height: 1;
}

.pricing-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.pricing-price {
  font-family: 'Hina Mincho', serif;
  font-size: 64px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1;
}

.pricing-price small {
  font-size: 18px;
  opacity: 0.7;
  margin-left: 6px;
}

.pricing-sub {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 28px;
}

.pricing-list {
  list-style: none;
  text-align: left;
  max-width: 360px;
  margin: 0 auto 32px;
}

.pricing-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 15px;
  position: relative;
  padding-left: 22px;
}

.pricing-list li::before {
  content: "✦";
  color: var(--accent);
  position: absolute;
  left: 0;
}

.pricing-card .btn {
  font-size: 16px;
  padding: 16px 36px;
}

/* ============ CTA banner ============ */
.cta-banner {
  background: var(--bg-alt);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  font-family: 'Hina Mincho', serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--primary);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ============ FAQ accordion ============ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

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

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

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 26px;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  font-family: 'Hina Mincho', serif;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.2s;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a { max-height: 500px; }

.faq-a-inner {
  padding: 0 26px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* ============ FOOTER (4 dark cols) ============ */
.site-footer {
  background: #14172E;
  color: #C4C2D9;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #fff;
  font-family: 'Hina Mincho', serif;
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #9D9BB5;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: #9D9BB5;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #6E6C8A;
}

/* ============ INSTRUCTION PAGE ============ */
.instr-hero {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(249, 168, 212, 0.45) 0%, transparent 55%),
    linear-gradient(135deg, #1E215C 0%, #4338CA 100%);
  color: #fff;
  padding: 90px 0 110px;
  text-align: center;
}

.instr-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 18px;
}

.instr-hero p {
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.88;
}

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

.step-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 36px 32px;
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow);
}

.step-card:nth-child(2) { border-top-color: var(--accent-deep); }

.step-num {
  font-family: 'Hina Mincho', serif;
  font-size: 60px;
  font-weight: 400;
  color: var(--accent-deep);
  line-height: 1;
  margin-bottom: 10px;
}

.step-card h2 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--primary);
}

.step-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.step-card .btn {
  margin-top: 8px;
}

.after-pay {
  background: var(--bg-alt);
}

.after-pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.after-pay-text h2 {
  font-family: 'Hina Mincho', serif;
  font-weight: 400;
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
}

.after-pay-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.after-pay-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.after-pay-platforms a {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 18px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: 0.2s;
}

.after-pay-platforms a:hover {
  border-color: var(--accent-deep);
  color: var(--primary);
}

/* ============ FADE-UP ANIM ============ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 80px; }
  .features-grid, .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .about-block { grid-template-columns: 1fr; gap: 30px; }
  .uses-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .after-pay-grid { grid-template-columns: 1fr; }
  .after-pay-platforms { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .features-grid, .platforms-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .pricing-card { padding: 36px 24px; }
  .pricing-price { font-size: 48px; }
  .stat-num { font-size: 30px; }
}
