@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --bg:        #1a1c20;
  --surface:   #22252b;
  --elevated:  #2a2e36;
  --teal:      #2dd4bf;
  --teal2:     #0891b2;
  --text:      #f1f5f9;
  --text-sec:  #94a3b8;
  --text-muted:#64748b;
  --border:    rgba(255,255,255,0.08);
  --radius:    12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,28,32,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 960px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.nav-logo:hover { color: var(--teal); transition: color .2s; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--text-sec);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

/* ── WRAPPER ── */
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ── HERO ── */
.hero {
  padding: 160px 24px 120px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--teal), var(--teal2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-sec);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 32px; height: 48px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 500; cursor: pointer;
  transition: opacity .2s, background .2s;
  border: none; font-family: inherit;
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { background: rgba(255,255,255,.05); }
.btn-teal {
  background: linear-gradient(90deg, var(--teal), var(--teal2));
  color: #fff;
  box-shadow: 0 4px 24px rgba(45,212,191,.12);
}
.btn-teal:hover { opacity: .88; }

/* ── SECTION BASICS ── */
section { padding: 96px 24px; }
section.alt { background: rgba(34,37,43,.5); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px;
}
h2 { font-size: clamp(1.6rem, 4vw, 2rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.accent-line {
  width: 48px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal2));
  margin-bottom: 32px;
}

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.about-grid p { color: var(--text-sec); font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; }
@media(max-width:640px){ .about-grid { grid-template-columns: 1fr; } }

/* ── APPS ── */
.apps-header { margin-bottom: 56px; }
.apps-header p { color: var(--text-sec); font-size: 1.05rem; margin-top: 8px; }
.apps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:700px){ .apps-grid { grid-template-columns: 1fr; } }
@media(max-width:900px) and (min-width:701px){ .apps-grid { grid-template-columns: 1fr 1fr; } }
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: background .2s;
}
.app-card:hover { background: rgba(34,37,43,.7); }
.app-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(45,212,191,.1), rgba(8,145,178,.1));
  border: 1px solid rgba(45,212,191,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: transform .3s;
}
.app-card:hover .app-icon { transform: scale(1.06); }
.app-icon svg { width: 28px; height: 28px; color: var(--teal); stroke: var(--teal); }
.app-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.app-card p { font-size: .875rem; color: var(--text-sec); line-height: 1.6; }
.apps-note { margin-top: 40px; text-align: center; font-size: .82rem; color: var(--text-muted); }

/* ── CONTACT ── */
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 0; }
@media(max-width:640px){ .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.contact-card svg { width: 20px; height: 20px; stroke: var(--teal); margin-bottom: 16px; }
.contact-label {
  font-size: .65rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px;
}
.contact-card strong { display: block; color: var(--text); font-weight: 500; }
.contact-card small { color: var(--text-sec); font-size: .875rem; }
.contact-card a { color: var(--teal); font-weight: 500; transition: color .2s; }
.contact-card a:hover { color: var(--teal2); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 36px 24px;
}
.footer-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: .82rem; color: var(--text-muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-copy { font-size: .8rem; color: var(--text-muted); align-self: flex-start; }

/* ── LEGAL PAGES ── */
.legal-wrap { max-width: 720px; margin: 0 auto; padding: 120px 24px 80px; }
.legal-wrap h1 { font-size: clamp(1.8rem,4vw,2.5rem); font-weight: 700; margin-bottom: 8px; }
.legal-wrap .updated { color: var(--text-muted); font-size: .9rem; margin-bottom: 32px; }
.legal-body { color: var(--text-sec); line-height: 1.8; }
.legal-body p { margin-bottom: 16px; }
.legal-body h2 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin: 36px 0 10px; }
.legal-body ul { padding-left: 20px; margin-bottom: 16px; }
.legal-body ul li { margin-bottom: 6px; }
.legal-body a { color: var(--teal); }
.legal-body a:hover { color: var(--teal2); }
.legal-body address { font-style: normal; }
