:root {
  --bg-cream: #fdfbf7;
  --bg-cream-dark: #f6f3ed;
  --ink-black: #2d1e18;
  --ink-muted: #5c4d44;
  --ink-light: #8b796d;
  --border-width: 2.5px;
  
  /* Pastels & Accent */
  --color-purple: #e9e3ff;
  --color-purple-accent: #7c3aed;
  --color-pink: #ffe3ec;
  --color-pink-accent: #db2777;
  --color-green: #e1fbf0;
  --color-green-accent: #059669;
  --color-yellow: #fffbeb;
  --color-yellow-accent: #d97706;
  
  --shadow-offset: 5px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-cream);
  color: var(--ink-black);
  font-family: "Space Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-top: 80px; /* Space for fixed header */
  overflow-x: hidden;
}

/* Typography styles */
h1, h2, h3, h4, h5 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  line-height: 1.15;
}

p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header styling */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-cream);
  border-bottom: var(--border-width) solid var(--ink-black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.logo-icon {
  font-size: 26px;
  transform: rotate(-10deg);
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(5deg) scale(1.15);
}

.logo-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: var(--border-width);
  background: var(--ink-black);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Button styles with playful 3D shift effect */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 12px;
  border: var(--border-width) solid var(--ink-black);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
  user-select: none;
  background: #fff;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--ink-black);
}

.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: calc(var(--shadow-offset) + 3px) calc(var(--shadow-offset) + 3px) 0px var(--ink-black);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--ink-black);
}

.primary-cta {
  background: var(--color-purple-accent);
  color: #fff;
}

.primary-cta:hover {
  background: #8b5cf6;
}

.primary-cta.white-bg {
  background: #fff;
  color: var(--ink-black);
}

.secondary-cta {
  background: #fff;
  color: var(--ink-black);
}

.secondary-cta:hover {
  background: var(--bg-cream-dark);
}

.outline-cta {
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 3px 3px 0px var(--ink-black);
}

.outline-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--ink-black);
}

.outline-cta:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--ink-black);
}

.big-cta {
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 16px;
  background: var(--color-yellow);
  box-shadow: 6px 6px 0px var(--ink-black);
}

.big-cta:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0px var(--ink-black);
}

.big-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--ink-black);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  max-width: 1280px;
  margin: 60px auto;
  padding: 0 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.pill-badge {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-purple);
  border: var(--border-width) solid var(--ink-black);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 2px 2px 0px var(--ink-black);
}

.hero-title {
  font-size: 58px;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 19px;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

/* Mock Browser Container (Interactive Sandbox) */
.hero-visual {
  width: 100%;
}

.mock-browser {
  background: #fff;
  border: var(--border-width) solid var(--ink-black);
  border-radius: 20px;
  box-shadow: 8px 8px 0px var(--ink-black);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mock-header {
  background: var(--bg-cream-dark);
  height: 44px;
  border-bottom: var(--border-width) solid var(--ink-black);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-black);
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mock-address {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  border: 1.5px solid var(--ink-black);
  padding: 4px 20px;
  border-radius: 6px;
  color: var(--ink-muted);
}

.mock-status {
  margin-left: auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-black);
  letter-spacing: 0.05em;
}

.rec-dot-animated {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: red;
  display: inline-block;
  animation: recPulse 1.2s infinite alternate;
}

@keyframes recPulse {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

.mock-body {
  height: 380px;
  background-color: #faf9f6;
  background-image: radial-gradient(var(--ink-light) 0.5px, transparent 0.5px), radial-gradient(var(--ink-light) 0.5px, #faf9f6 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.95;
  position: relative;
  cursor: crosshair;
}

#sketchpad {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.mock-overlay-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  pointer-events: none;
  z-index: 5;
}

.avatar-holder {
  width: 110px;
  height: 80px;
  border: var(--border-width) solid var(--ink-black);
  border-radius: 12px;
  background: #ffd1df url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232d1e18' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3s-3-1.34-3-3s1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22c.03-1.99 4-3.08 6-3.08s5.97 1.09 6 3.08c-1.29 1.94-3.5 3.22-6 3.22z'/%3E%3C/svg%3E") no-repeat center;
  background-size: 40px;
  box-shadow: 3px 3px 0px var(--ink-black);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
}

.teacher-mock-badge {
  font-family: "Space Grotesk", sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  background: #fff;
  border: 1.5px solid var(--ink-black);
  padding: 1px 6px;
  border-radius: 4px;
}

.sketchpad-instructions {
  background: #fff;
  border: var(--border-width) solid var(--ink-black);
  padding: 8px 16px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  pointer-events: auto;
  box-shadow: 4px 4px 0px var(--ink-black);
}

.btn-clear-demo {
  background: var(--color-pink);
  border: 1.5px solid var(--ink-black);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.btn-clear-demo:hover {
  background: #fbcfe8;
}

/* Sections Shared Setup */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--ink-muted);
}

/* Features Grid */
.features-section {
  max-width: 1280px;
  margin: 100px auto;
  padding: 0 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-card {
  border: var(--border-width) solid var(--ink-black);
  border-radius: 20px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--ink-black);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: calc(var(--shadow-offset) + 4px) calc(var(--shadow-offset) + 4px) 0px var(--ink-black);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: var(--border-width) solid var(--ink-black);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 2px 2px 0px var(--ink-black);
}

.feature-name {
  font-size: 22px;
  font-weight: 800;
}

.feature-text {
  font-size: 15px;
}

.card-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 18px;
  opacity: 0.65;
}

.color-purple { background: var(--color-purple); }
.color-pink { background: var(--color-pink); }
.color-green { background: var(--color-green); }
.color-yellow { background: var(--color-yellow); }

/* How It Works Section */
.how-it-works-section {
  max-width: 1280px;
  margin: 120px auto;
  padding: 0 40px;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.step-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: var(--ink-light);
  opacity: 0.45;
  transition: all 0.3s ease;
}

.step-card:hover .step-num {
  color: var(--color-purple-accent);
  opacity: 1;
  transform: skewX(-5deg);
}

.step-title {
  font-size: 20px;
  font-weight: 800;
}

.step-desc {
  font-size: 15px;
}

/* Pricing Section */
.pricing-section {
  max-width: 1280px;
  margin: 100px auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
}

.pricing-card {
  width: 100%;
  max-width: 780px;
  border: var(--border-width) solid var(--ink-black);
  background: var(--bg-cream-dark);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 8px 8px 0px var(--ink-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pricing-tag {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.05em;
  background: #fff;
  border: var(--border-width) solid var(--ink-black);
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 2px 2px 0px var(--ink-black);
}

.pricing-title {
  font-size: 38px;
}

.pricing-desc {
  max-width: 580px;
  font-size: 16px;
}

.pricing-cta-box {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.pricing-cta-box small {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Vision Banner */
.banner-section {
  background: var(--ink-black);
  color: var(--bg-cream);
  padding: 80px 40px;
  text-align: center;
}

.banner-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.banner-content h2 {
  font-size: 38px;
  line-height: 1.2;
}

.banner-content p {
  color: #c9bcae;
  font-size: 18px;
  margin-bottom: 10px;
}

/* Footer Section */
.footer {
  background: var(--bg-cream-dark);
  border-top: var(--border-width) solid var(--ink-black);
  padding: 60px 40px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  max-width: 1920px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-desc {
  font-size: 14px;
  max-width: 320px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 80px;
}

.link-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-group h5 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-light);
  margin-bottom: 4px;
}

.link-group a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
}

.link-group a:hover {
  color: var(--ink-black);
  text-decoration: underline;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1.5px solid rgba(45, 30, 24, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-light);
}

/* Responsive CSS */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 30px auto;
  }
  .hero-title {
    font-size: 46px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
  .header {
    height: 70px;
    padding: 0 20px;
  }
  .nav {
    display: none; /* Hide standard nav on mobile */
  }
  .steps-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 40px;
  }
  .section-title {
    font-size: 32px;
  }
  .banner-content h2 {
    font-size: 28px;
  }
  .pricing-card {
    padding: 30px 20px;
  }
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.donate-nav-btn {
  background: #ff5f56;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 3px 3px 0px var(--ink-black);
}

.donate-nav-btn:hover {
  background: #ff4a3f;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--ink-black);
}

.donate-nav-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--ink-black);
}

/* Donation Section */
.donate-section {
  max-width: 1280px;
  margin: 100px auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
}

.donate-card {
  width: 100%;
  max-width: 780px;
  border: var(--border-width) solid var(--ink-black);
  background: var(--color-pink);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 8px 8px 0px var(--ink-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.donate-tag {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.05em;
  background: #fff;
  border: var(--border-width) solid var(--ink-black);
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 2px 2px 0px var(--ink-black);
}

.donate-title {
  font-size: 38px;
}

.donate-desc {
  max-width: 580px;
  font-size: 16px;
}

.donate-cta-box {
  margin-top: 15px;
}

.donate-cta {
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 16px;
  background: #ff5f56;
  color: #fff;
  box-shadow: 6px 6px 0px var(--ink-black);
}

.donate-cta:hover {
  background: #ff4a3f;
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0px var(--ink-black);
}

.donate-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--ink-black);
}

/* Custom simulated hand cursor for demo animation */
.demo-hand-pointer {
  position: absolute;
  font-size: 38px;
  pointer-events: none;
  z-index: 10;
  transform-origin: top center;
  transform: translate(-50%, 0) rotate(-10deg);
  transition: opacity 0.25s ease;
  user-select: none;
}

/* Guide Container & Grid */
.guide-container {
  margin-top: 80px;
  background: var(--bg-cream-dark);
  border: var(--border-width) solid var(--ink-black);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--ink-black);
}

.guide-title {
  font-size: 28px;
  margin-bottom: 24px;
  text-align: center;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.guide-card {
  background: #ffffff;
  border: var(--border-width) solid var(--ink-black);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 4px 4px 0px var(--ink-black);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-emoji {
  font-size: 24px;
}

.guide-card-header h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.guide-card-intro {
  font-size: 14px;
  color: var(--ink-muted);
}

.guide-list {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.guide-list li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-black);
  position: relative;
  padding-left: 18px;
}

.guide-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-purple-accent);
  font-weight: bold;
}

.guide-list kbd {
  background: var(--bg-cream-dark);
  border: 1.5px solid var(--ink-black);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 12px;
  box-shadow: 1px 1px 0px var(--ink-black);
}

/* Social Section */
.social-section {
  max-width: 1280px;
  margin: 100px auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
}

.social-card {
  width: 100%;
  max-width: 780px;
  border: var(--border-width) solid var(--ink-black);
  background: #f0f7ff; /* light blue/cyan tint */
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 8px 8px 0px var(--ink-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.social-tag {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.05em;
  background: #fff;
  border: var(--border-width) solid var(--ink-black);
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 2px 2px 0px var(--ink-black);
}

.social-title {
  font-size: 38px;
}

.social-desc {
  max-width: 580px;
  font-size: 16px;
}

.social-links-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}

.social-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 12px;
  border: var(--border-width) solid var(--ink-black);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 4px 4px 0px var(--ink-black);
  color: var(--ink-black);
  background: #ffffff;
}

.social-icon {
  width: 20px;
  height: 20px;
}

.facebook-btn:hover {
  background: #1877f2;
  color: #ffffff;
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--ink-black);
}

.github-btn:hover {
  background: #24292e;
  color: #ffffff;
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--ink-black);
}

.social-link-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--ink-black);
}

/* Footer Developed by text styling */
.developed-by {
  font-size: 14px;
  margin-top: 8px;
  font-weight: 600;
}

.developed-by a {
  text-decoration: underline;
  color: var(--color-purple-accent);
}

