/* =============================================
   PLOP — Bold & Playful Landing Page
   ============================================= */

:root {
  --coral: #FF6B4A;
  --coral-dark: #E8553A;
  --coral-light: #FFF0ED;
  --purple: #7C5CFC;
  --purple-light: #F0ECFF;
  --teal: #00C9A7;
  --teal-light: #E6FFF9;
  --navy: #1a1a2e;
  --navy-light: #2d2d44;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
  line-height: 1.15;
}

/* =============================================
   NAV
   ============================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-dot {
  color: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  color: var(--gray-500);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--navy);
}

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

.nav-login {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-login:hover {
  color: var(--dark);
}

.nav-cta {
  background: var(--coral);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 74, 0.3);
}

/* =============================================
   HERO
   ============================================= */

.hero {
  padding: 140px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  min-height: 100vh;
}

.hero-badge {
  display: inline-block;
  background: var(--purple-light);
  color: var(--purple);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--coral), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 74, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gray-300);
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.hero-note {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* Hero Visual — Browser Mockup */
.hero-visual {
  position: relative;
}

.browser-frame {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 20px 50px -12px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.browser-dots {
  display: flex;
  gap: 8px;
  padding: 14px 16px 10px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
}

.browser-dots span:first-child { background: #FF6058; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:last-child { background: #28CA41; }

.browser-url {
  padding: 8px 16px 10px;
  background: var(--gray-50);
  font-size: 0.8rem;
  color: var(--gray-400);
  border-bottom: 1px solid var(--gray-200);
}

.browser-content {
  padding: 24px;
  background: var(--white);
}

/* Mock UI inside browser */
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #4E2A84, #6B3FA0);
  padding: 20px;
  border-radius: var(--radius-sm);
  color: white;
}

.mock-h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.mock-sub {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 4px;
}

.mock-logo-block {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.9;
  text-align: right;
}

.mock-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.mock-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}

.mock-btn-outline {
  border: 1.5px solid var(--gray-300);
  color: var(--gray-600);
}

.mock-btn-filled {
  background: #4E2A84;
  color: white;
}

.mock-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0 4px;
  flex-wrap: wrap;
}

.mock-filter {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 500;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

.mock-filter.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mock-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.mock-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.tag-competition { background: #F3E8FF; color: #7C3AED; }
.tag-internship { background: #DBEAFE; color: #2563EB; }
.tag-job { background: #FEF3C7; color: #D97706; }
.tag-grant { background: #D1FAE5; color: #059669; }
.tag-accelerator { background: #FFE4E6; color: #E11D48; }

.mock-card-title {
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.mock-card-meta {
  font-size: 0.65rem;
  color: var(--gray-500);
  margin-bottom: 2px;
}

/* =============================================
   SOCIAL PROOF
   ============================================= */

.social-proof {
  text-align: center;
  padding: 60px 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.social-proof p {
  font-size: 0.9rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 20px;
}

.logo-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.uni-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-600);
}

/* =============================================
   FEATURES
   ============================================= */

/* Used By / Social Proof */
.used-by {
  padding: 0 24px 20px;
  margin-top: -40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.used-by-text {
  font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 40px;
}

.used-by-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.used-by-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
}

/* Features */
.features {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--coral);
  box-shadow: 0 8px 30px rgba(255, 107, 74, 0.08);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--coral-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--coral);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* =============================================
   HOW IT WORKS
   ============================================= */

.how-it-works {
  padding: 100px 24px;
  background: var(--navy);
  color: var(--white);
}

.how-it-works .section-badge {
  background: rgba(255, 107, 74, 0.15);
  color: var(--coral);
}

.how-it-works .section-header h2 {
  color: var(--white);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
  flex: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--coral), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 16px;
  color: var(--white);
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.step-arrow {
  width: 40px;
  flex-shrink: 0;
  color: var(--gray-500);
}

.step-arrow svg {
  width: 100%;
  height: auto;
}

/* =============================================
   SHOWCASE
   ============================================= */

.showcase {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase .section-badge {
  background: var(--purple-light);
  color: var(--purple);
}

.showcase-browser {
  max-width: 1000px;
  margin: 0 auto;
}

.browser-frame.large .browser-content {
  padding: 28px;
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xs);
}

.screenshot-placeholder {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.screenshot-area .screenshot-placeholder {
  display: none;
}

.screenshot-area .screenshot-img[style*="display: none"] + .screenshot-placeholder {
  display: flex;
}

/* =============================================
   PRICING
   ============================================= */

.pricing {
  padding: 100px 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.pricing .section-badge {
  background: var(--coral-light);
  color: var(--coral);
}

.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  transition: all 0.3s;
}

.pricing-card:hover {
  border-color: var(--coral);
  box-shadow: 0 8px 30px rgba(255, 107, 74, 0.08);
  transform: translateY(-4px);
}

.pricing-amount {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1;
}

.pricing-free-trial {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 4px;
}

.pricing-yearly-option {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.pricing-save {
  color: var(--teal);
  font-weight: 600;
}

.pricing-dollar {
  font-size: 2.5rem;
  vertical-align: super;
  margin-right: 2px;
}

.pricing-period {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--teal);
}

.pricing-cta {
  width: 100%;
  justify-content: center;
}

.pricing-trial-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 12px;
}

/* =============================================
   FAQ
   ============================================= */

.faq {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq .section-badge {
  background: var(--purple-light);
  color: var(--purple);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gray-400);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question::after {
  content: '\2212';
}

.faq-question:hover {
  color: var(--coral);
}

.faq-answer {
  padding: 0 0 20px;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* =============================================
   CTA
   ============================================= */

.cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--coral), #FF8A6B);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-actions {
  margin-bottom: 16px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 18px 40px;
  background: var(--white);
  color: var(--coral);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.cta-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 0 !important;
}

.cta-note a {
  color: var(--white);
  text-decoration: underline;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  padding: 60px 24px;
  text-align: center;
  background: var(--navy);
  color: var(--gray-400);
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer .logo {
  color: var(--white);
  display: inline-block;
  margin-bottom: 12px;
}

.footer-text {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* =============================================
   ANIMATIONS
   ============================================= */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Success state for forms */
.form-success {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-success.show {
  display: inline-flex;
}

.form-success svg {
  width: 20px;
  height: 20px;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 120px;
    min-height: auto;
  }

  .hero-content {
    text-align: center;
  }

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

  .hero-actions {
    justify-content: center;
  }

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

  .steps {
    flex-direction: column;
    gap: 32px;
  }

  .step-arrow {
    transform: rotate(90deg);
    width: 32px;
  }

  .mock-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .pricing-card {
    padding: 36px 24px;
  }

  .pricing-amount {
    font-size: 3.5rem;
  }

  .pricing-dollar {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary, .btn-cta {
    width: 100%;
    justify-content: center;
  }

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

  .mock-header {
    flex-direction: column;
    gap: 8px;
  }

  .mock-logo-block {
    text-align: left;
  }
}

/* =============================================
   LEGAL PAGES
   ============================================= */

.legal-page {
  padding: 120px 24px 80px;
  min-height: 100vh;
  background: var(--gray-50);
}

.legal-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.legal-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-back:hover {
  color: var(--coral);
}

.legal-container h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.legal-updated {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin: 0 0 32px;
}

.legal-container h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 8px;
}

.legal-container p {
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0 0 16px;
}

.legal-container a {
  color: var(--coral);
  text-decoration: none;
}

.legal-container a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .legal-container {
    padding: 32px 20px;
  }
}
