@font-face {
    font-family: "Kedebideri";
    src: url("../fonts/Kedebideri-Regular.5aa30940de4e.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-green: #1B4D3E;
    --brand-night: #0F3227;
    --brand-gold: #D4AF37;
    --brand-dark: #061A14;
    --brand-white: #FFFFFF;
    --brand-muted: rgba(255, 255, 255, 0.72);
    --glass-bg: rgba(255, 255, 255, 0.10);
    --glass-border: rgba(212, 175, 55, 0.26);
    --shadow-gold: rgba(212, 175, 55, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.20), transparent 30%),
        radial-gradient(circle at top right, rgba(27, 77, 62, 0.85), transparent 35%),
        linear-gradient(135deg, var(--brand-dark), var(--brand-night) 45%, #020907);
    color: var(--brand-white);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    max-width: 100%;
    display: block;
}

.page-shell {
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(6, 26, 20, 0.76);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.95), rgba(212, 175, 55, 0.35));
    color: var(--brand-night);
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 14px 38px var(--shadow-gold);
}

.brand-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.brand-subtitle {
    color: var(--brand-muted);
    font-size: 12px;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--brand-muted);
    font-size: 14px;
}

.nav-links a:hover {
    color: var(--brand-gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--brand-gold);
    color: var(--brand-night);
    box-shadow: 0 16px 42px var(--shadow-gold);
}

.btn-secondary {
    color: var(--brand-white);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    padding: 96px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 44px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--brand-gold);
    background: rgba(212, 175, 55, 0.10);
    border: 1px solid rgba(212, 175, 55, 0.24);
    font-weight: 800;
    font-size: 13px;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.96;
    margin: 22px 0 18px;
    letter-spacing: -0.06em;
}

.hero h1 span {
    color: var(--brand-gold);
}

.hero-text {
    max-width: 700px;
    color: var(--brand-muted);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
    max-width: 640px;
}

.stat-card {
    border-radius: 22px;
    padding: 18px;
}

.stat-number {
    color: var(--brand-gold);
    font-size: 30px;
    font-weight: 900;
}

.stat-label {
    color: var(--brand-muted);
    font-size: 13px;
    margin-top: 4px;
}

.hero-visual {
    position: relative;
}

.phone-card {
    border-radius: 38px;
    padding: 22px;
    min-height: 560px;
    position: relative;
    overflow: hidden;
}

.phone-card::before {
    content: "";
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 35%),
        radial-gradient(circle at bottom, rgba(255, 255, 255, 0.10), transparent 35%);
    animation: floatGlow 7s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    from {
        transform: translateY(-20px) rotate(0deg);
    }
    to {
        transform: translateY(20px) rotate(8deg);
    }
}

.phone-content {
    position: relative;
    z-index: 2;
}

.symbol-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.symbol-box {
    min-height: 92px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 900;
    color: var(--brand-gold);
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.18);
}

.mobile-preview-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
}

.mobile-preview-text {
    color: var(--brand-muted);
    line-height: 1.6;
}

.section {
    padding: 72px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-kicker {
    color: var(--brand-gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
}

.section-title {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    margin: 10px 0 12px;
    letter-spacing: -0.04em;
}

.section-text {
    color: var(--brand-muted);
    line-height: 1.75;
    font-size: 17px;
}

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

.feature-card {
    border-radius: 28px;
    padding: 24px;
    min-height: 230px;
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(212, 175, 55, 0.16);
    color: var(--brand-gold);
    font-size: 24px;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.feature-card p {
    margin: 0;
    color: var(--brand-muted);
    line-height: 1.7;
}

.learning-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 22px;
    align-items: stretch;
}

.learning-panel {
    border-radius: 32px;
    padding: 26px;
}

.theme-list {
    display: grid;
    gap: 14px;
}

.theme-item {
    border-radius: 22px;
    padding: 18px;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.theme-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.theme-item span {
    color: var(--brand-muted);
    font-size: 14px;
}

.no-ena-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.no-ena-card {
    overflow: hidden;
    border-radius: 30px;
    min-height: 360px;
    position: relative;
    background: rgba(0, 0, 0, 0.20);
}

.no-ena-media {
    height: 210px;
    background: rgba(212, 175, 55, 0.12);
    display: grid;
    place-items: center;
    color: var(--brand-gold);
    font-size: 42px;
}

.no-ena-media img,
.no-ena-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-ena-content {
    padding: 20px;
}

.no-ena-type {
    color: var(--brand-gold);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.no-ena-content h3 {
    margin: 8px 0;
    font-size: 20px;
}

.no-ena-content p {
    color: var(--brand-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

.announcement {
    border-radius: 34px;
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
}

.footer {
    border-top: 1px solid rgba(212, 175, 55, 0.16);
    padding: 44px 0;
    color: var(--brand-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 24px;
}

.footer h4 {
    color: var(--brand-white);
    margin: 0 0 12px;
}

.footer a {
    display: block;
    margin: 8px 0;
    color: var(--brand-muted);
}

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

.mobile-menu-button {
    display: none;
}

@media (max-width: 920px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
    }

    .hero {
        padding-top: 58px;
    }

    .hero-grid,
    .learning-grid,
    .announcement {
        grid-template-columns: 1fr;
    }

    .phone-card {
        min-height: auto;
    }

    .cards-grid,
    .no-ena-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .hero h1 {
        font-size: 42px;
    }

    .section {
        padding: 48px 0;
    }

    .brand-title {
        font-size: 15px;
    }

    .brand-subtitle {
        display: none;
    }

    .symbol-box {
        min-height: 78px;
        font-size: 34px;
    }

    .announcement {
        padding: 24px;
    }
}

.page-header {
    padding: 72px 0 36px;
}

.page-header h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1;
    margin: 14px 0;
    letter-spacing: -0.05em;
}

.page-header p {
    color: var(--brand-muted);
    font-size: 18px;
    line-height: 1.75;
    max-width: 780px;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 30px;
}

.input,
.select {
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.24);
    background: rgba(0, 0, 0, 0.18);
    color: var(--brand-white);
    border-radius: 18px;
    padding: 14px 16px;
    outline: none;
}

.input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.form-inline {
    display: grid;
    grid-template-columns: 1fr 220px auto;
    gap: 12px;
    width: 100%;
}

.alphabet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.character-card {
    border-radius: 26px;
    padding: 20px;
    text-align: center;
}

.character-symbol {
    font-size: 54px;
    color: var(--brand-gold);
    line-height: 1.1;
    margin-bottom: 10px;
}

.character-code {
    color: var(--brand-muted);
    font-size: 13px;
}

.character-transcription {
    margin-top: 8px;
    font-weight: 800;
}

.audio-button {
    margin-top: 14px;
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: rgba(212, 175, 55, 0.14);
    color: var(--brand-gold);
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 800;
}

.audio-button:hover {
    background: rgba(212, 175, 55, 0.22);
}

.words-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.word-card {
    border-radius: 26px;
    padding: 22px;
}

.word-text {
    font-size: 36px;
    color: var(--brand-gold);
    margin-bottom: 10px;
    font-weight: 900;
}

.word-translation {
    font-size: 18px;
    font-weight: 800;
}

.word-meta {
    color: var(--brand-muted);
    margin-top: 8px;
    line-height: 1.6;
}

.theme-block {
    border-radius: 34px;
    padding: 26px;
    margin-bottom: 22px;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.unit-card {
    border-radius: 26px;
    padding: 22px;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.unit-card h3 {
    margin: 0 0 10px;
}

.unit-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.pill {
    display: inline-flex;
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(212, 175, 55, 0.14);
    color: var(--brand-gold);
    font-size: 12px;
    font-weight: 900;
}

.unit-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

.lesson-list {
    display: grid;
    gap: 14px;
}

.lesson-card {
    border-radius: 26px;
    padding: 22px;
}

.lesson-item {
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-preview {
    display: grid;
    gap: 12px;
}

.quiz-card {
    border-radius: 24px;
    padding: 18px;
}

.no-ena-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.no-ena-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.media-frame {
    border-radius: 34px;
    overflow: hidden;
    min-height: 420px;
    background: rgba(0, 0, 0, 0.22);
    display: grid;
    place-items: center;
}

.media-frame img,
.media-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-panel {
    border-radius: 30px;
    padding: 24px;
}

.detail-panel h2 {
    margin-top: 0;
}

.detail-meta {
    display: grid;
    gap: 10px;
    color: var(--brand-muted);
    margin-top: 18px;
}

.empty-state {
    border-radius: 26px;
    padding: 28px;
    text-align: center;
    color: var(--brand-muted);
}

@media (max-width: 920px) {
    .form-inline,
    .unit-layout,
    .no-ena-detail-layout {
        grid-template-columns: 1fr;
    }
}

.beriya-font,
.character-symbol,
.word-text,
.symbol-box {
    font-family: "Kedebideri", Inter, system-ui, sans-serif;
}

.feedback-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.feedback-form label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  outline: none;
}

.feedback-form option {
  color: #0f3227;
}

.feedback-form textarea {
  resize: vertical;
}

.messages {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.message {
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 700;
}

.message.success {
  background: rgba(212, 175, 55, 0.16);
  color: #f7e7a5;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.message.error {
  background: rgba(255, 80, 80, 0.14);
  color: #ffb3b3;
  border: 1px solid rgba(255, 80, 80, 0.35);
}

.feedback-panel {
    max-width: 760px;
    margin: 0 auto;
    border-radius: 32px;
    padding: 30px;
}

.download-note {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.6;
}

.quiz-web-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 18px;
}

.quiz-web-card {
    border-radius: 28px;
    padding: 24px;
}

.quiz-web-type {
    color: var(--brand-gold);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.quiz-web-card h2 {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.35;
}

.quiz-web-card audio {
    width: 100%;
    margin: 12px 0;
}

.quiz-web-image {
    width: 100%;
    border-radius: 22px;
    max-height: 220px;
    object-fit: cover;
    margin: 14px 0;
}

.quiz-options {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.quiz-option-button {
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 18px;
    padding: 13px 14px;
    text-align: left;
    cursor: pointer;
    font-weight: 800;
}

.quiz-option-button:hover {
    background: rgba(212, 175, 55, 0.16);
    color: var(--brand-gold);
}

html[dir="rtl"] .quiz-option-button {
    text-align: right;
}

.language-switcher {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}

.language-switcher a {
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--brand-muted);
    font-weight: 900;
    font-size: 12px;
}

.language-switcher a:hover {
    background: rgba(212,175,55,0.16);
    color: var(--brand-gold);
}

html[dir="rtl"] body {
    direction: rtl;
}

html[dir="rtl"] .nav-inner,
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .learning-grid,
html[dir="rtl"] .footer-grid {
    direction: rtl;
}

html[dir="rtl"] .quiz-option-button {
    text-align: right;
}

.mobile-menu {
    display: none;
    position: sticky;
    top: 76px;
    z-index: 25;
    background: rgba(6, 26, 20, 0.94);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu-inner {
    padding: 16px 0 20px;
    display: grid;
    gap: 10px;
}

.mobile-menu-inner a {
    padding: 13px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--brand-white);
    font-weight: 800;
}

.mobile-menu-inner a:hover {
    background: rgba(212, 175, 55, 0.16);
    color: var(--brand-gold);
}

.mobile-language-switcher {
    width: fit-content;
    margin-top: 8px;
}

@media (min-width: 921px) {
    .mobile-menu {
        display: none !important;
    }
}