/* ------------------------------
   GLOBAL STYLES
------------------------------ */
:root {
  --primary: #1e3a8a;
  --secondary: #3b82f6;
  --accent: #fbbf24;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --radius: 10px;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --max-width: 1200px;
  --font: 'Poppins', sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 {
  font-weight: 600;
  color: var(--text-dark);
}

/* ------------------------------
   NAVBAR
------------------------------ */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
}

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

.logo {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

.nav-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary,
.btn-outline {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

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

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ------------------------------
   HERO SECTION
------------------------------ */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 4rem 0;
}

.hero-text {
  flex: 1;
}

.hero h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero-img {
  flex: 1;
  text-align: right;
}

.hero-img img {
  width: 90%;
  max-width: 500px;
}

/* ------------------------------
   FEATURES
------------------------------ */
.features {
  text-align: center;
  padding: 4rem 0;
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ------------------------------
   TESTIMONIALS
------------------------------ */
.testimonials {
  background: var(--bg-light);
  padding: 4rem 0;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ------------------------------
   PRICING
------------------------------ */
.pricing {
  text-align: center;
  padding: 4rem 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.plan {
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}

.plan:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.plan h3 {
  color: var(--primary);
}

.plan-price {
  font-size: 1.8rem;
  margin: 1rem 0;
  color: var(--text-dark);
}

/* ------------------------------
   AUTH PAGES
------------------------------ */
.auth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.auth-container {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.auth-form input {
  width: 100%;
  padding: 0.8rem;
  margin: 0.6rem 0;
  border: 1px solid #ddd;
  border-radius: var(--radius);
}

.auth-footer {
  margin-top: 1rem;
}

/* ------------------------------
   CONTACT PAGE
------------------------------ */
.contact-section {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  border: 1px solid #ddd;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

/* ================= FOOTER ================= */
.footer {
  background-color: #111827; /* deep neutral blue-gray */
  color: #d1d5db;
  padding: 60px 0 30px;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #38bdf8; /* accent cyan blue */
  margin-bottom: 10px;
}

.footer-text {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h3,
.footer-social h3 {
  font-size: 1.1rem;
  color: #f3f4f6;
  margin-bottom: 10px;
}

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

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #38bdf8;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1f2937;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #38bdf8;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}


/* ------------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-img {
    text-align: center;
    margin-top: 2rem;
  }

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

