@import url("https://fonts.googleapis.com/css2?family=Climate+Crisis&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap");

:root {
  --bg-main: #fcfcfd;
  --primary: #5865f2;
  --primary-dark: #4752c4;
  --secondary: #eb459e;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border: #eef2f6;
  --dot-color: #e5e7eb;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: "Outfit", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Climate Crisis", sans-serif;
  line-height: 1.1;
  word-wrap: break-word;
}

/* =========================
   NAVBAR CLEAN SAAS STYLE
========================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 60px;

  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* LEFT */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 34px;
}

.logo-text {
  font-family: "Climate Crisis";
  color: white;
  font-size: 1.4rem;
}

/* CENTER */
.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: white;
}

/* RIGHT */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* SOCIAL ICONS (FIXED VISIBILITY) */
.social-icons {
  display: flex;
  gap: 8px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  transition: 0.25s;
}

.social-icons a:hover {
  background: var(--primary);
  color: white;
}

/* PORTFOLIO */
.btn-ghost {
  border: 1px solid #444;
  padding: 6px 14px;
  border-radius: 999px;
  color: white;
  font-size: 0.85rem;
  text-decoration: none;
  transition: 0.25s;
}

.btn-ghost:hover {
  background: white;
  color: black;
}

/* CTA */
.btn-pill {
  background: white;
  color: black;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: white;
}

/* =========================
   MOBILE MENU FIX (IMPORTANT)
========================= */

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: #000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(-120%);
  transition: 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
}

/* LINKS */
.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}

/* SOCIAL GRID */
.mobile-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-socials a {
  background: #111;
  padding: 10px;
  border-radius: 8px;
}

/* BUTTONS */
.mobile-btn {
  border: 1px solid white;
  padding: 10px;
  border-radius: 999px;
  text-align: center;
}

.mobile-cta {
  background: white;
  color: black !important;
  padding: 10px;
  border-radius: 999px;
  text-align: center;
}

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

@media (max-width: 900px) {
  .nav-links,
  .social-icons,
  .btn-ghost {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 12px 16px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 38px;
  width: auto;
}

.logo-text {
  font-family: "Climate Crisis", sans-serif;
  font-size: 1.6rem;
  color: #ffffff;
  font-weight: 500;
  line-height: 0.8;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-pill {
  background-color: #ffffff;
  color: #000000;
  padding: 12px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-pill:hover {
  background-color: #f0f0f0;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px;
  background-color: #f0f4ff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: 5rem;
  color: var(--text-dark);
  max-width: 1000px;
  margin-bottom: 24px;
  line-height: 1;
}

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

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 56px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 60px;
}

.btn-cta {
  background-color: #000000;
  color: white;
  padding: 20px 48px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cta:hover {
  background-color: #333333;
}

.link-action {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

/* Floating Cards Simplified */
.floating-card {
  position: absolute;
  width: 320px;
  background-color: #ffffff;
  padding: 14px;
  border-radius: 36px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.floating-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  background-color: #f8faff;
}

.card-label {
  display: none;
}

.card-left {
  left: 40px;
  top: 50%;
}

.card-right {
  right: 40px;
  bottom: 15%;
}

/* Integrated Logos */
.integrated {
  margin-top: 40px;
  text-align: center;
}

.integrated p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.logo-strip {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

/* Features Section */
.features {
  padding: 120px 80px;
  background-color: white;
  text-align: center;
}

.features h2 {
  font-size: 3.5rem;
  margin-bottom: 60px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: 60px 40px;
  border-radius: 40px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
}

.f-icon-box {
  width: 80px;
  height: 80px;
  background-color: #f8faff;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 2.5rem;
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Teacher Flow Section */
.teacher-flow {
  padding: 120px 80px;
}

.flow-container {
  max-width: 1200px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}

.flow-content {
  flex: 1;
}

.step-badge {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

.flow-content h3 {
  font-size: 3.2rem;
  margin-bottom: 24px;
}

.flow-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.flow-image {
  flex: 1.4;
  border-radius: 40px;
  background-color: white;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.flow-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.flow-image:hover img {
  transform: scale(1.02);
}

/* Tech Stack */
.tech-stack {
  padding: 80px 40px;
  background-color: #7c4dff;
  border-radius: 60px;
  margin: 40px;
  text-align: center;
}

.tech-stack h2 {
  font-size: 3.2rem;
  margin-bottom: 12px;
  color: white;
}

.tech-stack .section-tag {
  color: white;
  font-weight: 700;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.tech-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px 20px;
  border-radius: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.t-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background-color: white;
  color: #7c4dff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.tech-card h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: white;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.tech-card p {
  font-size: 0.85rem;
  color: white;
  line-height: 1.4;
}

.tech-tag {
  display: inline-block;
  background-color: #4bb786;
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 800;
  margin-top: 10px;
}

/* Footer Section */
.purple-section {
  background-color: var(--primary);
  color: white;
  padding: 100px 80px;
  text-align: center;
  border-radius: 80px;
  margin: 40px;
}

.purple-section h2 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  color: white;
}

.purple-section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

.btn-white {
  background-color: white;
  color: var(--primary);
  padding: 18px 40px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-block;
}

/* Main Footer */
.main-footer {
  padding: 100px 80px 40px;
  background-color: #000000;
  border-top: 1px solid #333333;
  color: #ffffff;
}

.main-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto 80px;
}

.footer-brand .logo {
  margin-bottom: 24px;
}

.footer-brand p {
  color: #cccccc;
  font-size: 1rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-brand .logo-text {
  color: #ffffff;
}

.footer-links h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 32px;
  font-weight: 800;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 16px;
}

.footer-links a {
  text-decoration: none;
  color: #cccccc;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid #333333;
  text-align: center;
}

.footer-bottom p {
  color: #999999;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Mobile Responsiveness Improvements */

@media (max-width: 1200px) {
  .navbar {
    padding: 12px 40px;
  }

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

  .floating-card {
    display: none;
  }

  .features,
  .teacher-flow,
  .tech-stack,
  .purple-section {
    padding: 80px 40px;
  }
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }

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

  .flow-step {
    gap: 40px;
    margin-bottom: 80px;
  }

  .flow-content h3 {
    font-size: 2.2rem;
  }

  .tech-stack {
    padding: 50px 20px;
    border-radius: 40px;
    margin: 20px;
  }

  .tech-stack h2 {
    font-size: 2.4rem;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .navbar .logo-text {
    display: none;
  }

  .navbar {
    padding: 10px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 60px 20px;
  }

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

  .hero p {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 16px;
  }

  .btn-cta {
    padding: 16px 32px;
    width: 100%;
    justify-content: center;
  }

  .features,
  .teacher-flow {
    padding: 80px 20px;
  }

  .features h2 {
    font-size: 2.4rem;
    margin-bottom: 40px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 30px 20px;
    border-radius: 30px;
  }

  .flow-step {
    flex-direction: column !important;
    gap: 20px;
    margin-bottom: 60px;
  }

  .flow-image {
    width: 100%;
    flex: none;
    border-radius: 20px;
  }

  .flow-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .flow-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .tech-stack {
    padding: 60px 20px;
    margin: 20px;
    border-radius: 40px;
  }

  .tech-stack h2 {
    font-size: 2.4rem;
  }

  .tech-card {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .t-icon {
    margin: 0 auto;
  }

  .tech-tag {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 10px;
    display: inline-block;
  }

  .purple-section {
    padding: 60px 20px;
    margin: 20px;
    border-radius: 40px;
  }

  .purple-section h2 {
    font-size: 2rem;
  }

  .btn-white {
    padding: 16px 32px;
    width: 100%;
  }

  .main-footer {
    padding: 60px 20px 30px;
  }

  .main-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    margin-bottom: 40px;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }
}

/* ABOUT SECTION */
.about-section {
  padding: 120px 80px;
  background: linear-gradient(180deg, #f8faff, #ffffff);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT */
.about-left h2 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.about-left h2 span {
  color: var(--primary);
}

.about-left p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 18px;
  max-width: 520px;
}

/* FEATURES */
.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.about-pill {
  background: #eef2ff;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: 0.3s;
}

.about-pill:hover {
  background: var(--primary);
  color: white;
}

/* RIGHT CARD (🔥 BIG UPGRADE) */
.dev-card {
  background: radial-gradient(circle at top, #111, #000);
  padding: 36px;
  border-radius: 28px;
  text-align: center;
  color: white;
  border: 1px solid #222;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: 0.3s;
}

.dev-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

/* IMAGE FIX */
.dev-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.dev-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT */
.dev-card h3 {
  font-size: 1.5rem;
}

.dev-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.dev-desc {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 20px;
}

/* TAGS */
.tech-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.tech-stack-tags span {
  background: #111;
  border: 1px solid #333;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
}

/* BUTTONS */
.dev-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-outline-dark {
  border: 1px solid white;
  padding: 8px 16px;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
}

.btn-outline-dark:hover {
  background: white;
  color: black;
}

.btn-primary {
  background: var(--primary);
  padding: 8px 16px;
  border-radius: 999px;
  color: white;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

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

@media (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-left {
    text-align: center;
  }

  .about-left p {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 80px 20px;
  }

  .about-left h2 {
    font-size: 2.2rem;
  }

  .dev-card {
    padding: 24px;
  }
}

/* =========================
   TECH STACK PRO SECTION
========================= */

.tech-stack-pro {
  padding: 120px 80px;
  background: #050816;
  color: #ffffff;
}

.tech-stack-pro .container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.tech-stack-pro h2 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.tech-stack-pro .subtitle {
  color: #9ca3af;
  margin-bottom: 60px;
  font-size: 1.1rem;
}

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

/* CARD */
.tech-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px;
  border-radius: 18px;
  text-align: left;
  transition: 0.3s ease;
  backdrop-filter: blur(10px);
}

.tech-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(88, 101, 242, 0.2);
}

/* Highlight Card */
.tech-card.highlight {
  border: 1px solid var(--primary);
  background: rgba(88, 101, 242, 0.08);
}

/* Titles */
.tech-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* List */
.tech-card ul {
  list-style: none;
  padding: 0;
}

.tech-card li {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.tech-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

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

@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tech-stack-pro {
    padding: 80px 20px;
  }

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

  .tech-stack-pro h2 {
    font-size: 2rem;
  }
}
