/* ==============================
   RESET & BASE
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  color: #111;
  background: #fff;
  line-height: 1.6;
}

/* ==============================
   LAYOUT
============================== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.narrow {
  max-width: 700px;
}

/* ==============================
   NAVBAR
============================== */
.navbar {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Add this at the END if not already present */

.nav-links a.active {
  color: #111;
  font-weight: 600;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #111;
}

.logo {
  font-weight: 600;
  font-size: 18px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #111;
}

.nav-btn {
  background: #111;
  color: #fff;
  padding: 8px 14px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* ==============================
   MEGA MENU
============================== */

.mega-parent {
  position: relative;
}

.dropdown-arrow {
  font-size: 12px;
  margin-left: 4px;
}

/* Dropdown Box */
.mega-menu {
  position: absolute;
  top: 140%;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;

  background: white;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 18px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;

  z-index: 100;
}

/* Hover */
.mega-parent:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  top: 120%;
}

/* Grid */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Items */
.mega-item {
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.2s ease;
  color: #111;
  font-weight: 500;
}

.mega-item:hover {
  background: #f7f7f5;
}

/* Mobile */
@media (max-width: 1024px) {

  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 10px 0;
    display: none;
  }

  .mega-parent.active .mega-menu {
    display: block;
  }

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

}

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

.hero {
  padding: 120px 20px 100px;
  text-align: center;
}

.hero .container {
  max-width: 850px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Heading */
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

/* Paragraph */
.hero p {
  font-size: 1.1rem;
  color: #555;
  max-width: 620px;
  margin: 0 auto 35px;
  line-height: 1.8;
  text-align: center;
}

/* Buttons */
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions button {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
}

/* ==============================
   SECTIONS
============================== */
.section {
  padding: 60px 20px;
}

.section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

.light {
  background: #fafafa;
}

/* ==============================
   HOW SECTION PREMIUM
============================== */

.how-section {
  background: #fafafa;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Cards */
.how-card {
  background: white;
  padding: 32px;
  border-radius: 18px;
  border: 1px solid #eee;
  transition: all 0.25s ease;
}

.how-card:hover {
  transform: translateY(-4px);
  border-color: #ddd;
}

.how-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  background: #f3f4f6;
  border-radius: 999px;
  margin-bottom: 20px;
}

.how-card h3 {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.how-card p {
  color: #555;
  font-size: 17px;
  line-height: 1.7;
}

/* Tablet */
@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==============================
   WHY WEBFORGE PREMIUM SECTION
============================== */

.why-webforge-section {
  background: #fff;
}

.why-header {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

.why-left h2 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}

.why-left p {
  font-size: 18px;
  color: #555;
  max-width: 500px;
}

.why-right {
  position: relative;
}

.tool-comparison {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tool-comparison span {
  padding: 12px 18px;
  background: #f5f5f5;
  border-radius: 12px;
  font-weight: 500;
  color: #666;
}

.comparison-line {
  width: 100%;
  height: 4px;
  background: #111;
  margin-top: 20px;
  border-radius: 20px;
}

/* Main Card */
.why-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 30px;
}

/* Feature Grid */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.why-item {
  font-size: 17px;
  font-weight: 500;
}

/* Stats */
.why-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.stat-box {
  background: white;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #eee;
}

.stat-box small {
  display: block;
  color: #666;
  margin-bottom: 10px;
}

.stat-box h3 {
  font-size: 42px;
  font-weight: 700;
}

/* Tablet */
@media (min-width: 768px) {

  .why-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .why-stats {
    grid-template-columns: repeat(3,1fr);
  }

}

/* Desktop */
@media (min-width: 1024px) {

  .why-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

}

/* ==============================
   WHO SECTION PREMIUM
============================== */

.who-section {
  background: #fff;
}

.section-top {
  margin-bottom: 35px;
}

.section-top h2 {
  font-size: 48px;
  margin-bottom: 12px;
  font-weight: 700;
}

.section-top a {
  color: #2563eb;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

/* Grid */
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Cards */
.who-card {
  background: #f7f7f5;
  padding: 32px;
  border-radius: 18px;
  transition: all 0.25s ease;
}

.who-card:hover {
  transform: translateY(-4px);
  background: #f2f2f0;
}

.who-icon {
  font-size: 28px;
  margin-bottom: 20px;
}

.who-card h3 {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.who-card p {
  color: #555;
  font-size: 17px;
  line-height: 1.7;
}

/* Tablet */
@media (min-width: 768px) {
  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .who-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ==============================
   GRID SYSTEM
============================== */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==============================
   CARDS
============================== */
.step-card,
.info-card,
.use-card {
  background: #fff;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.step-card:hover,
.info-card:hover,
.use-card:hover {
  border-color: #ddd;
  transform: translateY(-2px);
}

/* Step Number */
.step-number {
  font-size: 12px;
  color: #777;
  margin-bottom: 10px;
}

/* ==============================
   STRONG CTA
============================== */
.cta.strong {
  background: #111;
  color: #fff;
}

.cta.strong p {
  color: #ccc;
}

.cta.strong button {
  background: #fff;
  color: #111;
}

/* ==============================
   TEXT SECTIONS (CLEAN STYLE)
============================== */
.step {
  margin-bottom: 24px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.step p {
  color: #666;
}

/* ==============================
   GRID (ONLY FOR USE CASES)
============================== */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==============================
   USE CASE CARDS
============================== */
.use-card {
  background: #fff;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.use-card:hover {
  border-color: #ddd;
  transform: translateY(-2px);
}

/* ==============================
   CTA STRONG
============================== */
.cta.strong {
  background: #111;
  color: #fff;
}

.cta.strong p {
  color: #ccc;
}

.cta.strong button {
  background: #fff;
  color: #111;
}

/* ==============================
   FEATURES
============================== */
.feature {
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.feature p {
  font-size: 14px;
  color: #666;
}

/* ==============================
   CTA
============================== */
.cta {
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.cta button {
  margin-top: 10px;
  padding: 10px 18px;
  background: #111;
  color: white;
  border: none;
  border-radius: 4px;
}

/* ==============================
   FORM
============================== */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  border-radius: 4px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

button {
  background: #111;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* ==============================
   FOOTER
============================== */
.footer {
  text-align: center;
  padding: 25px;
  border-top: 1px solid #eee;
  color: #777;
  font-size: 13px;
}

/* ==============================
   TABLET (â‰¥768px)
============================== */
@media (min-width: 768px) {

  .hero {
    padding: 100px 20px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 16px;
  }

  .section h2 {
    font-size: 28px;
  }

  .feature h3 {
    font-size: 18px;
  }

  .feature p {
    font-size: 15px;
  }
}

/* ==============================
   DESKTOP (â‰¥1024px)
============================== */
@media (min-width: 1024px) {

  .hero {
    text-align: left;
  }

  .hero .container {
    max-width: 800px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .section {
    padding: 80px 20px;
  }
}

/* ==============================
   LARGE SCREENS (â‰¥1280px)
============================== */
@media (min-width: 1280px) {

  .container {
    max-width: 1200px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 18px;
  }
}

/* ==============================
   MOBILE NAVIGATION
============================== */
@media (max-width: 768px) {

  .nav-links {
    display: none;
    position: absolute;
    right: 20px;
    top: 60px;
    background: #fff;
    flex-direction: column;
    border: 1px solid #eee;
    padding: 10px;
    width: 180px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-btn {
    display: none;
  }
}
