/* ------------------------------
   BASE
------------------------------ */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: #333;
}

h1, h2, h3, h4 {
  color: #0D6E6E;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.mobile-menu {display:none;}

/* ------------------------------
   HEADER
------------------------------ */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* allows absolute hamburger */
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: #0D6E6E;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  max-width: 100px;
}

/* ------------------------------
   NAVIGATION (DESKTOP)
------------------------------ */

.nav {
display: flex;
    gap: 30px;
    position: relative;
    top: 15px;}

.nav a {
  text-decoration: none;
  color: #0D6E6E;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #0D6E6E;
}

/* underline animation */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 25px;
  width: 0%;
  height: 2px;
  background: #0D6E6E;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* CTA button */
.nav a.cta {
  padding: 0px 10px;
  background: none;
  position: relative;
  top: -9px;
}

.nav a.cta img {
  height:56px;
  width:56px;
}


.nav a.cta::after {
  display: none;
}

/* ------------------------------
   HAMBURGER BUTTON
------------------------------ */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;

  /* absolute top-right placement */
  position: absolute;
  right: 0;
  top: 0;

  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #0D6E6E;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ------------------------------
   HERO
------------------------------ */

.hero {
  padding: 80px 0;
  text-align: center;
  background: #f7fafa;
}

.hero h1 {
  font-size: 42px;
  color: #0D6E6E;
}

.btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #0D6E6E;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

/* ------------------------------
   GRID
------------------------------ */

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

.feature-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 20px;
  border-radius: 8px;
}

/* ------------------------------
   PRICING
------------------------------ */

.pricing-grid {
  display: flex;
  gap: 30px;
}

.price-card {
  flex: 1;
  border: 1px solid #e5e5e5;
  padding: 20px;
  border-radius: 8px;
}

.price {
  font-size: 32px;
  color: #0D6E6E;
  font-weight: 800;
}

/* ------------------------------
   FOOTER
------------------------------ */

.site-footer {
  background: #f7fafa;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}

/* ------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------ */

/* Tablets */
@media (max-width: 900px) {

  .header-flex {
    flex-direction: column;
    gap: 20px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

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

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

  .pricing-grid {
    flex-direction: column;
  }
}

/* ------------------------------
   MOBILE — WRAPPER-BASED SLIDE-IN MENU
------------------------------ */

@media (max-width: 600px) {
.header-flex > .nav {
    display: none;
  }


  /* Show hamburger */
  .hamburger {
    display: flex;
  }

  /* MOBILE MENU WRAPPER */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;

    height: 100vh;        /* fills the screen */
    overflow-y: auto;     /* scroll if needed */

    background: #ffffff;
    box-shadow: 4px 0 12px rgba(0,0,0,0.1);
    transition: left 0.35s ease;
    z-index: 999;
  }

  .mobile-menu.active {
    left: 0; /* slide in */
  }

  /* NAV INSIDE WRAPPER */
  .nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 80px 20px;
  }

  .nav a {
    font-size: 18px;
    padding: 10px 0;
  }

  .header-flex {
    align-items: flex-start;
  }

  .logo img {
    max-width: 70px;
  }

  .hero {
    padding: 60px 20px;
  }

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

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

  .pricing-grid {
    flex-direction: column;
  }

  .price {
    font-size: 28px;
  }
}

/* Login Page */
.page-login {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.login-container {
    max-width: 420px;
    width: 100%;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.login-container h1 {
    margin-bottom: 10px;
    font-size: 28px;
}

.login-container p {
    margin-bottom: 20px;
    color: #555;
}

.login-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.login-form button {
    width: 100%;
    padding: 12px;
    background: #0D6E6E;
    border: none;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
}

.login-note {
    margin-top: 20px;
    text-align: center;
}

.login-note a {
    color: #0D6E6E;
    font-weight: 600;
}

.login-error {
    background: #ffdddd;
    padding: 10px;
    border-left: 4px solid #ff4e4e;
    margin-bottom: 20px;
    border-radius: 6px;
}


.logout-link {
}

