/* ============================================================
   Tekkr AI Landing Page — Styles
   Design System: 06-Resources/Tekkr_Design_System_Guide.md
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #13171a;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* --- Containers --- */
.container-small  { max-width: 48rem; margin: 0 auto; }
.container-medium { max-width: 64rem; margin: 0 auto; }
.container-large  { max-width: 1070px; margin: 0 auto; }

.padding-global { padding: 0 2rem; }

.padding-section-large  { padding: 6rem 0; }
.padding-section-medium { padding: 5rem 0; }

/* --- Typography --- */
h1, .h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h2, .h2 { font-size: 3rem; font-weight: 700; line-height: 1.2; }
h3, .h3 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; }
h4, .h4 { font-size: 2rem; font-weight: 700; line-height: 1.3; }
h5, .h5 { font-size: 1.5rem; font-weight: 600; line-height: 1.4; }
h6, .h6 { font-size: 1.25rem; font-weight: 400; line-height: 1.4; }

.text-secondary { color: #adbac4; }
.text-muted     { color: #788995; }
.text-brand     { color: #ba1d68; }
.text-large     { font-size: 1.25rem; }
.text-small     { font-size: 0.875rem; }
.text-center    { text-align: center; }

.gradient-text {
  filter: drop-shadow(0 0 5px #eb478d63);
  letter-spacing: -0.08rem;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(284deg, #de458e, #dc9191);
  -webkit-background-clip: text;
  background-clip: text;
}

.max-w-prose { max-width: 640px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ba1d68;
  background-color: #ba1d68;
  color: #fff;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.2s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn:hover { background-color: #ba1d68e6; }

.btn-glow { box-shadow: 0 0 10px #ba1d6866; }
.btn-glow:hover { box-shadow: 0 0 10px 4px #ba1d6866; }

.btn-secondary {
  background-color: #13171a;
  border-color: #27333c;
  color: #fff;
}
.btn-secondary:hover { background-color: #1f2326; }

.btn-link {
  background: none;
  border: none;
  color: #adbac4;
  padding: 0.75rem 1rem;
  font-weight: 500;
}
.btn-link:hover { color: #fff; }

.btn-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* --- Cards --- */
.card {
  border: 1px solid #27333c;
  background-color: #080b0e99;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 6px;
  padding: 2rem;
}

.card-active {
  border-left: 4px solid #ba1d68;
  background-color: #313d464d;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  min-height: 4.5rem;
  transition: background-color 0.3s;
}
.navbar.scrolled {
  background-color: #13171aee;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
}
.navbar-logo {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar-logo .ai-badge {
  color: #ba1d68;
  font-weight: 800;
}
.navbar-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.navbar-links a {
  font-size: 1rem;
  font-weight: 500;
  color: #adbac4;
  transition: color 0.2s;
}
.navbar-links a:hover { color: #fff; }
.navbar-ctas {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  opacity: 0.55;
  cursor: pointer;
}
.hamburger span {
  background-color: #adbac4;
  width: 24px;
  height: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger span:nth-child(2) { margin: 6px 0; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 5%;
  right: 5%;
  border: 1px solid #27333c;
  background-color: #171e23f2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 2rem;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: #adbac4;
}
.mobile-menu a:hover { color: #fff; }
.mobile-menu .btn { margin-top: 1rem; text-align: center; }

/* --- Hero --- */
.hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero-sub {
  font-size: 1.25rem;
  color: #adbac4;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero .btn-group { justify-content: center; margin-bottom: 3rem; }

.hero-screenshot {
  max-width: 1000px;
  margin: 0 auto 3rem;
  border: 1px solid #27333c;
  border-radius: 12px;
  background: linear-gradient(135deg, #080b0e 0%, #1a1f24 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px #ba1d6830;
}
.hero-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  border-radius: 12px;
}

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: #788995;
  font-size: 0.875rem;
}
.trust-logos {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.trust-logos span {
  padding: 0.25rem 0.75rem;
  border: 1px solid #27333c;
  border-radius: 99px;
  font-size: 0.75rem;
  color: #adbac4;
}

/* --- Section common --- */
.section { position: relative; }
.section-header {
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  color: #adbac4;
  font-size: 1.125rem;
  max-width: 700px;
  line-height: 1.7;
}
.section-header.centered {
  text-align: center;
}
.section-header.centered p {
  margin: 0 auto;
}

/* --- Problem Section --- */
.section-gradient {
  background: linear-gradient(180deg, #13171a, #1a1f24 50%, #13171a);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.problem-card {
  padding: 2rem;
  border-top: 3px solid #ba1d6840;
  transition: border-color 0.3s;
}
.problem-card:hover { border-top-color: #ba1d68; }
.problem-card h5 { margin-bottom: 0.75rem; color: #fff; }
.problem-card p { color: #adbac4; font-size: 0.95rem; }

/* --- Analytics (Sticky Scroll) --- */
.analytics-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.analytics-left {
  position: sticky;
  top: 30%;
  align-self: start;
}
.analytics-left h2 { margin-bottom: 1rem; }
.analytics-left p { color: #adbac4; font-size: 1.125rem; line-height: 1.7; }
.analytics-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.analytics-card { padding: 2rem; }
.analytics-card h5 { margin-bottom: 0.5rem; }
.analytics-card p { color: #adbac4; font-size: 0.95rem; }
.analytics-card .badge {
  display: inline-block;
  background-color: #080b0e99;
  color: #adbac4;
  border-radius: 99px;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border: 1px solid #27333c;
}

/* Feature screenshots inside cards */
.feature-screenshot {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #27333c;
  margin-top: 1.5rem;
  box-shadow: 0 8px 24px -4px #00000050;
  background: #fff;
}

.governance-screenshot {
  margin-top: 2.5rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #27333c;
  box-shadow: 0 8px 20px -4px #ba1d6830;
}
.governance-screenshot img {
  width: 100%;
  display: block;
}

/* --- Governance --- */
.governance-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.governance-card {
  border-style: solid;
  border-width: 4px 1px 1px;
  border-color: #ba1d68 #27333c #27333c;
  background-color: #080b0e99;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 2rem;
}
.governance-card h5 { margin-bottom: 0.75rem; }
.governance-card p { color: #adbac4; font-size: 0.95rem; }

.callout-quote {
  border-left: 4px solid #ba1d68;
  margin: 3rem 0;
  padding: 1rem 0 1rem 1.5rem;
  font-size: 1.25rem;
  font-style: italic;
  color: #adbac4;
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.step { text-align: center; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #ba1d68;
  color: #ba1d68;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.step h5 { margin-bottom: 0.5rem; }
.step p { color: #adbac4; font-size: 0.95rem; }

/* --- Platform Support --- */
.platform-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.platform-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  border: 1px solid #27333c;
  border-radius: 6px;
  min-width: 160px;
  background-color: #080b0e99;
}
.platform-logo.dimmed { opacity: 0.4; }
.platform-logo .logo-name { font-weight: 600; font-size: 1rem; }
.platform-logo .logo-status { font-size: 0.75rem; color: #788995; }

/* --- Social Proof --- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.proof-card { padding: 2rem; }
.proof-card blockquote {
  font-size: 1.125rem;
  color: #adbac4;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}
.proof-card .attribution {
  font-size: 0.875rem;
  color: #788995;
}
.credibility-line {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #adbac4;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.pricing-card {
  border-style: solid;
  border-width: 4px 1px 1px;
  border-color: #ba1d68 #27333c #27333c;
  background-color: #080b0e99;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.pricing-card .plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.pricing-card .plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.pricing-card .plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #788995;
}
.pricing-divider {
  background-color: #27333c;
  width: 100%;
  height: 1px;
  margin: 1.5rem 0;
}
.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #adbac4;
}
.pricing-features li::before {
  content: '✓';
  color: #ba1d68;
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card .btn { margin-top: 2rem; width: 100%; }

/* --- Signup Form --- */
.signup-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.signup-text h2 { margin-bottom: 1rem; }
.signup-text p { color: #adbac4; font-size: 1.125rem; line-height: 1.7; }

.signup-form { padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #adbac4;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: #080b0e99;
  border: 1px solid #27333c;
  color: #fff;
  border-radius: 6px;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ba1d68;
}
.form-group textarea { min-height: 6rem; resize: vertical; }
.form-group select { appearance: none; cursor: pointer; }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.25rem; }
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #adbac4;
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: auto;
  accent-color: #ba1d68;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #788995;
}
.signup-form .btn { width: 100%; margin-top: 0.5rem; }

/* --- FAQ --- */
.faq-list { max-width: 48rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #27333c; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  width: 100%;
  color: #fff;
  text-align: left;
}
.faq-question:hover { color: #adbac4; }
.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
  color: #788995;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner {
  padding: 0 0 1.25rem;
  color: #adbac4;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- Final CTA --- */
.final-cta {
  text-align: center;
  padding: 4rem 0;
}
.final-cta h3 { margin-bottom: 1.5rem; }
.final-cta .btn { margin: 0 auto; }

/* --- Footer --- */
.footer {
  border-top: 1px solid #27333c;
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #adbac4;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #27333c;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-credit {
  font-size: 0.8rem;
  color: #788995;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.8rem;
  color: #788995;
}
.footer-legal a:hover { color: #adbac4; }

/* --- Divider --- */
.divider {
  background-color: #27333c;
  width: 100%;
  height: 1px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media screen and (max-width: 991px) {
  h1, .h1 { font-size: 3.25rem; }
  h2, .h2 { font-size: 2.75rem; }
  h3, .h3 { font-size: 2.25rem; }
  h4, .h4 { font-size: 1.75rem; }

  .padding-section-large { padding: 5rem 0; }
  .padding-section-medium { padding: 4rem 0; }

  .navbar-links, .navbar-ctas { display: none; }
  .hamburger { display: flex; }

  .analytics-layout { gap: 3rem; }
}

@media screen and (max-width: 767px) {
  h1, .h1 { font-size: 2.4rem; }
  h2, .h2 { font-size: 2.25rem; }
  h3, .h3 { font-size: 2rem; }
  h4, .h4 { font-size: 1.5rem; }

  .padding-section-large { padding: 4rem 0; }
  .padding-section-medium { padding: 3rem 0; }
  .padding-global { padding: 0 1.25rem; }

  .problem-grid,
  .governance-cards,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .analytics-layout {
    grid-template-columns: 1fr;
  }
  .analytics-left { position: static; }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .signup-layout { grid-template-columns: 1fr; gap: 2.5rem; }

  .hero-screenshot { max-width: 100%; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column-reverse; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media screen and (max-width: 479px) {
  h1, .h1 { font-size: 2rem; font-weight: 700; }
  h2, .h2 { font-size: 1.5rem; }
  h3, .h3 { font-size: 1.3rem; font-weight: 600; }

  .hero { padding-top: 6rem; }
  .hero-sub { font-size: 1rem; }
  .hero-screenshot { box-shadow: 0 0 110px #ba1d6866; }

  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-glow { max-width: 100%; font-size: 0.875rem; }

  .platform-logos { flex-direction: column; align-items: center; }
  .platform-logo { width: 100%; max-width: 280px; }
}
