:root {
  /* Dark Theme */
  --bg-color: #0f1115; 
  --text-main: #e4e6eb;
  --text-light: #a0a5ad;
  --primary-color: #00e676; /* Vibrant green/mint for contrast */
  --secondary-color: #00c853;
  --card-bg: #1c1f26;
  --header-bg: #15171c;
  --border-color: #2a2e35;
  
  /* Dark Footer */
  --footer-bg: #0a0b0d;
  --footer-text: #8b929b;
  --footer-heading: #ffffff;
  --footer-border: #1e2126;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

/* Offset anchor links so sticky header doesn't cover content */
section[id] {
  scroll-margin-top: 80px; 
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
}

.logo-badge {
  background-color: var(--primary-color);
  color: #000;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  margin-right: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
  color: #fff;
}

.brand-sub {
  font-size: 12px;
  color: var(--text-light);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-light);
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.header-cta-btn {
  background-color: var(--primary-color);
  color: #000;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.3s;
}

.header-cta-btn:hover {
  opacity: 0.9;
}

.hero-section {
  padding: 60px 0 40px;
  text-align: center;
}

.hero-title {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #fff;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-lead {
  font-size: 18px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

.content-card {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin-bottom: 40px;
}

.content-card h2 {
  color: var(--primary-color);
  margin-top: 30px;
}

.highlight-box {
  background-color: rgba(0, 230, 118, 0.05);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
}

/* Certificates Section */
.cert-banner {
  background-color: transparent; 
  border: none;
  padding: 40px 20px;
  margin: 0 auto 40px auto;
  max-width: 1100px;
  text-align: center;
}

.cert-subtitle {
  color: #00e676; 
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.cert-title {
  color: #fff;
  font-size: 32px;
  margin-bottom: 50px;
  font-weight: 800;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.cert-card {
  background-color: #1e2128;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 40px 20px;
  transition: transform 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: #00e676;
}

.cert-card:last-child {
  border-color: #00e676; 
}

.cert-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.cert-badge {
  background-color: rgba(255, 255, 255, 0.05); 
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.cert-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
  text-align: center;
}

.cert-card-desc {
  font-size: 13px;
  color: #a0a5ad;
  line-height: 1.6;
  text-align: center;
}

/* Order Section */
.order-section {
  padding: 40px 0 60px 0;
  text-align: center;
}

.order-section h2.section-title {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
}

.order-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.order-image-side {
  flex: 1;
  max-width: 400px;
  min-width: 250px;
  display: flex;
  justify-content: center;
}

.product-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 230, 118, 0.2));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.order-box {
  flex: 1;
  width: 100%;
  min-width: 300px;
  max-width: 450px;
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  text-align: center;
}

.price-tag {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.form-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  background-color: #121418;
  color: #fff;
  border-radius: 6px;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: var(--primary-color);
  outline: none;
}

/* Custom Phone Input with Prefix */
.phone-wrapper {
  display: flex;
  align-items: center;
  background-color: #121418;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}

.phone-wrapper:focus-within {
  border-color: var(--primary-color);
}

.phone-prefix {
  padding: 12px;
  color: #a0a5ad;
  background-color: #191b22;
  border-right: 1px solid var(--border-color);
  border-radius: 6px 0 0 6px;
  font-weight: 600;
}

.phone-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  margin-bottom: 0;
  padding: 12px;
  color: #fff;
  font-size: 16px;
}

.phone-wrapper input:focus {
  outline: none;
}

.phone-wrapper.full-red {
  border-color: #ff4444 !important;
}

.phone-wrapper.full-red .phone-prefix {
  color: #ff4444;
  border-right-color: #ff4444;
}

.phone-wrapper.full-red input {
  color: #ff4444;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.3s;
}

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

/* Dark Footer */
.dark-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 40px 0 20px;
  font-size: 14px;
  border-top: 1px solid var(--footer-border);
}

.footer-disclaimer {
  background-color: rgba(255,255,255,0.02);
  border-left: 4px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 40px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--footer-heading);
  font-size: 16px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--footer-border);
}

.footer-col p {
  margin: 8px 0;
  line-height: 1.5;
}

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

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-list a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--footer-border);
  padding-top: 20px;
  font-size: 12px;
  color: #555;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: var(--card-bg);
  color: #fff;
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 20px;
  cursor: pointer;
}

#modal-body::-webkit-scrollbar {
  width: 6px;
}
#modal-body::-webkit-scrollbar-track {
  background: #15171c;
  border-radius: 4px;
}
#modal-body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}
