:root {
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.15);
  --secondary: #6366f1;
  --bg: #f8fafc;
  --bg-dots: rgba(37, 99, 235, 0.05);
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.08);
  --text-main: #0f172a;
  --text-secondary: #64748b;
  --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(var(--bg-dots) 1px, transparent 1px);
  background-size: 30px 30px;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--card-border);
}

.logo {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-box {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: -1;
  filter: blur(60px);
}

h1 {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--primary-glow);
}

.btn-outline {
  border: 1px solid var(--card-border);
  color: var(--text-main);
  background: var(--card-bg);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
  background: #f1f5f9;
  border-color: var(--primary);
}

/* Bento Grid Features */
.features {
  padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
}

.bento-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  box-shadow: var(--card-shadow);
}

.bento-item:hover {
    border-color: var(--primary);
}

.bento-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.bento-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* Credit System Section */
.credits {
    padding: 80px 0;
    margin: 40px 0;
}

.credit-card {
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.credit-card h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* Footer */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--card-border);
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-info p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-links h4 {
  margin-bottom: 24px;
  font-weight: 700;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

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

.copyright {
  margin-top: 80px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

@media (max-width: 968px) {
  h1 { font-size: 48px; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  h1 { font-size: 36px; }
  .hero-glow { width: 100%; }
  .bento-grid { grid-template-columns: 1fr; }
  .cta-group { flex-direction: column; }
}
