/* Variables CSS */
:root {
  --color-bg: #0E0F12;
  --color-text: #E6DFC8;
  --color-text-alt: #B9B4A4;
  --color-header: #5F7EA6;
  --color-accent: #ffcc00;
  --color-accent-hover: #ffaa00;
  --color-border: #1E2A38;
  --color-quote: #ff5c5c;
  --font-title: 'Cinzel';
  --font-body: 'Source Sans 3', sans-serif;
}

/* Base */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.35rem;
  background: var(--color-bg);
  color: var(--color-text);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Header */
header {
  background: url('LaunchScreen-iPhoneLandscape.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-header);
  position: relative;
}

header h1 {
  font-size: 5rem;
  text-transform: uppercase;
  background: rgba(0,0,0,0.7);
  padding: 20px 40px;
  font-family: var(--font-title);
}

header p {
  font-size: 1.5rem;
  max-width: 900px;
  background: rgba(0,0,0,0.7);
  padding: 15px 30px;
  margin-top: 20px;
  color: var(--color-text-alt);
}

/* Navigation */
.language-switcher {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 9999;
  font-family: Inter, sans-serif;
}

.language-switcher a {
  color: var(--color-text);
  margin-left: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.language-switcher a:hover {
  color: #D4A017;
}

/* Sections */
section {
  max-width: 1000px;
  margin: auto;
  padding: 30px 20px;
}

blockquote {
  font-style: italic;
  margin: 20px;
  padding-left: 20px;
  border-left: 4px solid var(--color-quote);
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 15px;
  padding-left: 2em;
  text-indent: -2em;
}

ul li::before {
  content: "◆ ";
  color: var(--color-border);
  font-size: 1.5em;
}

/* Media */
.illustrations {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.illustrations img {
  max-width: 300px;
  border: 4px solid var(--color-border);
}

.video-container {
  position: relative;
  padding-top: 56.25%;
  margin: 60px auto;
  max-width: 960px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

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

/* Download */
.download {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 50px;
}

.download h3 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 20px;
  border: none;
}

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

.download a {
  display: inline-block;
  background: var(--color-accent);
  color: #000;
  padding: 15px 25px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  min-width: 120px;
}

.download a:hover:not(.disabled) {
  background: var(--color-accent-hover);
}

.download a.disabled {
  background: #555;
  color: #999;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.5;
}

/* Footer */
footer {
  background: #111;
  color: #bbb;
  text-align: center;
  padding: 30px 10px;
  font-size: 0.9rem;
}

footer a {
  color: var(--color-accent);
  margin: 0 10px;
}

/* Media Queries - Mobile Portrait */
@media (max-width: 767px) {
  body {
    font-size: 0.9rem;
  }

  header {
    background-image: url('LaunchScreen-iPhonePortrait.jpg');
  }

  header h1 {
    font-size: 2.5rem;
    padding: 15px 20px;
  }

  header p {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  h2 {
    font-size: 1.4rem;
  }

  section {
    padding: 4px 20px;
  }

  ul li {
    margin-bottom: 5px;
  }

  .download h3 {
    font-size: 1.1rem;
  }

  .download-buttons {
    gap: 10px;
  }

  .download a {
    font-size: 0.85rem;
    padding: 12px 15px;
    min-width: 80px;
  }

  .illustrations img {
    max-width: 100%;
  }

  footer {
    font-size: 0.75rem;
    padding: 20px 5px;
  }

  footer a {
    margin: 0 5px;
    display: inline-block;
  }
}

/* Media Queries - Mobile Landscape */
@media (max-width: 926px) and (orientation: landscape) {
  body {
    font-size: 1rem;
  }

  header h1 {
    font-size: 3rem;
    padding: 15px 25px;
  }

  header p {
    font-size: 1rem;
    padding: 10px 20px;
  }

  h2 {
    font-size: 2rem;
  }

  section {
    padding: 4px 20px;
  }

  ul li {
    margin-bottom: 5px;
    font-size: 0.85rem;
  }
}
