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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #333;
}

a {
  color: #4CAF50;
  text-decoration: none;
}

a:hover {
  color: #388E3C;
  text-decoration: none;
}

h1, h2, h3 {
  font-weight: 700;
}

h4, h5 {
  font-weight: 600;
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  padding: 14px 0;
  background: transparent;
  z-index: 1030;
  transition: all 0.35s ease;
}

.navbar-brand .brand-text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-brand .brand-text em {
  font-style: italic;
  font-weight: 300;
}

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

.navbar .nav-link {
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  padding: 6px 10px !important;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #A5D6A7 !important;
}

.navbar .nav-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  padding: 5px 14px !important;
}

.navbar .nav-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.navbar .navbar-toggler {
  border: none;
  background: transparent;
}

.navbar .navbar-toggler span {
  color: #fff;
  font-size: 20px;
}

/* Scrolled state */
.nav-scrolled {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.nav-scrolled .brand-text {
  color: #2D6B78 !important;
}

.nav-scrolled .nav-link {
  color: #333 !important;
}

.nav-scrolled .nav-link:hover,
.nav-scrolled .nav-link.active {
  color: #4CAF50 !important;
}

.nav-scrolled .nav-btn-outline {
  border-color: #2D6B78;
  color: #2D6B78 !important;
}

.nav-scrolled .nav-btn-outline:hover {
  background: #2D6B78;
  color: #fff !important;
}

.nav-scrolled .navbar-toggler span {
  color: #333;
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
  background: #2D6B78;
  background: linear-gradient(135deg, #1e4f5a 0%, #2D6B78 50%, #3a8a7a 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: rgba(76, 175, 80, 0.12);
  border-radius: 50%;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero-text {
  padding-right: 20px;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-text h1 em {
  font-style: italic;
  font-weight: 300;
  color: #A5D6A7;
}

.hero-sub {
  font-size: 21px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

/* ---- AI word: shimmering gradient ---- */
.ai-word-container {
  position: relative;
  display: inline-block;
}

.ai-word {
  background: linear-gradient(90deg, #67e8f9 0%, #818cf8 35%, #e879f9 65%, #67e8f9 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.15em;
  animation: ai-shimmer 2.8s linear infinite;
  filter: drop-shadow(0 0 8px rgba(129, 140, 248, 0.65));
}

@keyframes ai-shimmer {
  0%   { background-position: 0%   center; }
  100% { background-position: 250% center; }
}

/* ---- Sparkle stars around "AI" ---- */
.ai-sparkle {
  position: absolute;
  font-style: normal;
  user-select: none;
  pointer-events: none;
  animation: ai-twinkle 2s ease-in-out infinite;
}

.sp1 { top: -11px; left:  -8px; font-size: 11px; color: #67e8f9; animation-delay: 0s;   }
.sp2 { top: -13px; right: -7px; font-size:  8px; color: #e879f9; animation-delay: 0.7s; }
.sp3 { bottom: -8px; right: -10px; font-size: 9px; color: #a78bfa; animation-delay: 1.3s; }

@keyframes ai-twinkle {
  0%, 100% { opacity: 0;   transform: scale(0.3) rotate(0deg);   }
  45%, 55% { opacity: 1;   transform: scale(1.2) rotate(72deg);  }
}

/* ---- Small tagline ---- */
.hero-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-bottom: 36px;
  letter-spacing: 0.3px;
}

.hero-btn {
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s ease;
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

/* Hero phone image stack */
.hero-screens {
  position: relative;
  text-align: center;
  height: 520px;
  margin-top: 20px;
}

.hero-phone {
  position: absolute;
  width: 52%;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-phone-back {
  top: 30px;
  right: 5%;
  transform: rotate(6deg);
  opacity: 0.85;
}

.hero-phone-front {
  top: 60px;
  left: 5%;
  transform: rotate(-4deg);
  z-index: 2;
}

/* ========================================
   SHARED SECTION STYLES
======================================== */
.section-padding {
  padding: 90px 0;
}

.sectioner-header {
  margin-bottom: 0;
}

.sectioner-header h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-content {
  margin-top: 60px;
}

/* Divider line */
.line {
  display: block;
  width: 48px;
  height: 2px;
  background: #4CAF50;
  margin: 0 auto;
}

.line-light {
  background: rgba(255, 255, 255, 0.5);
}

/* ========================================
   FEATURES SECTION
======================================== */
.features-section {
  background: #fff;
}

.features-section .sectioner-header h3 {
  color: #222;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 44px;
  gap: 18px;
}

.feature-icon-wrap {
  flex-shrink: 0;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #4CAF50;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(76, 175, 80, 0.3);
}

.feature-body h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #222;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.feature-body p {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   PREVIEW SECTION
======================================== */
.preview-section {
  background: #2D3036;
}

.preview-section .sectioner-header h3 {
  color: #fff;
}

.preview-screen {
  padding: 8px;
}

.preview-screen img {
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.preview-screen img:hover {
  transform: translateY(-6px);
}

/* ========================================
   DOWNLOAD SECTION
======================================== */
.download-section {
  background: #fff;
}

.download-section .sectioner-header h3 {
  color: #222;
}

.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.store-btn img {
  height: 52px;
  width: auto;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-btn img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
  background: #2D3036;
}

.contact-section .sectioner-header h3 {
  color: #fff;
}

#contact_form input,
#contact_form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  padding: 12px 16px;
  width: 100%;
  margin-bottom: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

#contact_form input::placeholder,
#contact_form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

#contact_form input:focus,
#contact_form textarea:focus {
  border-color: #4CAF50;
}

#contact_form textarea {
  resize: none;
  height: 140px;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 13px;
  background: #4CAF50;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.9;
}

.contact-info-box {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 14px;
}

.contact-item i {
  color: #4CAF50;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-item .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.85);
}

.contact-item a:hover {
  color: #4CAF50;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: #1e2226;
  padding: 18px 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer a:hover {
  color: #4CAF50;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 991px) {
  .navbar .navbar-collapse {
    background: #1e4f5a;
    padding: 12px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-scrolled .navbar-collapse {
    background: #fff;
  }

  .nav-scrolled .navbar-collapse .nav-link {
    color: #333 !important;
  }

  #contact_form {
    margin-bottom: 28px;
  }

  .contact-info-box {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 110px 0 60px;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-screens {
    height: 360px;
    margin-top: 40px;
  }

  .hero-phone {
    width: 55%;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-content {
    margin-top: 40px;
  }

  .feature-item {
    margin-bottom: 28px;
  }

  .store-buttons {
    gap: 16px;
  }

  .store-btn img {
    height: 44px;
  }

  .preview-screen {
    padding: 6px;
    margin-bottom: 8px;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-screens {
    height: 300px;
  }

  .hero-phone {
    width: 60%;
  }

  .sectioner-header h3 {
    font-size: 22px;
    letter-spacing: 2px;
  }
}
