:root {
  --kash-primary: #3c3ca0;
  --kash-light: #5252c8;
  --kash-dark: #1a1842;
  --kash-glow: rgba(82, 82, 200, 0.2);
  --gold-accent: #ffd700;
  --gold-dark: #b8860b;
  --bg-body: #ffffff;
  --bg-section: #f2f2ff;
  --bg-card: #ffffff;
  --bg-card-hover: #eeeeff;
  --text-primary: #1a1840;
  --text-secondary: #60608a;
  --border-color: rgba(82, 82, 200, 0.15);
  --shadow-card: 0 4px 20px rgba(82, 82, 200, 0.1);
  --shadow-hover: 0 12px 35px rgba(82, 82, 200, 0.2);
  --font-main: 'Outfit', 'Inter', sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==================== HEADER ==================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 24, 66, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  line-height: 1;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: translateY(-2px);
}

.logo span {
  color: var(--gold-accent);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-accent);
}

.header-download-btn {
  background: linear-gradient(135deg, var(--kash-primary), var(--kash-light));
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: 0 4px 15px rgba(60, 60, 160, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.header-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60, 60, 160, 0.6);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==================== BUTTONS ==================== */
.download-btn {
  background: linear-gradient(135deg, var(--kash-primary), var(--kash-light));
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(60, 60, 160, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(60, 60, 160, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-accent);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--gold-accent);
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--gold-accent);
  color: var(--kash-dark);
  transform: translateY(-3px);
}

/* ==================== MAIN ==================== */
main {
  margin-top: 65px;
}

/* ==================== HERO ==================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 3rem;
}

/* Hero wrapper gets the dark gradient background */
.hero-bg {
  background: linear-gradient(135deg, var(--kash-dark) 0%, var(--kash-primary) 60%, #2e2e90 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(82, 82, 200, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-text {
  flex: 0.8;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fff 30%, var(--gold-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text .subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-text .tagline {
  font-size: 0.95rem;
  color: var(--gold-accent);
  margin-top: 1.5rem;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.carousel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 15px;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-track img {
  display: block;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
  background: var(--gold-accent);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

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

/* ==================== SECTION LAYOUT ==================== */
.section {
  padding: 5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-dark {
  background: var(--bg-section);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-full {
  padding: 5rem 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--kash-primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== WHY CHOOSE US (Feature Cards) ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--kash-light), var(--gold-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(82, 82, 200, 0.3);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--kash-primary);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--kash-light);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.2rem;
  padding-top: 1.5rem;
  line-height: 1.7;
}

.testimonial-card .author {
  color: var(--kash-primary);
  font-weight: 700;
  font-style: normal;
}

/* ==================== INTRO / CTA SECTION ==================== */
.intro-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
}

.intro-section h2 {
  font-size: 2rem;
  color: var(--kash-primary);
  margin-bottom: 1rem;
}

.intro-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.cta-banner {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--kash-dark) 0%, var(--kash-primary) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ==================== PAGE CONTAINER (Sub pages) ==================== */
.page-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
  font-size: 2.8rem;
  color: var(--kash-primary);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.page-content h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  margin-top: 2.5rem;
  color: var(--kash-primary);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.page-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  margin-top: 1.5rem;
  color: var(--kash-light);
}

.page-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.8rem;
}

.page-content li {
  margin-bottom: 0.6rem;
  list-style-type: disc;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-content ol li {
  list-style-type: decimal;
}

.page-content strong {
  color: var(--text-primary);
}

/* ==================== FAQ ACCORDION ==================== */
.faq-item {
  background: var(--bg-card);
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(82, 82, 200, 0.06);
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--bg-section);
}

.faq-question .arrow {
  transition: transform 0.3s ease;
  color: var(--kash-light);
  font-size: 1.2rem;
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-item.open .faq-question {
  background: var(--bg-section);
  color: var(--kash-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

/* ==================== PROMO CARDS ==================== */
.promo-card {
  background: linear-gradient(135deg, var(--kash-dark), rgba(60, 60, 160, 0.9));
  padding: 2.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 215, 0, 0.25);
  position: relative;
  overflow: hidden;
  color: white;
}

.promo-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.promo-card h2 {
  color: var(--gold-accent);
  margin-top: 0;
  border: none;
  font-size: 1.5rem;
}

.promo-card p {
  color: rgba(255, 255, 255, 0.88);
}

/* ==================== CONTACT FORM ==================== */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-form-wrap {
  flex: 1;
  min-width: 280px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--kash-light);
  box-shadow: 0 0 0 3px rgba(82, 82, 200, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-secondary);
}

.contact-form button {
  background: linear-gradient(135deg, var(--kash-primary), var(--kash-light));
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60, 60, 160, 0.4);
}

/* ==================== CONTACT DETAILS ==================== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-detail-item .contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-detail-item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-detail-item strong {
  color: var(--text-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-detail-item a {
  color: var(--kash-light);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.contact-detail-item a:hover {
  color: var(--kash-primary);
}

/* ==================== SOCIAL CHANNELS ==================== */
.social-channels {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--kash-primary);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--kash-light);
  color: white;
  border-color: var(--kash-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(82, 82, 200, 0.35);
}

/* ==================== POINTS TABLE ==================== */
.points-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}

.points-table th,
.points-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.points-table th {
  background: var(--kash-primary);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.points-table td {
  color: var(--text-secondary);
  background: var(--bg-card);
}

.points-table tr:hover td {
  background: var(--bg-section);
  color: var(--text-primary);
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--kash-dark);
  padding: 4rem 2rem 1.5rem;
  border-top: 3px solid var(--kash-primary);
  color: white;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 2rem;
}

.footer-col {
  min-width: 200px;
}

.footer-col h4 {
  color: var(--gold-accent);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--kash-light);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col ul li {
  margin-bottom: 0.7rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--gold-accent);
  padding-left: 5px;
}

/* Footer logo overrides for dark background */
footer .logo {
  color: white;
}

footer .logo span {
  color: var(--gold-accent);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  header {
    padding: 0 1rem;
    height: 60px;
  }

  main {
    margin-top: 60px;
  }

  .logo {
    font-size: 1.2rem;
    gap: 0.5rem;
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    /* top & height aligned with header height: 60px */
    background: rgba(26, 24, 66, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: left 0.3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.active {
    left: 0;
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .header-download-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col p {
    margin: 0 auto;
  }

  .contact-grid {
    flex-direction: column;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0 0.75rem;
    height: 50px;
  }

  main {
    margin-top: 50px;
  }

  .logo {
    font-size: 1rem;
    gap: 0.4rem;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .download-btn,
  .btn-secondary {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }

  .header-download-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
}
