/* ================= THEME ================= */
:root {
  --black: #050505;
  --black-deep: #000000;
  --black-soft: #0f0f0f;
  --orange: #ff7a00;
  --orange-soft: #ff9f1c;
  --neon-orange: #ffaa40;
  --white: #ffffff;
  --muted: #a0a0a0;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.1);
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BASE ================= */
body {
  background: var(--black);
  color: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

/* ================= HEADER ================= */
header {
  background: var(--black-deep);
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--orange);
}

.logo-text span {
  color: var(--white);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

/* ================= DROPDOWN MENU ================= */
.nav-links li {
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown>a {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--black-deep);
  border: 1px solid #333;
  border-radius: 8px;
  min-width: 200px;
  margin-top: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.8rem 1.2rem;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s;
}

.dropdown-content a:hover {
  background: var(--black-soft);
  color: var(--orange);
}

.dropdown-header {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  border-bottom: 1px solid #333;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

.dropdown-header:first-child {
  margin-top: 0;
}

/* ================= NEW HERO SECTION ================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 2rem;
}

.hero-bg-animated {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 122, 0, 0.15) 0%, transparent 40%),
    linear-gradient(45deg, #000000 0%, #111111 100%);
  z-index: -2;
  animation: bg-pulse 10s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  z-index: -1;
  mask-image: radial-gradient(circle, black 40%, transparent 80%);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--orange);
  border-radius: 50px;
  color: var(--orange);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  background: rgba(255, 122, 0, 0.1);
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.3);
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

.text-gradient {
  background: linear-gradient(to right, #fff, var(--orange), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: gradient-move 3s linear infinite;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button Variants */
.btn-primary {
  background: var(--orange);
  color: #000;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--orange);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.5);
}

.btn-primary:hover {
  background: var(--neon-orange);
  box-shadow: 0 0 40px rgba(255, 122, 0, 0.8);
  transform: translateY(-3px);
  color: #000;
}

.btn-outline {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  opacity: 0.7;
  animation: float 3s ease-in-out infinite;
}

/* ================= UTILITIES ================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 4rem;
}

.text-center {
  text-align: center;
}

.section-desc {
  color: var(--muted);
  max-width: 600px;
  margin: 1rem auto;
  font-size: 1.1rem;
}

.bg-darker {
  background: #050505;
}

/* ================= GLASS CARDS ================= */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255, 122, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-box i {
  font-size: 1.8rem;
  color: var(--orange);
}

/* ================= PRODUCT TEASER ================= */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.view-all-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-all-link:hover {
  gap: 1rem;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card-mini {
  background: var(--black-soft);
  border: 1px solid #222;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.product-card-mini:hover {
  border-color: var(--orange);
  transform: scale(1.02);
}

.product-card-mini.featured {
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.1);
}

.p-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 1rem;
  display: block;
}

.product-card-mini h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.product-card-mini p {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.p-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ================= ANIMATIONS ================= */
@keyframes bg-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  50% {
    transform: translateY(-10px) translateX(-50%);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.5s;
}

.delay-4 {
  transition-delay: 0.7s;
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: #000;
  padding: 0.9rem 2rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
}

.btn:hover {
  background: var(--orange-soft);
}

/* ================= SECTIONS ================= */
section {
  max-width: 1200px;
  margin: auto;
  padding: 4.5rem 1.5rem;
  background: var(--black);
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 2rem;
}

.section-title span {
  color: var(--orange);
}

/* ================= GRID / CARDS ================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--black-soft);
  border: 1px solid #222;
  padding: 2rem;
  border-radius: 14px;
}

.card h3 {
  color: var(--orange);
  margin-bottom: 1rem;
}

.card p {
  color: var(--muted);
  font-size: 1rem;
}

/* ================= CAREERS / JOBS SECTION CSS ================= */
.job-list {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.job-card {
  background: var(--black-soft);
  border: 1px solid #222;
  padding: 2rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  transition: all 0.3s;
}

.job-card:hover {
  border-color: var(--orange);
  transform: translateY(-5px);
}

.job-info h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.job-info .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
}

.job-info .meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.job-desc {
  color: #ccc;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.apply-btn {
  background: var(--orange);
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  align-self: flex-start;
  transition: background 0.3s;
}

.apply-btn:hover {
  background: var(--orange-soft);
}

/* ================= FOOTER ================= */
footer {
  background: var(--black-deep);
  border-top: 1px solid #222;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
}

/* ================= MODAL ================= */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
}

.modal.active {
  display: block;
}

.modal-content {
  background: var(--black-soft);
  border: 1px solid #333;
  border-radius: 14px;
  margin: 2rem auto;
  padding: 2.5rem;
  max-width: 900px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--orange);
}

.modal-header h2 {
  font-size: 2.5rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.specs-table th,
.specs-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #222;
}

.specs-table th {
  color: var(--orange);
  font-weight: 600;
  width: 40%;
}

.specs-table td {
  color: var(--white);
}

.config-section {
  margin: 2rem 0;
}

.config-section h3 {
  color: var(--orange);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.config-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.config-option {
  background: var(--black);
  border: 2px solid #222;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.config-option:hover {
  border-color: var(--orange);
}

.config-option.selected {
  border-color: var(--orange);
  background: rgba(255, 122, 0, 0.1);
}

.config-option label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
}

.config-option input[type="radio"],
.config-option input[type="checkbox"] {
  margin-right: 0.5rem;
  accent-color: var(--orange);
}

.config-label {
  font-weight: 600;
  color: var(--white);
}

.config-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 0.9rem 2rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: var(--orange);
  color: #000;
}

.view-details-btn {
  margin-top: 1rem;
  display: inline-block;
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.view-details-btn:hover {
  background: var(--orange);
  color: #000;
}

/* ================= RESPONSIVE TYPOGRAPHY ================= */
body {
  font-size: 16px;
}

@media (min-width: 768px) {
  body {
    font-size: 17px;
  }

  .job-card {
    flex-direction: row;
    align-items: center;
  }

  .apply-btn {
    margin-left: 2rem;
    align-self: center;
  }
}

@media (min-width: 1024px) {
  body {
    font-size: 18px;
  }
}

/* ================= RESPONSIVE NAVIGATION ================= */
.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 5px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .nav-links {
    position: absolute;
    right: 0px;
    height: 92vh;
    /* Fallback */
    height: calc(100vh - 70px);
    /* Adjust based on header height */
    top: 100%;
    /* Position below header */
    background-color: var(--black-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
    /* Or 100% */
    transform: translateX(100%);
    transition: transform 0.3s ease-in;
    border-left: 1px solid #222;
    padding-top: 2rem;
    z-index: 999;
  }

  .nav-links li {
    opacity: 0;
    margin-bottom: 1rem;
  }

  .burger {
    display: block;
  }
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}


/* ================= PRODUCT FEATURE LIST REDESIGN ================= */
.product-feature-list {
  list-style: none;
  margin-top: 1.5rem;
  padding: 0;
}

.product-feature-list li {
  margin-bottom: 0.8rem;
}

.product-feature-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  /* Subtle glass effect */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-feature-list a:hover {
  background: rgba(255, 122, 0, 0.1);
  /* Orange tint on hover */
  border-color: var(--orange);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(255, 122, 0, 0.15);
}

.product-feature-list i {
  color: var(--orange);
  font-size: 1.1rem;
  width: 25px;
  text-align: center;
  transition: transform 0.3s;
}

.product-feature-list span {
  flex-grow: 1;
  margin-left: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.product-feature-list .arrow {
  color: var(--muted);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(-10px);
  width: auto;
}

.product-feature-list a:hover .arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--orange);
}

.product-feature-list a.disabled {
  opacity: 0.5;
  cursor: default;
  background: transparent;
  border-color: #333;
}


/* ================= JOB APPLICATION MODAL CSS ================= */
.job-modal-content {
  max-width: 600px;
  background: var(--black-soft);
  border: 1px solid #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 2.5rem;
  border-radius: 16px;
}

.job-modal-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.job-modal-content p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Form Layout */
.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label i {
  color: var(--orange);
}

.form-group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

/* File Upload Area */
.file-upload-area {
  border: 2px dashed #444;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: var(--orange);
  background: rgba(255, 122, 0, 0.05);
}

.upload-content i {
  font-size: 2.5rem;
  color: var(--muted);
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.file-upload-area:hover .upload-content i {
  color: var(--orange);
}

.upload-content p {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.browse-link {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
}

.file-info {
  display: block;
  font-size: 0.8rem;
  color: #666;
}

.file-name-display {
  margin-top: 1rem;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 1rem;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--orange) 0%, #ff5e00 100%);
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Success Animation */
.success-message {
  text-align: center;
  padding: 2rem 0;
}

.success-message h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin: 1.5rem 0 0.5rem;
}

.checkmark-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  position: relative;
  display: block;
}

.checkmark-circle .background {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #2ebf6d;
  position: absolute;
}

.checkmark-circle .checkmark {
  border-radius: 5px;
}

.checkmark-circle .checkmark.draw:after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 40px;
  border: solid #fff;
  border-width: 0 4px 4px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

@keyframes checkmark {
  0% {
    transform: translate(-50%, -60%) rotate(45deg) scale(0);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -60%) rotate(45deg) scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
}