/* CSS Variables for Premium Theme */
:root {
    --primary: #5D10E3;
    --primary-dark: #4409A8;
    --primary-light: #EDE4FD;
    --background: #F7F4FE;
    --surface: #FFFFFF;
    --outline: #E5DDF6;
    --text-primary: #241A3E;
    --text-secondary: #6F6689;
    
    /* Gamification Accent Colors */
    --gold: #FFB800;
    --gold-dark: #D69A00;
    --flame: #FF7A00;
    --success: #2EC66D;
    --success-dark: #1FA355;
    --danger: #E94F4F;
    
    /* Level Colors */
    --level-b2: #3A66B7;
    
    /* Typography & Spacing */
    --font-primary: 'Inter', sans-serif;
    --font-header: 'Outfit', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 10px rgba(93, 16, 227, 0.04);
    --shadow-md: 0 10px 30px rgba(93, 16, 227, 0.08);
    --shadow-lg: 0 20px 50px rgba(93, 16, 227, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-header);
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-header);
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--surface);
    box-shadow: 0 8px 20px rgba(93, 16, 227, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(93, 16, 227, 0.3);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: var(--radius-sm);
}

.btn-download-apk {
    background-color: var(--text-primary);
    color: var(--surface);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(36, 26, 62, 0.15);
    transition: var(--transition);
    text-align: left;
}

.btn-download-apk:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(93, 16, 227, 0.25);
}

.btn-download-play {
    background-color: var(--primary);
    color: var(--surface);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(93, 16, 227, 0.2);
    transition: var(--transition);
    text-align: left;
}

.btn-download-play:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(93, 16, 227, 0.3);
}

/* App Store butonu Play butonuyla ayni olculerde; rengi Apple'in alisildik
   siyahi. Iki dugme ayni renkte olsaydi yan yana tek bir blok gibi
   gorunurlerdi ve hangisinin hangi magaza oldugu ilk bakista secilmezdi. */
.btn-download-appstore {
    background-color: #000;
    color: #fff;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: var(--transition);
    text-align: left;
}

.btn-download-appstore:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.cta-buttons-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.btn-icon {
    width: 28px;
    height: 28px;
}

.btn-subtext {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.7;
    font-weight: 500;
    font-family: var(--font-primary);
}

.btn-maintext {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

/* Navbar */
.navbar {
    background-color: rgba(247, 244, 254, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--outline);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-family: var(--font-header);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.purple-text {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    padding: 140px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(93, 16, 227, 0.1) 0%, rgba(247, 244, 254, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge-premium {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.15;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.play-store-coming {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 4px;
}

/* Device Mockup */
.hero-showcase {
    display: flex;
    justify-content: center;
    position: relative;
}

.device-mockup {
    width: 290px;
    height: 590px;
    background: #000;
    border-radius: 40px;
    padding: 10px;
    box-shadow: var(--shadow-lg), 0 0 0 4px #333;
    position: relative;
    overflow: hidden;
    aspect-ratio: 9/18.3;
}

/* Notch / Island */
.device-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.screen-slider {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.screen-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.screen-slider img.active {
    opacity: 1;
}

/* Simulator Section */
.simulator-section {
    padding: 80px 0;
    background-color: var(--surface);
    border-top: 1px solid var(--outline);
    border-bottom: 1px solid var(--outline);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.card-simulator-container {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-deck {
    width: 100%;
    height: 280px;
    perspective: 1000px;
    position: relative;
    margin-bottom: 24px;
}

.sim-card {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), left 0.5s ease, opacity 0.5s ease;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    background: transparent;
}

.sim-card.is-flipped {
    transform: rotateY(180deg);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--outline);
    box-sizing: border-box;
}

.card-front {
    background-color: var(--background);
    color: var(--text-primary);
}

.card-back {
    background-color: var(--primary);
    color: var(--surface);
    transform: rotateY(180deg);
    border-color: var(--primary);
    text-align: center;
}

.card-level {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--level-b2);
    color: var(--surface);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
}

.card-word {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.card-pos {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.card-hint {
    position: absolute;
    bottom: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
}

.card-meaning {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.card-example {
    font-size: 15px;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 4px;
}

.card-example-tr {
    font-size: 13px;
    opacity: 0.7;
}

.sim-controls {
    display: flex;
    gap: 16px;
    width: 100%;
}

.btn-sim-action {
    flex: 1;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--outline);
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-header);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-learn {
    background-color: var(--background);
    color: var(--text-primary);
}

.action-learn:hover {
    background-color: #eee9fc;
    border-color: #d1c2f2;
}

.action-flip {
    background-color: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-light);
}

.action-flip:hover {
    background-color: #ded1fc;
}

.action-know {
    background-color: var(--success);
    color: var(--surface);
    border-color: var(--success);
    box-shadow: 0 4px 12px rgba(46, 198, 109, 0.2);
}

.action-know:hover {
    background-color: var(--success-dark);
    border-color: var(--success-dark);
    transform: translateY(-1px);
}

.sim-status {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    height: 20px;
}

/* Animations for swipe simulator */
.swipe-left-anim {
    left: -400px !important;
    opacity: 0 !important;
    transform: rotate(-15deg) !important;
}

.swipe-right-anim {
    left: 400px !important;
    opacity: 0 !important;
    transform: rotate(15deg) !important;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--surface);
    border: 2px solid var(--outline);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.bg-purple { background-color: #EDE4FD; color: #5D10E3; }
.bg-gold { background-color: #FFF8E6; color: #FFB800; }
.bg-orange { background-color: #FFF2E6; color: #FF7A00; }
.bg-green { background-color: #EAF9F0; color: #2EC66D; }
.bg-blue { background-color: #EBF3FC; color: #3A66B7; }
.bg-red { background-color: #FDECEC; color: #E94F4F; }

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--surface);
    border-top: 1px solid var(--outline);
}

/* Video Player styling */
.video-wrapper {
    max-width: 800px;
    margin: 0 auto 60px auto;
    border: 2px solid var(--outline);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: var(--background);
}

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-desc {
    padding: 24px 32px;
    border-top: 1px solid var(--outline);
}

.video-desc h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.video-desc p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Slider styling */
.carousel-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-md);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 33.333%; /* Show 3 screenshots at a time on desktop */
    padding: 0 12px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.carousel-slide img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--outline);
    width: 100%;
    height: auto;
    aspect-ratio: 9/19;
    object-fit: contain;
    background-color: #fff;
    transition: var(--transition);
}

.carousel-slide img:hover {
    transform: scale(1.03);
    border-color: var(--primary);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary);
    color: var(--surface);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(93, 16, 227, 0.2);
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #D3C9EE;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--primary);
    width: 20px;
    border-radius: 5px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    border-top: 1px solid var(--outline);
}

.faq-accordion {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--surface);
    border: 2px solid var(--outline);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-header);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 20px;
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

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

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 24px;
    transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

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

/* CTA Section */
.cta-section {
    padding: 60px 0 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    color: var(--surface);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-card::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.cta-card h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 580px;
    margin: 0 auto 36px auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    /* Iki magaza dugmesi var; dar ekranda tasmak yerine alt alta gecsinler. */
    flex-wrap: wrap;
}

.cta-buttons .btn-download-apk {
    background-color: var(--surface);
    color: var(--text-primary);
}

/* Kart zemini mor gradyan; Play dugmesinin varsayilan rengi de mor oldugu
   icin buton zemine karisiyordu. Burada beyaza cekiliyor -- apk dugmesinde
   zaten yapilan sey. App Store dugmesi siyah kaliyor: hem mor uzerinde
   okunakli, hem de iki magaza ilk bakista birbirinden ayriliyor. */
.cta-buttons .btn-download-play {
    background-color: var(--surface);
    color: var(--primary);
}

.cta-buttons .btn-download-play:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.cta-buttons .btn-download-apk:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo-text {
    color: var(--surface);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    color: var(--surface);
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--surface);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta {
        align-items: center;
    }
    
    .cta-buttons-wrapper {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .carousel-slide {
        min-width: 50%; /* Show 2 screenshots at a time on tablets */
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background-color: var(--background);
        width: 100%;
        height: calc(100vh - 72px);
        gap: 24px;
        padding: 40px 0;
        transition: 0.3s;
        border-top: 1px solid var(--outline);
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-card {
        padding: 40px 20px;
    }
    
    .cta-card h2 {
        font-size: 28px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }
    
    .carousel-slide {
        min-width: 100%; /* Show 1 screenshot at a time on mobile */
    }
    
    .carousel-container {
        padding: 0 40px;
    }
    
    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }
    
    .card-word {
        font-size: 28px;
    }
    
    .card-meaning {
        font-size: 20px;
    }
    
    .cta-buttons-wrapper, .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .btn-download-play, .btn-download-apk, .btn-download-appstore {
        width: 100%;
        justify-content: center;
    }
}

/* Audio Lessons Section */
.audio-lessons-section {
    padding: 80px 0;
    background-color: var(--surface);
    border-top: 1px solid var(--outline);
    border-bottom: 1px solid var(--outline);
}

/* Split Layout for Audio Lessons */
.audio-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .audio-split-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.audio-lessons-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.audio-card {
    background-color: var(--background);
    border: 2px solid var(--outline);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.audio-card:hover {
    border-color: var(--primary-light);
}

.audio-card.active {
    border-color: var(--primary);
    background-color: #faf8ff;
    box-shadow: var(--shadow-md);
}

.audio-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.audio-badge.A2 {
    background-color: #e3f2fd;
    color: #1e88e5;
}

.audio-card-header {
    margin-bottom: 24px;
    padding-right: 90px; /* Leave space for badge */
}

.audio-card-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-family: var(--font-header);
    font-weight: 700;
}

.audio-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Custom Audio Player */
.audio-player-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fbf9ff;
    border: 1px solid var(--outline);
    border-radius: var(--radius-md);
    padding: 12px 18px;
}

.audio-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--surface);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
    flex-shrink: 0;
}

.audio-play-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.audio-progress-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.audio-progress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--outline);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.audio-progress-fill {
    width: 0%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    pointer-events: none;
}

.audio-time-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Lesson Content Panel */
.audio-lesson-content-panel {
    background-color: var(--background);
    border: 2px solid var(--outline);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.audio-content-scroll {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 16px;
}

/* Scrollbar Styling for Content Panel */
.audio-content-scroll::-webkit-scrollbar {
    width: 6px;
}
.audio-content-scroll::-webkit-scrollbar-track {
    background: var(--outline);
    border-radius: 3px;
}
.audio-content-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}
.audio-content-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Markdown Styling */
.lesson-markdown-content h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-family: var(--font-header);
    font-weight: 700;
}

.lesson-markdown-content h4 {
    font-size: 18px;
    color: var(--primary);
    margin-top: 24px;
    margin-bottom: 12px;
    font-family: var(--font-header);
    font-weight: 600;
}

.lesson-markdown-content h5 {
    font-size: 15px;
    color: var(--text-primary);
    margin-top: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.lesson-markdown-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.lesson-markdown-content ul, .lesson-markdown-content ol {
    margin-bottom: 16px;
    padding-left: 20px;
}

.lesson-markdown-content li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.lesson-markdown-content blockquote {
    background-color: #f7f4fc;
    border-left: 4px solid var(--primary);
    padding: 16px;
    margin: 20px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
}

.lesson-markdown-content blockquote p {
    margin-bottom: 0;
}

.lesson-markdown-content hr {
    border: none;
    border-top: 1px solid var(--outline);
    margin: 24px 0;
}

.lesson-markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.lesson-markdown-content th, .lesson-markdown-content td {
    padding: 12px;
    border: 1px solid var(--outline);
    text-align: left;
}

.lesson-markdown-content th {
    background-color: #f7f4fc;
    color: var(--text-primary);
    font-weight: 600;
}

.lesson-markdown-content tr:nth-child(even) {
    background-color: #fbf9ff;
}

.hidden {
    display: none !important;
}



/* ==========================================================================
   Yenilikler bolumu (Okuma Metinleri + Yapay Zeka)
   --------------------------------------------------------------------------
   Uygulamanin 2026 surumuyle gelen uc yetenegi one cikarir. Ozellik kartlari
   izgarasindan ayri duruyor cunku bunlar "bir madde daha" degil, urunun yeni
   satis noktasi: koyu zemin, telefon cercevesi ve buyuk tipografi ile
   sayfanin geri kalanindan bilincli olarak ayrisiyor.
   ========================================================================== */
.spotlight-section {
    background:
        radial-gradient(1200px 600px at 15% -10%, rgba(124, 77, 255, 0.35), transparent 60%),
        linear-gradient(160deg, #2B1263 0%, #1A0B40 100%);
    color: #fff;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

/* Ince doku: duz gradyan bant bant goruntu veriyordu. */
.spotlight-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.5;
    pointer-events: none;
}

.spotlight-section .container {
    position: relative;
    z-index: 1;
}

.spotlight-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.spotlight-eyebrow {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 20px;
}

.spotlight-title {
    font-size: 40px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 16px;
}

.spotlight-title .accent {
    background: linear-gradient(90deg, #FFD36E, #FF8A3D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spotlight-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
}

.spotlight-row {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 88px;
}

/* Cift sirali satirlarda gorsel saga geciyor.
   `order` TEK BASINA yetmiyor: sutun genislikleri (380px 1fr) yerinde kaldigi
   icin yalnizca order vermek metni 380 piksellik dar sutuna sikistiriyordu.
   Bu yuzden sutunlar da ters cevrilip ogeler acikca yerlestiriliyor.
   Not: nth-child sayimi .spotlight-header'i de kapsar, dolayisiyla ilk
   .spotlight-row cift sayilidir ve gorseli sagda baslar. */
.spotlight-row:nth-child(even) {
    grid-template-columns: 1fr 380px;
}

.spotlight-row:nth-child(even) .spotlight-visual {
    grid-column: 2;
    grid-row: 1;
}

.spotlight-row:nth-child(even) .spotlight-text {
    grid-column: 1;
    grid-row: 1;
}

.spotlight-row:last-child { margin-bottom: 0; }

.spotlight-visual {
    display: flex;
    justify-content: center;
}

.spotlight-phone {
    width: 100%;
    max-width: 340px;
    border-radius: 28px;
    border: 8px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    display: block;
}

.spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    background: linear-gradient(90deg, #FFB800, #FF7A00);
    color: #241A3E;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
}

.spotlight-row h3 {
    font-size: 30px;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.25;
}

.spotlight-row p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 22px;
}

.spotlight-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.spotlight-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.spotlight-list li::before {
    content: "✓";
    flex: 0 0 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(46, 198, 109, 0.2);
    color: #6EE7A0;
    font-size: 13px;
    font-weight: 700;
    display: grid;
    place-items: center;
    margin-top: 2px;
}

@media (max-width: 992px) {
    .spotlight-row {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 64px;
        text-align: center;
    }
    .spotlight-row:nth-child(even) { grid-template-columns: 1fr; }
    .spotlight-row:nth-child(even) .spotlight-visual { grid-column: 1; grid-row: 1; }
    .spotlight-row:nth-child(even) .spotlight-text { grid-column: 1; grid-row: 2; }
    .spotlight-list { text-align: left; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .spotlight-section { padding: 64px 0; }
    .spotlight-title { font-size: 30px; }
    .spotlight-row h3 { font-size: 24px; }
    .spotlight-header { margin-bottom: 44px; }
}
