/* playBIGai – Where AI Grows With You */
/* Design: Warm, trustworthy, growth-oriented */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  /* playBIGai brand colors – aligned with logo */
  --color-primary: #2A6F6D;
  --color-primary-dark: #1e524f;
  --color-primary-light: #3a8a87;
  --color-accent: #83CD3C;
  --color-accent-soft: #A8E3D0;
  --color-bg: #F9F9F7;
  --color-bg-alt: #f0f5f3;
  --color-text: #2d2a26;
  --color-text-muted: #5c5852;
  --color-white: #ffffff;
  --shadow-soft: 0 4px 24px rgba(42, 111, 109, 0.08);
  --shadow-medium: 0 8px 40px rgba(42, 111, 109, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--color-primary-dark); }

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

/* Layout */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(249, 249, 247, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 111, 109, 0.1);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span { color: var(--color-accent); }

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  background: transparent;
}

/* Blend out light/white background if logo has one */
nav .logo-img,
.hero-logo {
  mix-blend-mode: multiply;
}

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

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

.nav-links a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-text);
}
.btn-accent:hover {
  background: #6bb82e;
  color: var(--color-white);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(42, 111, 109, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--color-primary-dark);
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin: 0.25rem auto 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Section blocks */
section {
  padding: 4rem 0;
}

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

section h2 {
  text-align: center;
  color: var(--color-primary-dark);
  margin-bottom: 2.5rem;
}

section h2 + .container > p,
.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

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

.card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.card h3 {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* Features list */
.feature-list {
  list-style: none;
  max-width: 560px;
  margin: 0 auto;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-left: 0;
}

.feature-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--color-accent-soft);
  color: var(--color-primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
}

/* Page headers */
.page-header {
  padding: 6rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.page-header h1 {
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Footer */
footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0;
  margin-top: 4rem;
}

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

footer .logo {
  color: var(--color-white);
}

footer a {
  color: rgba(255,255,255,0.9);
}
footer a:hover {
  color: var(--color-accent);
}

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

/* Responsive */
@media (max-width: 640px) {
  .nav-links {
    gap: 1.25rem;
    font-size: 0.875rem;
  }
  
  .hero { padding: 6rem 0 4rem; }
  
  section { padding: 3rem 0; }
}
