/* ══════════════════════════════════════════
   Reedy Lab — style.css
   ══════════════════════════════════════════ */

/* ── Reset & Tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0F172A;
  --surface:   #1E293B;
  --surface-2: #273548;
  --accent:    #38BDF8;
  --accent-2:  #7DD3FC;
  --text:      #F1F5F9;
  --text-dim:  #94A3B8;
  --border:    #334155;
  --radius:    12px;
  --max-w:     1120px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

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


/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 680px; }


/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 23, 42, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding .25s;
  padding: 14px 0;
}
.site-header.scrolled { padding: 8px 0; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo img { height: 36px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a { color: var(--text-dim); font-size: 14px; font-weight: 500; transition: color .15s; }
.header-nav a:hover { color: var(--text); }


/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  border: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--accent); color: var(--bg);
}
.btn-primary:hover { background: var(--accent-2); color: var(--bg); }

.btn-outline {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover { background: rgba(56, 189, 248, .1); color: var(--accent-2); }

.btn-sm { padding: 6px 14px; font-size: 13px; }

.btn-disabled {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border); cursor: default; opacity: .6;
}

.icon { width: 18px; height: 18px; flex-shrink: 0; }


/* ── Hero ── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(56, 189, 248, .08) 0%, transparent 100%),
    var(--bg);
}
.hero-inner { max-width: 640px; margin: 0 auto; }

.hero-logo { height: 56px; margin: 0 auto 28px; }

.hero-tagline {
  font-size: 18px; font-weight: 500;
  color: var(--accent); letter-spacing: .5px;
  margin-bottom: 18px;
}
.hero-desc {
  font-size: 16px; color: var(--text-dim);
  line-height: 1.7; margin-bottom: 32px;
}


/* ── Sections ── */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }

.section-title {
  font-size: 28px; font-weight: 700;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-dim); font-size: 15px;
  margin-bottom: 40px;
}


/* ── Card Grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 30px rgba(0, 0, 0, .3);
}

.section-alt .card { background: var(--surface-2); }

.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.card-head h3 { font-size: 18px; font-weight: 700; }

.card p {
  color: var(--text-dim); font-size: 14px;
  line-height: 1.65; flex: 1;
}

.card .btn { align-self: flex-start; margin-top: auto; }

.card { position: relative; overflow: hidden; }

.card-platform {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  color: var(--text-dim);
  opacity: .25;
  transition: opacity .2s;
}
.card:hover .card-platform { opacity: .45; }
.card-platform svg { width: 100%; height: 100%; }

.card-placeholder { border-style: dashed; }


/* ── Badges ── */
.badge {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; padding: 4px 10px;
  border-radius: 999px; white-space: nowrap;
}
.badge-available { background: rgba(34, 197, 94, .15); color: #4ade80; }
.badge-soon { background: rgba(250, 204, 21, .12); color: #facc15; }


/* ── About ── */
.about-text {
  font-size: 16px; color: var(--text-dim);
  line-height: 1.8; text-align: center;
}


/* ── Contact ── */
.contact-links {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.contact-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; color: var(--text-dim);
  transition: color .15s;
}
.contact-item:hover { color: var(--accent); }
.contact-item .icon { width: 20px; height: 20px; }


/* ── Footer ── */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-copy { font-size: 14px; color: var(--text-dim); }
.footer-license { font-size: 12px; color: var(--text-dim); opacity: .7; }
.footer-links { display: flex; gap: 20px; margin-top: 4px; }
.footer-links a { font-size: 13px; color: var(--text-dim); }
.footer-links a:hover { color: var(--accent); }


/* ── Responsive ── */
@media (max-width: 640px) {
  .hero { padding: 130px 0 60px; }
  .hero-logo { height: 44px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 22px; }

  .header-nav { gap: 16px; }
  .header-nav a { font-size: 13px; }

  .card-grid { grid-template-columns: 1fr; }
}
