/* ================================================
   TOKYO ACADEMY FX – BLACK & GOLD MODERN THEME
   Author: Rashad
   Version: 1.0
================================================== */

/* Google Fonts (already loaded in HTML)
   Font-Family: 'Poppins', 'Cairo', sans-serif;
*/

/* RESET & GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #0b0b0b;
  color: #fff;
  font-family: 'Poppins', 'Cairo', sans-serif;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

h1, h2, h3, h4 {
  font-weight: 700;
}

p {
  line-height: 1.7;
  color: #d1d5db;
}

/* NAVBAR */
.navbar {
  background: rgba(15, 15, 15, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  backdrop-filter: blur(8px);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ffb300, #ff6a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ffb300;
}

#lang-toggle {
  background: linear-gradient(90deg, #ffb300, #ff6a00);
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  color: #111;
  font-weight: 600;
  transition: 0.3s;
}

#lang-toggle:hover {
  filter: brightness(0.9);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(180deg, #0b0b0b 0%, #1a1a1a 100%);
  text-align: center;
  padding: 120px 0;
}

.hero h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 15px;
}

.hero p {
  color: #d1d5db;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 25px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn.primary {
  background: linear-gradient(90deg, #ffb300, #ff6a00);
  color: #111;
}

.btn.primary:hover {
  transform: translateY(-2px);
  filter: brightness(0.9);
}

.btn.secondary {
  background: transparent;
  border: 1px solid #ffb300;
  color: #ffb300;
}

.btn.secondary:hover {
  background: #ffb300;
  color: #111;
}

body.no-scroll {
  overflow: hidden;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #111;
  border: 1px solid rgba(255, 179, 0, 0.35);
  border-radius: 16px;
  padding: 30px;
  width: min(500px, 100%);
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.modal-subtitle {
  color: #d1d5db;
  margin-bottom: 20px;
}

.modal-form {
  display: grid;
  gap: 15px;
}

.modal-form label {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-weight: 500;
  gap: 8px;
}

.modal-form label span {
  color: #f3f4f6;
}

.modal-form input,
.modal-form select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b0b0b;
  color: #fff;
  transition: border 0.3s ease;
}

.modal-form input:focus,
.modal-form select:focus {
  outline: none;
  border-color: #ffb300;
  box-shadow: 0 0 0 2px rgba(255, 179, 0, 0.15);
}

.modal-form .btn {
  margin-top: 10px;
}

@media (max-width: 600px) {
  .modal-content {
    padding: 25px 20px;
  }
}

/* STATS SECTION */
.stats {
  background: #111;
  padding: 80px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
}

.stats h2 {
  background: linear-gradient(90deg, #ffb300, #ff6a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
}

.stats p {
  color: #ccc;
}

/* BENEFITS */
.benefits {
  background: #0b0b0b;
  padding: 100px 0;
  text-align: center;
}

.benefits h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 15px;
}

.benefits p {
  color: #ccc;
  max-width: 700px;
  margin: auto;
}

/* STEPS */
.steps {
  background: #111;
  padding: 100px 0;
  text-align: center;
}

.steps h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 50px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.steps .card {
  background: #1a1a1a;
  border: 1px solid #2b2b2b;
  border-radius: 12px;
  padding: 25px;
  transition: 0.3s;
}

.steps .card:hover {
  transform: translateY(-5px);
  border-color: #ffb300;
}

.steps .card h3 {
  color: #ffb300;
  margin-bottom: 10px;
}

/* TOOLKIT */
.toolkit {
  background: #0b0b0b;
  padding: 100px 0;
  text-align: center;
}

.toolkit h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}

/* PARTNERS */
.partners {
  background: #111;
  padding: 100px 0;
  text-align: center;
}

.partners h2 {
  color: #fff;
  margin-bottom: 30px;
}

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

.partner-card {
  background: #1a1a1a;
  border: 1px solid #2b2b2b;
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 179, 0, 0.5);
}

.partner-card img {

}

.partner-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.partner-button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb300, #ff6a00);
  color: #111;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.partner-button:hover {
  filter: brightness(0.85);
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .partners .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
  }

  .partner-card {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .partners .partners-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* TESTIMONIALS */
.testimonials {
  background: #0b0b0b;
  padding: 100px 0;
  text-align: center;
}

.testimonials h2 {
  color: #fff;
  margin-bottom: 30px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.testimonials .card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid #2b2b2b;
}

.testimonials .card p {
  font-style: italic;
  color: #ccc;
  margin-bottom: 15px;
}

/* FAQ */
.faq {
  background: #111;
  padding: 100px 0;
  text-align: center;
}

.faq h2 {
  color: #fff;
  margin-bottom: 40px;
}

.faq-item {
  max-width: 700px;
  margin: 20px auto;
  text-align: left;
  border-bottom: 1px solid #2b2b2b;
  padding-bottom: 15px;
}

.faq-item h3 {
  color: #ffb300;
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  background: #0b0b0b;
  text-align: center;
  padding: 50px 0 80px;
  border-top: 1px solid #222;
}

footer h3 {
  color: #ffb300;
  margin-bottom: 10px;
}

footer p {
  color: #999;
  margin-bottom: 10px;
}

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

footer .socials a:hover {
  color: #fff;
}

/* FLOATING BUTTONS */
.float-whatsapp,
.float-telegram {
  position: fixed;
  bottom: 20px;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  border-radius: 50%;
  z-index: 999;
  background: rgba(12, 12, 12, 0.92);
  border: 2px solid rgba(255, 179, 0, 0.75);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(255, 140, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.float-whatsapp {
  left: 20px;
}

.float-telegram {
  right: 20px;
}

.float-whatsapp img,
.float-telegram img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.float-whatsapp:hover,
.float-telegram:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 195, 0, 0.95);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 166, 0, 0.45);
}

@media (max-width: 600px) {
  .float-whatsapp,
  .float-telegram {
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .float-whatsapp img,
  .float-telegram img {
    width: 26px;
    height: 26px;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

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