/* ============================================
   DURANDAL — Dark Green Futuristic Theme
   ============================================ */

/* === Custom Properties === */
:root {
  --bg-primary: #0a0f0a;
  --bg-secondary: #0d1a0d;
  --bg-card: rgba(10, 30, 15, 0.7);
  --bg-card-hover: rgba(15, 45, 20, 0.85);
  --accent-primary: #00ff88;
  --accent-secondary: #00e676;
  --accent-dim: #1a3a2a;
  --accent-glow: rgba(0, 255, 136, 0.4);
  --text-primary: #f0f0f0;
  --text-secondary: #a0b0a0;
  --text-muted: #607060;
  --font-main: 'Inter', 'Segoe UI', sans-serif;
  --font-heading: 'Orbitron', 'Inter', sans-serif;
  --border-radius: 12px;
  --transition-speed: 0.3s;
}

/* === Reset & Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
  padding: 0;
}

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

a {
  color: inherit;
}

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

/* === Background Grid on body::before === */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* === Typography === */
.section-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--accent-primary);
  text-shadow: 0 0 20px var(--accent-glow);
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  font-family: var(--font-main);
  color: var(--text-secondary);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 60px;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-family: var(--font-main);
  text-align: center;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #0a0f0a;
  border: none;
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 0 35px var(--accent-glow), 0 0 60px rgba(0, 255, 136, 0.25);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
}

.btn--outline:hover {
  background: var(--accent-primary);
  color: #0a0f0a;
}

.btn--disabled {
  background: var(--accent-dim);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
  border: none;
}

.btn--discord {
  background: #5865F2;
  color: white;
  border: none;
}

.btn--discord:hover {
  background: #4752C4;
  transform: translateY(-2px);
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: background 0.3s;
  backdrop-filter: blur(0);
}

.navbar--scrolled {
  background: rgba(10, 15, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--accent-dim);
}

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

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-primary);
  text-shadow: 0 0 10px var(--accent-glow);
  text-decoration: none;
  font-weight: 700;
}

.navbar__links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.navbar__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.navbar__links a:hover {
  color: var(--accent-primary);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.navbar__links a:hover::after {
  transform: scaleX(1);
}

/* === Language Toggle === */
.lang-toggle {
  background: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 1px;
  margin-left: 10px;
}

.lang-toggle:hover {
  background: var(--accent-primary);
  color: #0a0f0a;
}

.navbar__burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.navbar__burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s;
}

.navbar__burger--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__burger--active span:nth-child(2) {
  opacity: 0;
}

.navbar__burger--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Hero === */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 60%), var(--bg-primary);
}

.hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 2;
  flex-direction: row;
}

.hero__text {
  flex: 1;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent-primary);
  text-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(0, 255, 136, 0.2);
  letter-spacing: 4px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.hero__seo-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  opacity: 0.85;
  line-height: 1.5;
}

.hero__buttons {
  display: flex;
  gap: 20px;
}

.hero__image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image img {
  max-width: 575px;
  width: 115%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
}

.hero__image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.3) 0%, rgba(0, 255, 136, 0.1) 40%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  animation: pulse-glow 3s ease-in-out infinite;
}

/* === Keyframes === */
@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* === Features Section === */
.features {
  padding: 100px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-dim);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.15);
  border-color: var(--accent-primary);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  color: var(--accent-primary);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Resellers === */
.resellers {
  padding: 100px 0;
  text-align: center;
}

.discord-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--accent-dim);
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
  transition: all 0.3s;
}

.discord-card:hover {
  border-color: #5865F2;
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.3);
  transform: translateY(-5px);
}

.discord-card__icon {
  width: 60px;
  height: auto;
  color: #5865F2;
}

.discord-card__title {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.discord-card__description {
  color: var(--text-secondary);
  margin-bottom: 20px;
}


.discord-card__stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
}

.discord-card__stat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.discord-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.discord-card__stat-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.discord-card__stat-dot--online {
  background: #43b581;
}

.discord-card__stat-dot--members {
  background: #747f8d;
}

/* === Videos === */
.videos {
  padding: 100px 0;
}

.videos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-dim);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.15);
  border-color: var(--accent-primary);
}

.video-card__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-card__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-card__title {
  padding: 15px 20px;
  font-size: 1rem;
  color: var(--text-primary);
}

/* === Pricing === */
.pricing {
  padding: 100px 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-dim);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2);
  border-color: var(--accent-primary);
}

.price-card__image {
  margin-bottom: 20px;
}

.price-card__image img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px var(--accent-glow));
  transition: transform 0.3s;
}

.price-card:hover .price-card__image img {
  transform: scale(1.05);
}

.price-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.price-card__features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
}

.price-card__features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding-left: 25px;
  position: relative;
}

.price-card__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 700;
}

.price-card__price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-shadow: 0 0 15px var(--accent-glow);
  margin-bottom: 25px;
}

.price-card__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--accent-primary);
  color: #0a0f0a;
}

.price-card__badge--dev {
  background: #ff6b35;
  color: white;
}

/* Popular card */
.price-card--popular {
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Disabled card */
.price-card--disabled {
  border-color: var(--text-muted);
}

.price-card--disabled .price-card__image img {
  filter: grayscale(30%) brightness(0.8) drop-shadow(0 0 15px rgba(255, 107, 53, 0.3));
}

.price-card--disabled .price-card__price {
  color: var(--text-muted);
  text-shadow: none;
}

.price-card--disabled:hover {
  transform: none;
  box-shadow: none;
}

/* === FAQ Section === */
.faq {
  padding: 100px 0;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--accent-dim);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s;
}

.faq__item:hover {
  border-color: rgba(0, 255, 136, 0.3);
}

.faq__item--active {
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s;
  line-height: 1.4;
  gap: 15px;
}

.faq__question:hover {
  color: var(--accent-primary);
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--accent-primary);
  border-radius: 2px;
  transition: transform 0.3s;
}

.faq__icon::before {
  width: 16px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 2px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__item--active .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__answer p {
  padding: 0 25px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq__item--active .faq__answer {
  max-height: 500px;
}

/* === Footer === */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--accent-dim);
  background: var(--bg-secondary);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--accent-primary);
  text-shadow: 0 0 10px var(--accent-glow);
  margin-bottom: 10px;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.footer__links {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer__links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--accent-primary);
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

.pricing__grid .price-card:nth-child(1) {
  transition-delay: 0s;
}

.pricing__grid .price-card:nth-child(2) {
  transition-delay: 0.1s;
}

.pricing__grid .price-card:nth-child(3) {
  transition-delay: 0.2s;
}

.pricing__grid .price-card:nth-child(4) {
  transition-delay: 0.3s;
}

.features__grid .feature-card:nth-child(1) {
  transition-delay: 0s;
}

.features__grid .feature-card:nth-child(2) {
  transition-delay: 0.15s;
}

.features__grid .feature-card:nth-child(3) {
  transition-delay: 0.3s;
}

/* === Section Dividers === */
section + section::before {
  content: '';
  display: block;
  width: 60%;
  height: 1px;
  margin: 0 auto 0;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

/* === Responsive: 1024px === */
@media (max-width: 1024px) {
  .hero__content {
    flex-direction: row;
    text-align: left;
  }

  .hero__buttons {
    justify-content: flex-start;
  }

  .hero__title {
    font-size: 3rem;
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero__content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero__buttons {
    justify-content: center;
  }

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

/* === Responsive: 768px === */
@media (max-width: 768px) {
  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    border-left: 1px solid var(--accent-dim);
  }

  .navbar__links--open {
    right: 0;
  }

  .navbar__burger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
  }

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

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

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

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

  .hero__image img {
    max-width: 350px;
  }

  .discord-card {
    margin: 0 15px;
  }

  .faq__question {
    font-size: 0.95rem;
    padding: 16px 20px;
  }

  .faq__answer p {
    padding: 0 20px 16px;
    font-size: 0.9rem;
  }
}
