/* Pinnit Landing Page */

:root {
  --primary: #E08B5E;
  --primary-dark: #C4724A;
  --primary-light: #EAA87E;
  --secondary: #7C9A82;
  --secondary-light: #9BB5A0;
  --bg: #FFFFFF;
  --bg-soft: #FAF8F5;
  --text: #2D2A26;
  --text-secondary: #8A8580;
  --border: #E8E4DF;
  --error: #D94F4F;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

em {
  font-style: italic;
  color: var(--primary);
}

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  background: var(--text);
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform 0.15s ease;
}

.nav-cta:hover {
  transform: scale(1.05);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 120px;
}

.hero-inner {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FDF0E8;
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--primary);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
}

/* Waitlist Form */
.waitlist-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin-bottom: 12px;
}

.waitlist-input {
  flex: 1;
  font-family: inherit;
  font-size: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.15s ease;
  background: white;
  color: var(--text);
}

.waitlist-input:focus {
  border-color: var(--primary);
}

.waitlist-input::placeholder {
  color: var(--text-secondary);
}

.waitlist-btn {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 28px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

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

.waitlist-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.waitlist-btn.success {
  background: var(--secondary);
}

.form-helper {
  font-size: 13px;
  color: var(--text-secondary);
}

.form-helper.success {
  color: var(--secondary);
  font-weight: 500;
}

.form-helper.error {
  color: var(--error);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mock {
  width: 320px;
  height: 480px;
  background: var(--bg-soft);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(45, 42, 38, 0.12), 0 4px 12px rgba(45, 42, 38, 0.06);
  position: relative;
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.phone-mock:hover {
  transform: rotate(0deg);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.mock-header {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  padding: 0 4px 4px;
}

.mock-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(45, 42, 38, 0.04);
  animation: floatIn 0.6s ease backwards;
}

.mock-card-1 { animation-delay: 0.1s; }
.mock-card-2 { animation-delay: 0.25s; }
.mock-card-3 { animation-delay: 0.4s; }

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mock-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-soft);
}

.mock-content {
  flex: 1;
}

.mock-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.mock-detail {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Problem section */
.problem {
  background: var(--bg-soft);
  padding: 100px 32px;
  text-align: center;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 32px;
}

.problem-text {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.5px;
  max-width: 800px;
  margin: 0 auto;
}

/* How it works */
.how {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 60px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.step {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.2s ease;
}

.step:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(224, 139, 94, 0.12);
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Ah-ha section */
.aha {
  background: var(--secondary);
  color: white;
  padding: 120px 32px;
}

.aha-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.aha-title {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 32px;
}

.aha-title em {
  color: #F5DCC8;
  font-style: italic;
}

.aha-text {
  font-size: 19px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.aha-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.aha-stat {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 28px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.aha-num {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
}

.aha-lbl {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
  font-weight: 500;
}

/* Universities */
.unis {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.uni-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.uni-logo {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  transition: all 0.2s ease;
}

.uni-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(45, 42, 38, 0.08);
}

.uni-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.uni-more {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Final CTA */
.final-cta {
  background: var(--text);
  color: white;
  padding: 120px 32px;
  text-align: center;
}

.cta-title {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 18px;
  opacity: 0.7;
  margin-bottom: 40px;
}

.waitlist-form-large {
  max-width: 520px;
  margin: 0 auto 12px;
}

.final-cta .waitlist-input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
}

.final-cta .waitlist-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.final-cta .waitlist-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
}

.final-cta .form-helper {
  color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
  background: var(--text);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.footer-text {
  font-size: 13px;
  opacity: 0.6;
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    padding: 16px 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 40px 20px 80px;
    text-align: center;
  }

  .hero-inner {
    margin: 0 auto;
  }

  .hero-badge {
    margin: 0 auto 24px;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .waitlist-form {
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
  }

  .waitlist-btn {
    width: 100%;
  }

  .phone-mock {
    width: 280px;
    height: 420px;
    transform: rotate(0deg);
  }

  .problem,
  .how,
  .aha,
  .unis,
  .final-cta {
    padding: 80px 20px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .aha-stats {
    grid-template-columns: 1fr;
  }

  .uni-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .uni-logo {
    min-height: 90px;
    padding: 20px 12px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
