@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
  --accent:#2A51D1;
  --bg:#F5F7FB;
  --text:#222;
  --card:#fff;
}

body.dark {
  --bg:#111218;
  --text:#E8E8E8;
  --card:#1A1B22;
  --accent:#8AA4FF;
}

body {
  background:var(--bg);
  color:var(--text);
  font-family:Inter, sans-serif;
  margin:0;
  line-height:1.7;
  transition:.3s;
}

.header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 6%;
  background:var(--card);
  position:sticky; top:0;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.logo { font-size:26px; font-weight:800; color:var(--accent); }

.nav a {
  margin-left:20px;
  text-decoration:none;
  color:var(--accent);
  font-weight:600;
}

.theme-toggle { cursor:pointer; background:none; border:none; font-size:22px; }

.hero {
  text-align:center;
  padding:140px 6%;
  background:linear-gradient(135deg,var(--accent),#6ea7ff);
  color:white;
  border-bottom-left-radius:80px;
  border-bottom-right-radius:80px;
}

.cta {
  background:white;
  color:var(--accent);
  padding:14px 34px;
  font-weight:700;
  border-radius:30px;
  border:none;
  cursor:pointer;
  margin-top:22px;
}

.section { max-width:1200px; margin:100px auto; padding:0 6%; }

.grid {
  display:grid;
  gap:36px;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
}

.card {
  background:var(--card);
  border-radius:20px;
  padding:30px;
  box-shadow:0 12px 40px rgba(0,0,0,.08);
}

.app-screens { display:flex; gap:20px; justify-content:center; }
.screen {
  width:120px; height:220px; background:var(--card);
  border-radius:30px;
  display:flex; justify-content:center; align-items:center;
  font-size:40px;
  box-shadow:0 12px 30px rgba(0,0,0,.1);
}

.doc-links a {
  display:block;
  background:var(--card);
  padding:14px 22px;
  margin:12px 0;
  border-radius:12px;
  text-decoration:none;
  color:var(--accent);
  font-weight:600;
}

.faq details { margin-bottom:14px; }

.form-section form {
  background:var(--card);
  padding:30px;
  border-radius:20px;
  max-width:500px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* FOOTER */
footer {
  background: var(--card);
  padding: 80px 6% 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
  margin-bottom: 30px;
}

.footer-about h3 { color: var(--accent); font-size: 24px; margin-bottom: 16px; }
.footer-about p { font-size: 16px; line-height: 1.6; margin-bottom: 20px; }

.footer-socials a {
  margin-right: 15px;
  display: inline-block;
  font-size: 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform .3s, color .3s;
}
.footer-socials a:hover { transform: scale(1.1); color: var(--accent); }

.footer-links h4,
.footer-contact h4 {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { text-decoration: none; color: var(--text); transition: color .3s; }
.footer-links a:hover { color: var(--accent); }

.footer-contact p { margin-bottom: 12px; font-size: 16px; }
.footer-contact a { color: var(--text); text-decoration: none; transition: color .3s; }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: var(--text);
  opacity: .7;
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 20px;
}

.github-section {
  text-align:center;
  margin-top:120px;
}

.github-button {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 32px;
  background:var(--accent);
  color:white;
  font-weight:700;
  border-radius:14px;
  text-decoration:none;
  font-size:18px;
  transition:.3s;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.github-button:hover {
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(0,0,0,.28);
}

.github-button .gh-icon {
  font-size:22px;
}
