/* =========================
   STUDY BUDDY – PREMIUM EDITORIAL GRADED
========================= */

/* COLOR SYSTEM */
:root {
  --bg-main: #f4f2ee; /* קרם בסיס */
  --bg-card: #ffffff; /* כרטיסים */
  --text-primary: #1a1d1b; /* שחור כהה */
  --text-secondary: #555b50; /* תיאורים */
  --text-muted: #8c918c; /* captions */
  --accent-main: #1f5e3d; /* ירוק יוקרתי */
  --accent-hover: #3a7b56; /* hover */
  --border-subtle: #e6e3dd; /* Divider */
  --font-sans:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}
h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1.5rem;
}
h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  max-width: 780px;
}
strong {
  color: var(--text-primary);
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem 10%;
  background: linear-gradient(160deg, var(--bg-main), #e8e5de);
}
.hero-content {
  max-width: 900px;
}
.hero .tag {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--accent-main);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}
.hero p.subtitle {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}
.hero p.hero-strong {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2rem;
}
.button {
  display: inline-block;
  padding: 1rem 2rem;
  margin-top: 2rem;
  border-radius: 8px;
  background-color: var(--accent-main);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(31, 94, 61, 0.4);
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 8rem 10%;
  max-width: 1200px;
  margin: auto;
  position: relative;
}
.section-gradient {
  background: linear-gradient(
    to bottom,
    var(--bg-main) 0%,
    var(--bg-card) 100%
  );
  border-radius: 16px;
  padding: 6rem 10%;
  margin-bottom: 4rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}
.section-gradient:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.08);
}
.section h2 {
  font-size: 2.6rem;
  margin-bottom: 2rem;
}
.section p {
  font-size: 1.15rem;
  line-height: 1.8;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}
.step span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-main);
  display: block;
  margin-bottom: 0.8rem;
}
.step p {
  margin-top: 0.5rem;
  color: var(--text-secondary);
}

/* FOUNDER */
.founder {
  padding: 8rem 10%;
}
.founder-card {
  max-width: 600px;
  padding: 3rem;
  border-left: 6px solid var(--accent-main);
  background-color: var(--bg-card);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.founder-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}
.founder-card h3 {
  font-size: 1.7rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.founder-card .role {
  font-size: 1rem;
  color: var(--accent-main);
  margin-bottom: 1.2rem;
}
.founder-card p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* FOOTER */
.footer {
  padding: 4rem 10%;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
}

/* =========================
   STUDY BUDDY – UPDATED PREMIUM
========================= */

:root {
  --bg-main: #f8f9fa;
  --bg-dark: #121412;
  --accent-main: #1f5e3d; /* ירוק יער עמוק */
  --accent-light: #e9f5ee;
  --text-main: #1a1d1b;
  --text-sub: #4a4d4a;
}

/* NAVBAR & LOGO */
.navbar {
  padding: 2rem 10%;
  display: flex;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-dot {
  width: 12px;
  height: 12px;
  background: var(--accent-main);
  border-radius: 50%;
  box-shadow: 8px 0 0 rgba(31, 94, 61, 0.4); /* נקודה כפולה כחלק מהלוגו */
}
.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -1px;
}

/* HERO RESTRUCTURE */
.hero {
  min-height: 80vh;
  padding: 4rem 10%;
  overflow: hidden;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}
.highlight {
  color: var(--accent-main);
  position: relative;
}
.hero-btns {
  display: flex;
  gap: 1rem;
}
.button.secondary {
  background: transparent;
  border: 1px solid var(--accent-main);
  color: var(--accent-main);
}

/* ABSTRACT VISUAL (התמונה המושכת) */
.hero-visual {
  position: relative;
  height: 400px;
  background: var(--accent-light);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 15s ease-in-out infinite;
}
@keyframes morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
  }
}

/* CARDS GRID */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.card {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.card.dark {
  background: var(--bg-dark);
  color: white;
}
.small-title {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
  color: var(--accent-main);
}

/* STEPS IMPROVEMENTS */
.step-num {
  font-size: 4rem;
  font-weight: 800;
  opacity: 0.1;
  margin-bottom: -2rem;
}
.centered-h2 {
  text-align: center;
  margin-bottom: 4rem;
}

/* FOUNDER SECTION REFINED */
.founder-card {
  border-left: none;
  background: linear-gradient(135deg, #ffffff 0%, #f1f3f1 100%);
  display: flex;
  padding: 4rem;
}
.bio-text {
  border-top: 1px solid #ddd;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-container,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
}

/* =========================
   REFINED TINDER CARD
========================= */
.tinder-card-mockup {
  width: 280px;
  height: 400px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  display: flex;
  flex-direction: column;
  padding: 12px;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-avatar-container {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.user-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #1f5e3d;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.card-content {
  padding: 15px 5px;
}

.user-name {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.user-name .exp {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.skill-tags {
  display: flex;
  gap: 6px;
}

.s-tag {
  background: #f0f4f1;
  color: #1f5e3d;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.card-actions {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-bottom: 10px;
}

.circle-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s ease;
  border: 1px solid #eee;
}

.circle-btn.close {
  color: #eb5757;
  background: #fff;
}

.circle-btn.heart {
  background: #1f5e3d;
  color: white;
  border: none;
}

.circle-btn:hover {
  transform: scale(1.1);
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-5deg);
  }
  50% {
    transform: translate(-50%, -58%) rotate(2deg);
  }
}
