/* HEROLAB - Startup Template Styles */

:root {
  --slate-grey: #546681;
  --white: white;
  --slate-blue: #484dff;
  --dark-slate-grey: #2e3642;
  --midnight-blue: #001632;
  --black: black;
  --primary-color: #484dff;
  --heading-color: #1a3066;
}

body {
  color: #333;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin: 0;
  background-color: white !important;
  /* Override legacy beige background from style.css */
}

/* Typography */
.heading {
  color: var(--heading-color);
  letter-spacing: -.5px;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 55px;
  line-height: 1.1;
  font-weight: 700;
}

.heading-primary {
  max-width: 900px;
  color: var(--heading-color);
  letter-spacing: -.5px;
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
}

.paragraph {
  max-width: 1000px;
  color: var(--slate-grey);
  font-size: 21px;
  font-style: normal;
  line-height: 1.7;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.section {
  padding: 100px 0;
  position: relative;
  margin: 0 !important;
}

.header {
  min-height: 85vh;
  background-color: #f8fbff;
  justify-content: center;
  align-items: center;
  padding: 180px 4% 120px;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* Buttons */
.button {
  display: inline-block;
  background-color: var(--slate-blue);
  color: white;
  border-radius: 45px;
  padding: 18px 35px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.button:hover {
  background-color: #3639cf;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(72, 77, 255, 0.2);
}

.link {
  color: var(--slate-grey);
  font-size: 16px;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.link:hover {
  color: var(--slate-blue);
}

/* Flex Components */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-block {
  flex: 1;
}

.hero-image-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Navigation Replacement Styles */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navigation.scrolled {
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 40px;
}

.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--slate-blue);
}

/* Service Cards */
.service-card-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: #f8fbff;
  padding: 100px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.footer-link {
  display: block;
  margin-bottom: 12px;
  color: var(--slate-grey);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .heading {
    font-size: 40px;
  }

  .service-card-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

/* Responsive */
@media (max-width: 991px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .heading {
    font-size: 40px;
  }

  .service-card-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .service-card-wrap {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--heading-color);
    border-radius: 2px;
  }
}

/* Global Interior Styles */
.section-label {
  display: inline-block;
  padding: 8px 16px;
  background-color: #f0f3ff;
  color: var(--slate-blue);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* Auth Pages */
.auth-wrapper {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8fbff;
  padding: 60px 20px;
}

.auth-card {
  background: white;
  width: 100%;
  max-width: 480px;
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.auth-desc {
  color: var(--slate-grey);
  margin-bottom: 30px;
  font-size: 16px;
}

/* Forms */
.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--heading-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #e1e4ed;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: var(--slate-blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(72, 77, 255, 0.1);
}

.btn--block {
  width: 100%;
  display: block;
  text-align: center;
}

.auth-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: var(--slate-grey);
}

.auth-footer a {
  color: var(--slate-blue);
  font-weight: 700;
  text-decoration: none;
}

/* Subpage Utilities */
.page-header {
  background: #f8fbff;
  padding: 140px 0 60px;
  text-align: center;
  margin: 0 !important;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.content-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
}

/* Premium Alerts */
.premium-alert-wrapper {
  position: relative;
  padding-top: 130px;
  margin-bottom: -110px;
  display: flex;
  justify-content: center;
  z-index: 99;
}

.premium-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color);
}

.premium-alert--error {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.15);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px rgba(231, 76, 60, 0.08);
}

.premium-alert--info {
  color: var(--slate-blue);
  border-color: rgba(72, 77, 255, 0.15);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px rgba(72, 77, 255, 0.08);
}

.premium-alert--success {
  color: #27ae60;
  border-color: rgba(39, 174, 96, 0.15);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px rgba(39, 174, 96, 0.08);
}

.premium-alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
}

.premium-alert--error .premium-alert-icon {
  background: rgba(231, 76, 60, 0.1);
}

.premium-alert--info .premium-alert-icon {
  background: rgba(72, 77, 255, 0.1);
}

.premium-alert--success .premium-alert-icon {
  background: rgba(39, 174, 96, 0.1);
}