/* ===== CSS RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #8b5cf6;
  --accent: #ec4899;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-text: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--text-primary);
}

.btn-login {
  color: var(--text-primary) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 16px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-primary-small {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-radius: 8px;
}

.btn-small:hover {
  background: var(--border);
}

/* ===== HERO ===== */
.hero {
  padding: 160px 0 120px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1) rotate(180deg);
    opacity: 0.8;
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero .btn {
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
  margin-bottom: 80px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== DEMO CARDS ===== */
.demo-cards {
  position: relative;
  height: 400px;
  margin-top: 60px;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.demo-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-xl);
  transition: all 0.5s ease;
}

.card-1 {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 320px;
  z-index: 3;
  animation: floatCard1 4s ease-in-out infinite;
}

.card-2 {
  right: 10%;
  top: 80px;
  width: 280px;
  z-index: 2;
  animation: floatCard2 4s ease-in-out infinite 0.5s;
}

.card-3 {
  left: 10%;
  top: 120px;
  width: 240px;
  z-index: 1;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatCard3 4s ease-in-out infinite 1s;
}

@keyframes floatCard1 {

  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotate(0deg);
  }

  50% {
    transform: translateX(-50%) translateY(-15px) rotate(-2deg);
  }
}

@keyframes floatCard2 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes floatCard3 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.card-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
}

.card-role {
  font-size: 14px;
  color: var(--text-muted);
}

.card-body {
  background: var(--bg-secondary);
  padding: 12px;
  border-radius: 12px;
}

.search-tag {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.search-role {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary);
}

.connection-badge {
  background: rgba(139, 92, 246, 0.1);
  color: var(--secondary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}

.card-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  color: var(--text-muted);
}

.tag-value {
  background: var(--bg-secondary);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.share-indicator {
  font-weight: 600;
  text-align: center;
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 0;
}

h2 {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  background: var(--bg-secondary);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.company-logo {
  background: white;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.company-logo:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: var(--text-primary);
}

/* ===== VALUE PROPS ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.value-item {
  text-align: center;
  padding: 32px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.value-item:hover {
  background: var(--bg-secondary);
  transform: translateY(-8px);
}

.value-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.value-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-item p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--bg-secondary);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.tab-button {
  padding: 12px 32px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: white;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.tab-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.step-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.step-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: left;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-visual {
  margin-top: 24px;
}

.profile-card {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.profile-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-title {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.profile-interests {
  display: flex;
  gap: 8px;
}

.interest-tag {
  background: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.search-notification {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.notif-header {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notif-body {
  margin-bottom: 16px;
  line-height: 1.6;
}

.notif-actions {
  display: flex;
  gap: 12px;
}

.thank-you-card {
  background: var(--bg-secondary);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}

.emoji-group {
  font-size: 32px;
  margin-bottom: 12px;
}

.thank-message {
  font-weight: 600;
  margin-bottom: 8px;
}

.thank-note {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.cta-section h2 {
  color: white;
  margin-bottom: 32px;
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: var(--bg-secondary);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 16px;
}

/* ===== FINAL CTA ===== */
.final-cta {
  text-align: center;
  background: var(--bg-secondary);
}

.final-cta p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 60px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  -webkit-text-fill-color: white;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 15px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-column h4 {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 15px;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .demo-cards {
    height: 350px;
  }

  .card-1 {
    width: 280px;
  }

  .card-2 {
    width: 240px;
    right: 5%;
  }

  .card-3 {
    width: 200px;
    left: 5%;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  h2 {
    font-size: 36px;
  }

  .demo-cards {
    height: 300px;
  }

  .card-1 {
    width: 240px;
    top: 20px;
  }

  .card-2,
  .card-3 {
    display: none;
  }

  .value-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  h2 {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}