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

/* --- Design Tokens --- */
:root {
  --blue50: #F2F8FD;
  --blue100: #E0EFF9;
  --blue200: #B8DBF2;
  --blue500: #2590D2;
  --blue600: #1E7AB3;
  --blue900: #164264;
  --orange500: #EF6444;
  --gray50: #F9FAFB;
  --gray100: #F3F4F6;
  --gray200: #E5E7EB;
  --gray300: #D1D5DB;
  --gray400: #9CA3AF;
  --gray600: #4B5563;
  --gray800: #1F2937;
  --gray900: #111827;
  --white: #FFFFFF;
  --shadow-color: var(--blue900);
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  color: var(--gray800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
p { color: var(--gray600); font-size: 1.065rem; }

/* --- CAButton Style (SQUARE, no border-radius) --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue500);
  color: var(--blue50);
  border: 2px solid var(--blue900);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--blue900);
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  white-space: nowrap;
}
.cta-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--blue900);
}
.cta-button:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}
.cta-button--white {
  background: var(--white);
  color: var(--blue900);
}
.cta-button--small {
  padding: 10px 20px;
  font-size: 0.875rem;
  box-shadow: 3px 3px 0 var(--blue900);
}
.cta-button--small:hover { box-shadow: 4px 4px 0 var(--blue900); }

.text-link {
  color: var(--blue500);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.text-link:hover { color: var(--blue900); }

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(.22,1,.36,1), transform 0.6s cubic-bezier(.22,1,.36,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--blue900);
}
.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--gray600);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue500); }
.nav-cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--blue900);
  border-radius: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue900);
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--blue50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,144,210,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-content h1 {
  color: var(--blue900);
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--blue500); }
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-image img {
  max-height: 580px;
  width: auto;
  filter: drop-shadow(0 24px 48px rgba(22,66,100,0.18));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Screenshot placeholder styling */
.screenshot-placeholder {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, var(--blue50) 0%, var(--gray100) 100%);
  border: 2px solid var(--gray200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gray400);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 24px;
}
.screenshot-placeholder .placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.6;
}
.screenshot-placeholder .placeholder-label {
  background: var(--white);
  border: 1px solid var(--gray200);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===========================
   FEATURES
   =========================== */
.features {
  padding: 100px 0;
  background: var(--white);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { color: var(--blue900); margin-bottom: 12px; }
.section-header p { max-width: 560px; margin: 0 auto; }
.section-badge {
  display: inline-block;
  background: var(--blue50);
  color: var(--blue500);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 0;
  margin-bottom: 16px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 2px solid var(--gray200);
  border-radius: 0;
  padding: 36px 28px;
  box-shadow: 4px 4px 0 var(--blue900);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--blue900);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--blue50);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  border: 1px solid var(--blue200);
}
.feature-card h3 { margin-bottom: 10px; color: var(--gray800); }
.feature-card p { font-size: 0.95rem; }

/* ===========================
   SHOWCASE (How it Works)
   =========================== */
.showcase {
  padding: 100px 0;
  background: var(--gray50);
}
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse .showcase-text { order: -1; }
.showcase-text h3 {
  font-size: 1.5rem;
  color: var(--blue900);
  margin-bottom: 16px;
}
.showcase-text p { font-size: 1.065rem; line-height: 1.7; }
.showcase-visual {
  background: var(--white);
  border: 2px solid var(--gray200);
  border-radius: 0;
  padding: 32px;
  box-shadow: 4px 4px 0 rgba(22,66,100,0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.showcase-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 0;
  margin-bottom: 4px;
}
.badge-wishlist { background: #EDE9FE; color: #7C3AED; }
.badge-applied { background: #DBEAFE; color: #2563EB; }
.badge-interview { background: #FEF3C7; color: #D97706; }
.badge-offer { background: #D1FAE5; color: #059669; }

.mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gray50);
  border: 1px solid var(--gray200);
  border-radius: 0;
  padding: 14px 16px;
}
.mini-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mini-card-info { flex: 1; }
.mini-card-info strong { font-size: 0.9rem; color: var(--gray800); display: block; }
.mini-card-info span { font-size: 0.8rem; color: var(--gray400); }
.mini-card-stars { color: var(--orange500); font-size: 0.8rem; letter-spacing: 1px; }

/* Contact actions row */
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue50);
  color: var(--blue500);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 0;
  border: 1px solid var(--blue200);
}

/* Detail fields */
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray100);
}
.detail-row:last-child { border-bottom: none; }
.detail-label { font-size: 0.85rem; color: var(--gray400); font-weight: 500; }
.detail-value { font-size: 0.9rem; color: var(--gray800); font-weight: 600; }

/* ===========================
   ICONS STRIP (Social Proof Alternative)
   =========================== */
.icons-strip {
  padding: 64px 0;
  background: var(--white);
  text-align: center;
}
.icons-strip h2 { color: var(--blue900); margin-bottom: 12px; }
.icons-strip p { margin-bottom: 40px; }
.icons-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
/* App icons keep iOS rounded-rect shape */
.icon-variant {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(22,66,100,0.12);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}
.icon-variant:hover { transform: scale(1.08) rotate(-3deg); }

/* ===========================
   PRICING (Single Tier)
   =========================== */
.pricing {
  padding: 100px 0;
  background: var(--gray50);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray200);
  border-radius: 0;
  padding: 40px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(22,66,100,0.1);
}
.pricing-card.featured {
  border: 2px solid var(--blue500);
  box-shadow: 6px 6px 0 var(--blue900);
}
.pricing-card.featured:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--blue900);
}
.pricing-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange500);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  white-space: nowrap;
}
.pricing-savings {
  display: inline-block;
  background: #D1FAE5;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.pricing-card h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--blue900);
}
.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray800);
  margin-bottom: 4px;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--gray400); }
.pricing-desc {
  font-size: 0.95rem;
  color: var(--gray400);
  margin-bottom: 32px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  text-align: left;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray600);
}
.pricing-features li .check { color: var(--blue500); font-weight: 700; }
.pricing-card .cta-button { width: 100%; justify-content: center; }

/* ===========================
   FINAL CTA
   =========================== */
.final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue500) 0%, var(--blue600) 50%, var(--blue900) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.final-cta h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.final-cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  font-size: 1.15rem;
}
.final-cta .cta-button--white {
  box-shadow: 4px 4px 0 rgba(22,66,100,0.5);
}

/* iOS badge */
.ios-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--blue900);
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-brand .nav-logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1023px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-image img { max-height: 420px; }
  .screenshot-placeholder { width: 220px; height: 440px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-row { grid-template-columns: 1fr; gap: 36px; }
  .showcase-row.reverse .showcase-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding-top: calc(var(--nav-height) + 32px); padding-bottom: 48px; }
  h1 { font-size: 2rem; }
  .features { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .showcase { padding: 64px 0; }
  .showcase-row { gap: 28px; margin-bottom: 56px; }
  .pricing { padding: 64px 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .hero-image img { max-height: 340px; }
  .screenshot-placeholder { width: 200px; height: 400px; }
  .icons-strip { padding: 48px 0; }
  .icon-variant { width: 88px; height: 88px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .final-cta { padding: 56px 0; }
  .cta-button { width: 100%; justify-content: center; }
}
