/* ============================================
   Verijoy Studio — Official Website Styles
   ============================================ */

:root {
  --bg: #0d1117;
  --bg-soft: #141b24;
  --card: #1a2330;
  --border: #2a3646;
  --text: #e6edf3;
  --text-dim: #9db0c3;
  --accent: #4f8cff;
  --accent-2: #7c5cff;
  --radius: 14px;
  --max-w: 1080px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}

.brand:hover {
  text-decoration: none;
}

.brand .logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.site-nav {
  display: flex;
  gap: 26px;
}

.site-nav a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(79, 140, 255, 0.18), transparent),
    radial-gradient(ellipse 40% 40% at 80% 10%, rgba(124, 92, 255, 0.12), transparent);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(120deg, #ffffff 30%, #9db9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.tagline {
  margin: 20px auto 0;
  max-width: 640px;
  font-size: 1.15rem;
  color: var(--text-dim);
}

.hero .cta-row {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(79, 140, 255, 0.35);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-soft);
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-dim);
  max-width: 680px;
  margin-bottom: 40px;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(79, 140, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-dim);
  font-size: 0.94rem;
}

.badge {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(79, 140, 255, 0.12);
  border: 1px solid rgba(79, 140, 255, 0.3);
}

/* ---------- Page (inner pages) ---------- */
.page {
  padding: 64px 0 80px;
}

.page h1 {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.page .page-sub {
  color: var(--text-dim);
  margin-bottom: 40px;
}

.page h2 {
  font-size: 1.3rem;
  margin: 36px 0 12px;
}

.page p,
.page li {
  color: var(--text-dim);
  margin-bottom: 10px;
}

.page ul {
  padding-left: 22px;
}

.page strong {
  color: var(--text);
}

/* ---------- Info table (About / Contact) ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  width: 220px;
  color: var(--text-dim);
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.02);
}

.info-table td {
  color: var(--text);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 36px 0;
  text-align: center;
}

.site-footer .footer-nav {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer .footer-nav a {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.site-footer .copyright {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.9;
}

.site-footer .copyright .legal-line {
  font-size: 0.82rem;
  opacity: 0.85;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .hero {
    padding: 70px 0 60px;
  }

  .info-table th {
    width: 130px;
    white-space: normal;
  }
}
