/* PlayBig AI — Brand Stylesheet */

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

:root {
  --charcoal: #2B2F33;
  --ai-blue: #3B82F6;
  --glow-blue: #60A5FA;
  --white: #FFFFFF;
  --grey: #6B7280;
  --bg: #FFFFFF;
  --bg-alt: #F9FAFB;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); letter-spacing: -0.015em; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 0.5rem; }

a {
  color: var(--ai-blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--glow-blue); }

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--grey);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--ai-blue);
  transition: width 0.2s;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--charcoal);
}

/* ── Mobile Nav ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--charcoal);
  margin: 4px 0;
  transition: 0.2s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--ai-blue);
  color: var(--white);
}
.btn-primary:hover {
  background: #2563EB;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--ai-blue);
  color: var(--ai-blue);
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
  padding: 10rem 0 6rem;
  text-align: center;
  background: url('../images/Homebkg.png') center center / cover no-repeat;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-logo {
  max-width: 460px;
  margin: 0 auto 2rem;
  display: block;
}

.hero .tagline {
  font-size: 1.125rem;
  color: var(--grey);
  margin: 0 auto 2.5rem;
  max-width: 540px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Sections ── */
section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

section h2 {
  text-align: center;
}

.section-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: var(--grey);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* ── Spark accent ── */
.spark {
  color: var(--ai-blue);
  font-style: normal;
}

/* ── Pillar label ── */
.pillar-label {
  display: inline-block;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ai-blue);
  margin-bottom: 0.75rem;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--glow-blue);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--charcoal);
}

.card p {
  color: var(--grey);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.team-illustration-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.team-illustration-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card .role {
  color: var(--ai-blue);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* ── Feature list ── */
.feature-list {
  list-style: none;
  max-width: 580px;
  margin: 0 auto;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.125rem;
  color: var(--charcoal);
  font-size: 0.9375rem;
}

.feature-list li::before {
  content: '\2726';
  color: var(--ai-blue);
  font-size: 0.875rem;
  line-height: 1.7;
  flex-shrink: 0;
}

/* ── Page headers ── */
.page-header {
  padding: 8rem 0 3.5rem;
  text-align: center;
  background: url('../images/sitebackground.png') center center / cover no-repeat;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--grey);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── The Gap section (problem page) ── */
.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.card-illustration {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  border-radius: 8px;
}

/* ── Section diagram ── */
.section-diagram {
  display: block;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ── Quote block ── */
.quote-block {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* ── Contact section ── */
.contact-info {
  max-width: 480px;
  margin: 3rem auto 0;
  text-align: center;
}

.contact-info h3 {
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: var(--grey);
  line-height: 1.8;
}

/* ── Partner feature ── */
.partner-feature {
  max-width: 800px;
  margin: 0 auto;
}

.partner-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.partner-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
}

.partner-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ai-blue);
  background: rgba(59, 130, 246, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.partner-tagline {
  font-size: 1.125rem;
  color: var(--grey);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.partner-body p {
  color: var(--charcoal);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.partner-feature .card-grid {
  margin-top: 1.25rem;
}

.partner-feature .card {
  padding: 1.5rem;
}

.partner-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
footer {
  background: var(--charcoal);
  padding: 2.5rem 0;
  margin-top: 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

footer .logo-img {
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

footer .footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

/* ── Utility ── */
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero { padding: 7rem 0 4rem; }
  .hero-logo { max-width: 260px; }
  section { padding: 3.5rem 0; }
  .page-header { padding: 6.5rem 0 2.5rem; }
  .gap-grid { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }
}
