/* Base Styles */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  margin: 0;
  padding: 0;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  color: #fff;
  min-height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Main Layout */
.main-wrapper {
  background: #000;
  background: linear-gradient(180deg, rgba(11, 1, 33, 0.5) 0%, rgba(46, 3, 26, 1) 50%, #000 100%);
  min-height: 100vh;
  width: 100%;
}

/* Navigation */
.navbar {
  background: transparent;
  padding-top: 18px;
  padding-bottom: 18px;
  position: relative;
}

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

.navbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
}

.navbar-brand {
  margin-right: 0;
}

.navbar-brand img {
  transition: width 0.3s ease;
}

.navbar-toggler {
  display: none;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  margin-left: auto;
  order: 3;
}

.navbar-toggler i {
  color: #fff;
  width: 24px;
  height: 24px;
}

.navbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-center .navbar-nav {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.navbar-center-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.navbar-nav-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.navbar-nav .nav-item {
  margin: 0 18px;
}

.navbar-waitlist {
  display: flex;
  align-items: center;
}

.mobile-menu {
  display: none;
}

.navbar-close {
  display: none;
  background: transparent;
  color: #fff;
  border: none;
  padding: 1rem;
  cursor: pointer;
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1001;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-close i {
  color: #fff;
  width: 32px;
  height: 32px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 1rem 0 0.1rem 0;
}

.hero-title {
  font-size: 5rem;
  font-weight: 600;
  background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.08;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  margin-bottom: 0.2em;
}

.hero-title .highlight {
  color: inherit;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #bcb3bb;
  max-width: 750px;
  margin: 0 auto 32px auto;
  font-weight: 400;
}

.hero-pill {
  display: inline-block;
  max-width: 98%;
  text-align: center;
  font-size: 1.2rem;
  color: #F2F4F8;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 12px 32px;
  margin: 0 auto 18px auto;
  font-family: inherit;
  font-weight: 400;
}

/* Dashboard Section */
.dashboard-mockup {
  text-align: center;
  padding: 0;
  margin-top: 48px;
}

.dashboard-mockup img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
  width: 80%;
  height: auto;
}

/* Certifications Section */
.certifications-section {
  padding: 40px 0;
  overflow: hidden;
  margin: 0;
  width: 100%;
}

.certifications-section .container {
  max-width: 100%;
  padding: 0;
}

.certifications-heading {
  text-align: center;
  font-size: 1.5rem;
  color: #ececec;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.certifications-carousel {
  padding: 40px 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.certifications-track {
  display: flex;
  animation: scroll 60s linear infinite;
  width: fit-content;
}

.certification-item {
  flex: 0 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certification-item img {
  height: 160px;
  width: auto;
  object-fit: contain;
}

.certification-item img:hover {
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Features Section */
.features-section {
  background: radial-gradient(ellipse at center, #000000 0%, #000 100%);
  padding: 64px 0 64px 0;
  text-align: center;
}

.features-title {
  font-size: 3rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.15;
}

.features-subtitle {
  font-size: 1.15rem;
  color: #bcb3bb;
  font-weight: 400;
  margin: 0 auto;
  line-height: 1.5;
}

/* Infrastructure Monitoring Section */
.infra-monitoring-section {
  background: #000000;
  padding: 36px 0;
  margin: 0 auto;
  width: 100%;
}

.infra-monitoring-section .title {
  font-size: 1.2rem;
  font-weight: 500;
  color: #f22121;
  margin-bottom: 8px;
}

.infra-monitoring-section .text-secondary {
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
}

/* Feature Explanation Section */
.feature-explanation-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.feature-explanation-img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  padding: 3px;
  background: linear-gradient(
    45deg,
    #F01428,
    #2e0069,
    #0B081C,
    #F01428
  );
  background-size: 200%;
  animation: subtle-glow 15s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(240, 20, 40, 0.3),
              0 0 40px rgba(46, 0, 105, 0.2);
}

.feature-explanation-text {
  padding: 20px;
}

.feature-list {
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.feature-list .icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.feature-list i {
  color: #F01428;
  width: 24px;
  height: 24px;
}

.feature-explanation-img img {
  border-radius: 10px;
  display: block;
  width: 100%;
  height: auto;
}

@keyframes subtle-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Call-to-Action Section */
.cta-section {
  padding: 3rem;
  background: rgba(24, 24, 27, 0.4);
  border-radius: 24px;
  margin: 48px auto;
  color: #fff;
  max-width: 1100px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  border-radius: 24px 24px 0 0;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 100%
  );
  border-radius: 24px;
  pointer-events: none;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
}

.cta-section .cta-subtitle {
  color: #bcb3bb;
  max-width: 700px;
  margin: 0 auto 32px auto;
  font-size: 1.2rem;
  font-weight: 400;
}

.cta-form {
  max-width: 400px;
  margin: 0 auto;
}

.cta-input {
  border-radius: 999px;
  background: #000;
  color: #fafafa;
  border: 1px solid #333;
  font-size: 1.1rem;
  padding: 14px 24px;
  margin-bottom: 0.5rem;
}

.cta-input::placeholder {
  color: #8d8585;
  opacity: 1;
}

.cta-input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px #F01428;
  background: #000;
  color: #fafafa;
}

/* Footer Section */
.footer-section {
  background: linear-gradient(180deg, #000 0%, rgba(46, 3, 26, 1) 50%, rgba(11, 1, 33, 0.5) 100%);
  border-radius: 0;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  color: #fff;
  box-shadow: none;
  align-items: stretch !important;
  display: block !important;
}

.footer-section .container {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  text-align: left !important;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  gap: 80px;
}

.footer-info,
.footer-social,
.footer-legal,
.footer-logo {
  flex: 1 1 0;
  min-width: 180px;
  margin-bottom: 0;
}

.footer-logo {
  flex: 0 0 auto;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-title {
  margin-bottom: 8px;
}

.footer-link {
  margin-bottom: 8px;
}

.footer-legal {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-legal-links {
  margin-top: 0;
  margin-bottom: 4px;
  margin-left: 0;
}

.footer-section a {
  color: #bcb3bb;
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #e11d48;
}

.footer-legal-links a {
  white-space: nowrap;
}

.footer-legal-links .separator {
  color: #bcb3bb;
  margin: 0 8px;
}

/* Buttons */
.action-btn {
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 40px;
  background: #F01428;
  border: none;
  border-radius: 999px;
  color: #0B081C;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.action-btn:hover {
  background: #fafafa;
}

@property --gradient-start {
  syntax: '<color>';
  inherits: false;
  initial-value: #ececec;
}

@property --gradient-end {
  syntax: '<color>';
  inherits: false;
  initial-value: #ececec;
}

.hero-action-btn {
  font-size: 1.2rem;
  font-weight: 700;
  padding: 16px 40px;
  background: linear-gradient(150deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  border: none;
  border-radius: 999px;
  color: #0B081C;
  cursor: pointer;
  position: relative;
  transition: --gradient-angle 0.3s ease, --gradient-start 0.3s ease, --gradient-end 0.3s ease, all 0.3s ease;
}

.hero-action-btn:hover {
  transform: translateY(-2px);
  color: #e0e0e0;
  --gradient-start: #F01428;
  --gradient-end: #411543;
}

.hero-action-btn::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 1px solid #ececec;
  border-radius: 999px;
  transition: all 0.3s ease;
}

/* Toast Notification */
#toast {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  font-size: 14px;
  font-weight: 500;
  animation: fadeInOut 5s ease-in-out;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  90% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
