/* ===== Goffice Global Style ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Inter:wght@400;500;600;700;900&display=swap');

:root {
  --c-bg: #0a0a1a;
  --c-bg-card: #141428;
  --c-bg-card-hover: #1c1c3a;
  --c-primary: #6c63ff;
  --c-primary-light: #8b83ff;
  --c-accent: #00e5ff;
  --c-gold: #ffd700;
  --c-text: #e8e8f0;
  --c-text-sub: #9999b8;
  --c-border: #2a2a4a;
  --c-success: #38ef7d;
  --c-danger: #ff5a5a;
  --font-jp: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --font-en: 'Inter', sans-serif;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.8;
  min-height: 100vh;
}

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

/* ----- Header / Navigation ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,26,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  font-family: var(--font-en);
  font-size: 22px; font-weight: 900;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  color: var(--c-text-sub); font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--c-accent); opacity: 1; }

/* ----- Hero Section ----- */
.hero {
  text-align: center;
  padding: 100px 40px 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,99,255,0.15) 0%, transparent 60%);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900; line-height: 1.3;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--c-accent); }
.hero h1 .gold { color: var(--c-gold); }
.hero .subtitle {
  font-size: 18px; color: var(--c-text-sub);
  max-width: 600px; margin: 0 auto 40px;
}

/* ----- Cards Grid ----- */
.cards-section { padding: 40px; max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 28px; font-weight: 900; margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.section-desc { color: var(--c-text-sub); margin-bottom: 40px; font-size: 15px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: var(--c-text);
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--c-primary);
  opacity: 1;
}
.card-banner {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  position: relative; overflow: hidden;
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-badge {
  display: inline-block;
  background: var(--c-primary);
  color: white; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 12px; width: fit-content;
}
.card-badge.new { background: var(--c-success); color: #000; }
.card-badge.popular { background: var(--c-gold); color: #000; }
.card-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.card-desc { font-size: 14px; color: var(--c-text-sub); flex: 1; margin-bottom: 16px; }
.card-meta {
  display: flex; gap: 16px; font-size: 12px; color: var(--c-text-sub);
  border-top: 1px solid var(--c-border); padding-top: 12px;
}
.card-meta span { display: flex; align-items: center; gap: 4px; }

/* ----- CTA Banner ----- */
.cta-banner {
  background: linear-gradient(135deg, var(--c-primary), #4a3fbf);
  padding: 60px 40px; text-align: center;
  margin: 60px 40px; border-radius: var(--radius);
}
.cta-banner h2 { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.cta-btn {
  display: inline-block;
  background: white; color: var(--c-primary);
  padding: 14px 40px; border-radius: 30px;
  font-weight: 700; font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(0,0,0,0.3); opacity: 1; }

/* ----- Footer ----- */
.site-footer {
  text-align: center; padding: 40px;
  border-top: 1px solid var(--c-border);
  color: var(--c-text-sub); font-size: 13px;
}
.site-footer .social-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 16px; }
.site-footer .social-links a { font-size: 14px; color: var(--c-text-sub); }

/* ----- Download Page ----- */
.dl-hero {
  text-align: center; padding: 80px 40px 40px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,0.1) 0%, transparent 60%);
}
.dl-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-bottom: 16px; }
.dl-hero .lead { font-size: 16px; color: var(--c-text-sub); max-width: 600px; margin: 0 auto; }

.dl-list { max-width: 800px; margin: 40px auto; padding: 0 40px; }
.dl-item {
  background: var(--c-bg-card); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 28px;
  margin-bottom: 20px; display: flex; align-items: center; gap: 24px;
  transition: border-color 0.3s;
}
.dl-item:hover { border-color: var(--c-accent); }
.dl-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 20px; flex-shrink: 0;
}
.dl-info { flex: 1; }
.dl-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.dl-info p { font-size: 13px; color: var(--c-text-sub); }
.dl-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-accent); color: #000;
  padding: 10px 24px; border-radius: 8px;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
  transition: background 0.2s;
}
.dl-btn:hover { background: #00c8e0; opacity: 1; }

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .site-header { padding: 12px 20px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .hero { padding: 60px 20px 40px; }
  .cards-section { padding: 20px; }
  .cards-grid { grid-template-columns: 1fr; }
  .dl-item { flex-direction: column; text-align: center; }
  .cta-banner { margin: 40px 20px; padding: 40px 20px; }
}
