/* TackleIQ — style.css */

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

:root {
  --navy:      #0f3a52;
  --navy-deep: #0d2e42;
  --blue:      #1a6b8a;
  --orange:    #ff6b35;
  --white:     #ffffff;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  background: #0f3a52;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 0;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  display: block;
}

/* ── Signup form ─────────────────────────────────────── */
.signup-wrap {
  width: 100%;
  max-width: 500px;
  margin: 24px auto 0;
}

.signup-form {
  display: flex;
  gap: 10px;
}

.signup-form input[type="email"] {
  flex: 1;
  padding: 15px 18px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 0.97rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  min-width: 0;
}
.signup-form input[type="email"]::placeholder { color: rgba(255,255,255,0.38); }
.signup-form input[type="email"]:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.1);
}

.btn-cta {
  padding: 15px 24px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.97rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 22px rgba(255,107,53,0.38);
}
.btn-cta:hover {
  background: #ff8050;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.5);
}
.btn-cta:active { transform: translateY(0); }
.btn-cta:disabled { opacity: 0.7; cursor: default; transform: none; }

.form-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-top: 11px;
}

/* ── Social links ────────────────────────────────────── */
.social-wrap {
  text-align: center;
  margin: 16px auto;
}

.social-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.36);
  margin-bottom: 8px;
}

.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}
.social-link:hover {
  background: rgba(255,107,53,0.18);
  border-color: rgba(255,107,53,0.45);
  transform: translateY(-2px);
}
.social-link svg {
  width: 15px;
  height: 15px;
  fill: var(--white);
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  margin-top: 16px;
  background: #08202f;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.36);
}
.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.44);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-sep { color: rgba(255,255,255,0.18); font-size: 0.72rem; }

/* ── Privacy page ────────────────────────────────────── */
.privacy-nav-bar {
  background: rgba(13, 46, 66, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
}
.privacy-nav-bar nav,
nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--orange); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.privacy-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 100px 24px 56px;
  text-align: center;
}
.privacy-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.privacy-hero p { color: rgba(255,255,255,0.5); font-size: 0.95rem; }
.section-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.privacy-body {
  background: #f2f6f9;
  color: #1a2a38;
  padding: 64px 0 96px;
}
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.privacy-content h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 44px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(15,58,82,0.1);
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: #1a3a52;
  margin: 20px 0 7px;
}
.privacy-content p,
.privacy-content li {
  font-size: 0.97rem;
  line-height: 1.8;
  color: #3b5060;
}
.privacy-content ul,
.privacy-content ol { padding-left: 22px; margin: 10px 0; }
.privacy-content li { margin-bottom: 5px; }
.privacy-content a { color: var(--blue); text-decoration: none; }
.privacy-content a:hover { text-decoration: underline; }
.privacy-content strong { color: #1a2a38; }
.last-updated-box {
  background: rgba(26,107,138,0.08);
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  padding: 13px 18px;
  margin-bottom: 36px;
  font-size: 0.9rem;
  color: #3b5060;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-image { max-width: 100%; }
}

@media (max-width: 520px) {
  .signup-form { flex-direction: column; }
  .btn-cta { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
}
