/* Izeplay Standalone Styles - Based on Design System */

:root {
  --background: hsl(0, 0%, 10%);
  --foreground: hsl(0, 0%, 98%);
  --primary: hsl(39, 100%, 50%);
  --primary-foreground: hsl(0, 0%, 10%);
  --secondary: hsl(0, 0%, 15%);
  --secondary-foreground: hsl(0, 0%, 98%);
  --muted: hsl(0, 0%, 20%);
  --muted-foreground: hsl(0, 0%, 70%);
  --border: hsl(0, 0%, 25%);
  --radius: 0.5rem;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
.header {
  background-color: var(--primary);
  padding: 1.25rem 1.5rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-foreground);
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 767px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: var(--background);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 2rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  [dir="rtl"] nav {
    right: auto;
    left: -100%;
  }

  nav.active {
    right: 0;
  }

  [dir="rtl"] nav.active {
    right: auto;
    left: 0;
  }

  nav a {
    color: var(--foreground) !important;
    font-size: 1.125rem;
    width: 100%;
  }

  nav .btn {
    width: 100%;
    background: var(--secondary) !important;
    color: white !important;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-foreground);
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

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

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

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

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.mobile-overlay.active {
  display: block;
}

nav a {
  color: rgba(26, 26, 26, 0.9);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--primary-foreground);
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 3rem;
  font-size: 1rem;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-lang {
  background-color: rgba(26, 26, 26, 0.2);
  color: var(--primary-foreground);
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  min-width: 2.5rem;
}

.btn-lang:hover {
  background-color: rgba(26, 26, 26, 0.3);
}

.btn:hover {
  opacity: 0.9;
}

/* Hero Section */
.hero {
  padding: 5rem 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.hero-stats {
  background-color: rgba(255, 165, 0, 0.05);
  border-radius: 1rem;
  padding: 3rem;
  border: 2px solid rgba(255, 165, 0, 0.2);
  text-align: center;
}

.hero-stats-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
}

.hero-stats p {
  color: var(--muted-foreground);
  margin-top: 1rem;
}

/* Features Section */
.features {
  background-color: var(--secondary);
  padding: 4rem 1.5rem;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--background);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.3s;
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  background-color: rgba(255, 165, 0, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.feature-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Steps Section */
.steps {
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps h2 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.steps-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background-color: rgba(255, 165, 0, 0.05);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
}

.step-number {
  font-size: 1.875rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

/* Contacts Section */
.contacts {
  padding: 4rem 1.5rem;
  text-align: center;
}

.contacts h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.contact-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--secondary);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
}

.contact-card svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.contact-card a {
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--primary);
}

/* Footer */
.footer {
  background-color: var(--secondary);
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--primary);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Content Pages */
.content-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding: 4rem 1.5rem;
}

.content-max-width {
  max-width: 56rem;
  margin: 0 auto;
}

.back-link {
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.back-link:hover {
  text-decoration: underline;
}

.content-page h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .content-page h1 {
    font-size: 3rem;
  }
}

.content-page h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-page p {
  margin-bottom: 1rem;
  color: rgba(250, 250, 250, 0.9);
}

.content-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-page li {
  margin-bottom: 0.5rem;
  color: rgba(250, 250, 250, 0.9);
}

.content-section {
  margin-bottom: 2rem;
}

.divider {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 2rem;
}

/* 404 Page */
.not-found {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: hsl(0, 0%, 96%);
  color: hsl(0, 0%, 20%);
}

.not-found-content {
  text-align: center;
}

.not-found h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: hsl(0, 0%, 20%);
}

.not-found p {
  font-size: 1.25rem;
  color: hsl(0, 0%, 40%);
  margin-bottom: 1rem;
}

.not-found a {
  color: hsl(217, 91%, 60%);
  text-decoration: underline;
}

.not-found a:hover {
  color: hsl(217, 91%, 50%);
}

/* Discover Page */
.discover-content {
  max-width: 48rem;
  margin: 0 auto;
}

.discover-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .discover-content h1 {
    font-size: 3rem;
  }
}

.discover-content p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}