:root {
  --bg: #0f1315;
  --muted: #cfcfcf;
  --accent: #e49a2f;
  --card: #1d2127;
  --glass: rgba(255, 255, 255, 0.03);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}
html {
    overflow: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 72px; /* adjust to match header height */
}
::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}
body {
  font-family: "Montserrat", "Roboto", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
 
}

/* container */
#page {
  
  margin: 0 auto;
  padding: 0 5%;
}

/* header */
.site-header {

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px 0;
  position: sticky;
  top: 0;
  background: transparent;
  z-index: 20;
}

.logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

/* nav */
.main-nav {

  display: flex;
  gap: 18px;
  align-items: center;
}

.main-nav .nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 6px;
  font-weight: 500;
}

.main-nav .nav-cta {
  background: var(--accent);
  color: #111;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.2rem;
}

/* hero */
.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.068), rgba(0, 0, 0, 0));
  margin: 18px 0;
  padding: 40px 0;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.02;
  margin-bottom: 0.5rem;
  color: #fff;
}

.hero-sub {
  color: #d0d0d0;
  max-width: 60ch;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  margin-top: 8px;
  border-radius: 8px;
  text-decoration: none;
}

.btn.primary {
  background: var(--accent);
  margin-top: 10px;
  color: #111;
  font-weight: 700;
}

.btn.ghost {
  background: #fff1;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-visual img {
  width: 100%;
  height: auto;

}

/* sections */
.section {
  padding: 40px 0;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 18px;
  color: #fff;
}

/* tech */
.tech-logos {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.tech-logos img {
  height: 36px;


}

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  border-radius: 8px;
}

.card-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 10px;
}

/* pricing */
.pricing-grid {
  justify-content: center;
  display: grid;
  gap: 20px;

  grid-template-columns: repeat(4, 1fr);
}

.price-card {
  background: var(--card);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  min-width: 220px;
  
  text-align: center;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(234, 237, 58, 0.24);
}

/* works */
.projects {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.project {
  display: block;
  background: var(--card);
  padding: 6px;
  text-decoration: none;
  color: inherit;
  width: 350px;
}

.project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* footer */
.site-footer {
  margin-top: 40px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  align-items: center;
  

}
.fix-firefox {
  display: flex;
  justify-content: flex-end; /* Push content to the right */
  align-items: center;       /* Vertically center the icon */
  padding: 0.5rem;           /* Optional: add spacing */
}

.social{
    justify-items: right;
    align-items:center;
}
.footer-logo {
  height: 60px;
}
.footer-links,
.footer-links a {
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 20px;
  color: var(--muted);
  text-decoration: none;
  
}

/* small */
copyright {
  display: block;
  margin-top: 12px;
  color: #999;
}

/* responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cards {
    grid-template-columns: repeat(2, 0.5fr);
  }

  .main-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 64px;
    right: 5%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px;
    border-radius: 8px;
  }
}
@media (max-width: 480px) {
  /* layout -> single column */
  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 8px;
  }

  /* text sizing */
  .hero-title {
    font-size: 1.6rem !important;
    line-height: 1.1;
  }
  .hero-sub {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* hero image full width */
  .hero-visual {
    width: 100%;
    display: block;
  }
  .hero-visual img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* cards -> single column */
  .cards {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* pricing -> stacked */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding: 0 6px;
  }
  .price-card { padding: 16px; }

  /* tech logos: smaller & wrapped */
  .tech-logos img { height: 28px; margin: 6px; }

  /* projects -> full width */
  .projects .project { width: 100% !important; }

  /* header / nav */
  .main-nav { display: none !important; }
  .menu-btn { display: block !important; }

  /* mobile menu when opened */
  .main-nav.open {
    display: flex !important;
    position: fixed;
    top: 56px;
    right: 0;
    left: 0;
    height: calc(100vh - 56px);
    z-index: 2000;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    background: rgba(6, 8, 10, 0.95);
    overflow-y: auto;
  }
  .main-nav.open a { padding: 12px 8px; font-size: 1.05rem; }

  /* footer layout */
  .footer-inner { grid-template-columns: 1fr !important; gap: 18px; padding: 0 8px; }
  .footer-logo { height: 48px; }

  /* reduce global paddings for mobile */
  #page { padding-left: 4%; padding-right: 4%; }
}
@media (max-width: 1980px) {
  .cards {
    grid-template-columns: repeat(2, 0.5fr)
  }
  .hero-visual img {
    width: 70%;
    height: 70%;

    }
  .projects .project {
    width: 100%;
  }

  .hero-title {
    font-size: 1.8rem;
  }
}
@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .projects .project {
    width: 100%;
  }

  .hero-title {
 
    font-size: 1.8rem;
  }
}