/* --- VARIABLES & CORE --- */
:root {
  --gold: #c5a059;
  --gold-light: #e2c285;
  --bg-dark: #030508;
  --bg-card: #0a0e17;
  --text-main: #fff;
  --text-dim: #a0aec0;
  --accent-red: #ff4d4d;
  --glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(197, 160, 89, 0.2);
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

/* --- HEADER --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(3, 5, 8, 0.7);
  transition: var(--transition);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: rotate(-5deg);
  transition: var(--transition);
}

.logo-container:hover .logo-icon {
  transform: rotate(0deg) scale(1.1);
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
}

/* --- NAV --- */
nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  opacity: .7;
  transition: var(--transition);
}

nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
}

.lang-btn {
  cursor: pointer;
  font-size: 0.8rem;
  opacity: .5;
  transition: .3s;
}

.lang-btn.active {
  opacity: 1;
  color: var(--gold);
  font-weight: bold;
}

/* --- HERO --- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, #101624 0%, #030508 100%);
  padding: 0 5%;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 25px;
  background: linear-gradient(to bottom, #fff 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 750px;
  color: var(--text-dim);
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 15px;
}

/* --- PRICING --- */
.pricing-box {
  background: linear-gradient(145deg, #0d121f, #05080d);
  padding: 60px 40px;
  border-radius: 40px;
  text-align: center;
  border: 1px solid var(--border-glass);
  max-width: 450px;
  margin: 50px auto;
  transition: var(--transition);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5);
}

.pricing-box:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 30px 60px rgba(197, 160, 89, .1);
}

.price {
  font-size: 5.5rem;
  color: var(--gold);
  font-weight: 900;
  margin: 15px 0;
}

.pricing-box ul {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.pricing-box li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- FAQ --- */
.faq-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.sec-title {
  text-align: center;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 50px;
  color: var(--gold);
}

.faq-item {
  background: var(--glass);
  border: 1px solid var(--border-glass);
  margin-bottom: 15px;
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.faq-icon {
  color: var(--gold);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
  padding: 0 25px;
  color: var(--text-dim);
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-red);
}

.faq-item.active .faq-answer {
  padding-bottom: 25px;
}

/* --- LEGAL CARDS --- */
.legal-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 80px 6%;
}

.legal-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 25px;
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}

.legal-card:hover {
  border-color: var(--gold);
  transform: scale(1.02);
}

/* --- MODAL --- */

/* --- FOOTER --- */
footer {
  padding: 60px 6%;
  text-align: center;
  border-top: 1px solid var(--border-glass);
  background: #020406;
}

/* --- BURGER MENU --- */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 30px;
  height: 3px;
  background: var(--gold);
  border-radius: 10px;
  transition: var(--transition);
}

.burger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --- MOBILE NAV --- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  z-index: 1000;
  transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  font-size: 1.8rem;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
}

.mobile-lang {
  margin-top: 20px;
  color: var(--gold);
  font-size: 1.2rem;
}

/* --- MEDIA QUERIES --- */
@media(max-width:1024px) {
  header {
    padding: 15px 5%;
  }

  .desktop-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0 20px;
  }
}

@media(max-width:768px) {
  nav {
    display: none;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .pricing-box {
    width: 90%;
    padding: 40px 20px;
  }

  .price {
    font-size: 4rem;
  }

  .legal-container {
    grid-template-columns: 1fr;
    padding: 40px 5%;
  }

  .faq-question h3 {
    font-size: 0.9rem;
  }
}

@media(max-width:480px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .modal-content {
    padding: 30px 20px;
  }
}

/* --- GAZAN FOOTER --- */
.main-footer {
  background: #05070a;
  padding: 80px 6% 30px;
  border-top: 1px solid var(--border-glass);
  color: #fff;
}

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

.footer-col h3 {
  color: var(--gold);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  position: relative;
}

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

.footer-info p {
  margin-bottom: 12px;
  font-size: 0.9rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-info a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-info a:hover {
  color: var(--gold);
}

.footer-list {
  list-style: none;
}

.footer-list li {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-links a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 12px;
  transition: 0.3s;
}

.legal-links a:hover {
  opacity: 1;
  color: var(--gold);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  width: 35px;
  height: 35px;
  background: var(--glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gold);
  transition: 0.3s;
}

.social-icons a:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-3px);
}

/* Developer Branding */
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.developer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.4s;
}

.developer-brand:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--gold);
  transform: scale(1.05);
}

.dev-text {
  text-align: right;
}

.dev-text span {
  display: block;
  font-size: 0.6rem;
  opacity: 0.5;
  text-transform: uppercase;
}

.dev-text strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--gold);
}

.dev-logo {
  width: 35px;
  height: 35px;
  background: var(--gold);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border-radius: 8px;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .dev-text {
    text-align: left;
  }
}

/* Checkbox Wrapper */
/* --- MODAL MAIN OVERLAY --- */
#termsModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 10, 0.85); /* Մութ ֆոն */
    backdrop-filter: blur(12px); /* Ֆոնի լղոզում (Apple style) */
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.5s ease;
}

/* --- MODAL WINDOW --- */
.modal-content {
    background: linear-gradient(145deg, rgba(20, 27, 43, 0.95), rgba(10, 14, 23, 0.98));
    width: 100%;
    max-width: 550px;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(197, 160, 89, 0.2); /* Ոսկեգույն նուրբ եզրագիծ */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 
                0 0 20px rgba(197, 160, 89, 0.05);
    position: relative;
    overflow: hidden;
}

/* --- HEADER & ICON --- */
.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-icon {
    font-size: 3.5rem;
    color: var(--gold, #c5a059);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(197, 160, 89, 0.4));
}

.modal-header h3 {
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 1px;
    font-weight: 700;
}

/* --- SCROLL AREA (TEXT) --- */
.terms-scroll-area {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 25px;
    text-align: left;
}

/* Գեղեցիկ Scrollbar */
.terms-scroll-area::-webkit-scrollbar {
    width: 4px;
}
.terms-scroll-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.terms-scroll-area::-webkit-scrollbar-thumb {
    background: var(--gold, #c5a059);
    border-radius: 10px;
}

.terms-scroll-area p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.highlight-text {
    color: var(--gold, #c5a059);
    font-weight: 600;
    display: block;
    margin: 15px 0 10px;
}

.modal-list {
    list-style: none;
    padding: 0;
}

.modal-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.modal-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold, #c5a059);
}

/* --- CHECKBOX DESIGN --- */
.checkbox-wrapper {
    margin: 25px 0;
    display: flex;
    justify-content: center;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(197, 160, 89, 0.5);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-checkbox input:checked + .checkmark {
    background: var(--gold, #c5a059);
    border-color: var(--gold, #c5a059);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.4);
}

.custom-checkbox input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: 0.3s;
}

.custom-checkbox:hover .checkbox-text {
    color: #fff;
}

/* --- FOOTER BUTTONS --- */
.modal-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-accept, .btn-decline {
    flex: 1;
    padding: 14px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Հաստատել */
.btn-accept {
    background: var(--gold, #c5a059);
    border: none;
    color: #000;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-accept:not(.disabled):hover {
    transform: translateY(-3px);
    background: #d4b869;
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.5);
}

/* Երբ կոճակն անջատված է */
.btn-accept.disabled {
    background: #1a1f29 !important;
    color: #444 !important;
    cursor: not-allowed;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.6;
}

/* Մերժել */
.btn-decline {
    background: transparent;
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: #ff4d4d;
}

.btn-decline:hover {
    background: rgba(255, 77, 77, 0.1);
    border-color: #ff4d4d;
    transform: translateY(-3px);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 480px) {
    .modal-content {
        padding: 30px 20px;
    }
    .modal-footer {
        flex-direction: column;
    }
    .btn-accept, .btn-decline {
        width: 100%;
        max-width: none;
    }
}