/* ============================================================ */
/* BerkayShred V3 — PREMIUM DESIGN SYSTEM                      */
/* ============================================================ */

/* --- Design Tokens --- */
:root {
    --primary: #ffc400;
    --primary-rgb: 255, 196, 0;
    --primary-light: #ffe066;
    --primary-dark: #cc9d00;
    --accent: #f7e090;
    --text: #e0e2e5;
    --text-muted: #8b909a;
    --text-dark: #111;
    --bg-deep: #0a0b10;
    --bg-dark: #12131a;
    --bg-card: rgba(255, 255, 255, 0.025);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(var(--primary-rgb), 0.3);
    --glass-blur: 20px;
    --font: 'Inter', sans-serif;
    --font-display: 'Cinzel Decorative', serif;
    --font-logo: 'Pacifico', cursive;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(var(--primary-rgb), 0.15);
    --neon: 0 0 10px rgba(var(--primary-rgb), 0.6), 0 0 20px rgba(var(--primary-rgb), 0.3);
    --radius: 16px;
    --radius-sm: 8px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Sabit navbar için ana içerik boşluğu */
main,
.main-content {
    padding-top: 85px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: #fff;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

pre,
code {
    max-width: 100%;
    overflow-x: auto;
    word-break: break-word;
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4)
    }

    70% {
        box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0)
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(var(--primary-rgb), 0.2);
    }

    50% {
        border-color: rgba(var(--primary-rgb), 0.5);
    }
}

@keyframes typeWriter {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink {
    50% {
        border-color: transparent
    }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delays */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* --- Logo --- */
.logo {
    font-size: 2.5rem;
    font-family: var(--font-logo);
    color: var(--primary);
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.8), 0 0 20px rgba(var(--primary-rgb), 0.4), 0 0 40px rgba(var(--primary-rgb), 0.2);
    line-height: 1;
    transition: var(--transition);
}

.logo:hover {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 1), 0 0 30px rgba(var(--primary-rgb), 0.6);
}

/* ============================================================ */
/* NAVBAR                                                       */
/* ============================================================ */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.5s ease;
}

#main-header.scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    margin-right: 25px;
    flex-shrink: 0;
}

.slogan {
    font-size: 0.8rem;
    color: var(--accent);
    margin-left: 15px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.8;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 5px;
    flex-grow: 1;
    justify-content: flex-start;
    transition: transform var(--transition);
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.nav-links li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.nav-links li a:hover::after {
    width: 70%;
    left: 15%;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
}

.mobile-only-actions {
    display: none !important;
}

.desktop-only-actions {
    display: flex;
    gap: 8px;
}

/* --- Buttons --- */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.6);
    color: var(--text-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(var(--primary-rgb), 0.5);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-dark);
    border-color: var(--primary);
    box-shadow: var(--neon);
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.cta-large {
    font-size: 1.1rem;
    padding: 16px 36px;
    animation: pulse 2s infinite;
}

/* ============================================================ */
/* HERO SECTION                                                 */
/* ============================================================ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(var(--primary-rgb), 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(100, 50, 200, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 100, 200, 0.04) 0%, transparent 50%);
    z-index: 0;
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-deep), transparent);
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 55%;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 1s ease forwards;
}

.hero-text p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.7);
    animation: slideUp 1s 0.2s ease both;
    line-height: 1.8;
}

.hero-text .btn {
    animation: slideUp 1s 0.4s ease both;
}

.hero-image {
    flex: 1;
    max-width: 45%;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: slideInRight 1s 0.3s ease both;
    border: 1px solid var(--border);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.3), transparent, rgba(var(--primary-rgb), 0.1));
    border-radius: var(--radius);
    z-index: 1;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

/* ============================================================ */
/* SECTIONS                                                     */
/* ============================================================ */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

.section-title span,
.section-title strong {
    color: var(--primary);
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.icon-title {
    font-size: 2rem;
}

/* Gradient section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.3), transparent);
    margin: 0;
    border: none;
}

/* ============================================================ */
/* VIDEO PROMO (index.php)                                      */
/* ============================================================ */
#video-promo {
    background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(15, 15, 25, 1) 50%, var(--bg-deep) 100%);
    padding: 80px 0;
    position: relative;
}

.video-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.video-embed {
    max-width: 800px;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.video-embed img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-caption {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.play-icon {
    font-size: 4rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.video-overlay:hover .play-icon {
    transform: scale(1.15);
}

/* ============================================================ */
/* PRODUCTION TONES (index.php)                                 */
/* ============================================================ */
.prod-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.prod-image {
    flex: 1;
    max-width: 50%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.prod-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.prod-image:hover img {
    transform: scale(1.03);
}

.prod-text {
    flex: 1;
    max-width: 50%;
}

.prod-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: #fff;
    margin-bottom: 20px;
}

.prod-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.prod-ctas a {
    margin-right: 15px;
}

/* ============================================================ */
/* SERVICE CARDS (index.php, user-panel.php)                    */
/* ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--shadow-md), 0 0 30px rgba(var(--primary-rgb), 0.1);
}

.card-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
}

.service-card h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card-link {
    font-weight: 700;
    color: var(--primary);
    position: relative;
}

.card-link:hover {
    color: #fff;
}

/* ============================================================ */
/* LESSON CARDS (yuz-yuze-ders.php)                             */
/* ============================================================ */
.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

.lesson-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.lesson-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--shadow-md), 0 0 30px rgba(var(--primary-rgb), 0.1);
}

.card-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.8), transparent);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lesson-card:hover .card-image {
    transform: scale(1.08);
}

.card-content {
    padding: 28px;
    text-align: left;
}

.lesson-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.lesson-card .card-subtitle {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.lesson-card .card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.lesson-card .card-cta {
    width: 100%;
    text-align: center;
    margin-left: 0;
}

/* Studio gallery */
.studio-gallery {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.gallery-image {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.gallery-image:hover {
    transform: scale(1.02);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.faq-item {
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    padding: 30px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--primary-light);
}

.faq-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ============================================================ */
/* ONLINE LESSON PAGE                                           */
/* ============================================================ */
.online-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.feature-text h4 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.video-showcase iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

#online-about .online-about-box {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    padding: 45px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.about-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* ============================================================ */
/* TESTIMONIALS                                                 */
/* ============================================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.testimonial-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(var(--primary-rgb), 0.08);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--primary-rgb), 0.25);
    box-shadow: var(--shadow-md), 0 0 25px rgba(var(--primary-rgb), 0.08);
}

.card-header {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-user h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.card-user p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.card-date {
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 10px;
}

.card-stars {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body p.testimonial-quote {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.read-more-link {
    display: none;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
    font-size: 0.9rem;
    cursor: pointer;
}

.read-more-link:hover {
    color: #fff;
}

/* ============================================================ */
/* VST PRESETS & IR PACKS                                       */
/* ============================================================ */
.preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.preset-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.preset-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--shadow-md), 0 0 30px rgba(var(--primary-rgb), 0.1);
}

.preset-image-container {
    position: relative;
    overflow: hidden;
}

.preset-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9), transparent);
    pointer-events: none;
}

.preset-image-container img {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.preset-card:hover .preset-image-container img {
    transform: scale(1.08);
}

.preset-content {
    padding: 25px;
    flex-grow: 1;
}

.preset-content h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.preset-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.preset-content .preset-tag {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preset-footer {
    padding: 0 25px 25px;
}

.preset-footer .btn {
    width: 100%;
    text-align: center;
    margin-left: 0;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: none;
}

.preset-footer .btn:hover {
    background: var(--primary);
    color: var(--text-dark);
    border-color: var(--primary);
    box-shadow: var(--neon);
}

/* ============================================================ */
/* ABOUT PAGE                                                   */
/* ============================================================ */
.about-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: var(--neon);
    margin-bottom: 20px;
}

.about-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #fff;
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 500;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.about-text h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.about-contact-box {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    padding: 45px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-column h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.contact-column ul {
    list-style: none;
}

.contact-column li {
    margin-bottom: 12px;
    font-size: 1rem;
}

.contact-column li a,
.contact-column li p {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-column li a:hover {
    color: var(--primary);
}

.contact-column li a strong,
.contact-column li a span {
    color: #fff;
}

/* ============================================================ */
/* BLOG                                                         */
/* ============================================================ */
.blog-list-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.blog-card-new {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
}

.blog-card-new::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 5, 8, 0.85) 0%, rgba(5, 5, 8, 0.6) 100%);
    transition: all 0.4s ease;
}

.blog-card-new:hover::before {
    background: linear-gradient(135deg, rgba(5, 5, 8, 0.7) 0%, rgba(5, 5, 8, 0.4) 100%);
}

.blog-card-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(var(--primary-rgb), 0.15);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.blog-card-content {
    padding: 45px;
    position: relative;
    z-index: 1;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.blog-card-content h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #fff;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.blog-card-new:hover .blog-card-content h3 {
    color: var(--primary-light);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.blog-card-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: letter-spacing 0.3s;
}

.blog-card-new:hover .blog-card-link {
    letter-spacing: 2px;
    color: var(--primary-light);
}

/* ============================================================ */
/* FORMS (login/register/user-panel)                            */
/* ============================================================ */
.auth-form {
    padding: 45px 35px;
    max-width: 460px;
    margin: 120px auto 100px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: slideUp 0.8s ease;
}

.auth-form h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    animation: slideDown 0.5s ease;
}

.alert.error {
    background: rgba(255, 50, 50, 0.1);
    color: #ff8888;
    border: 1px solid rgba(255, 50, 50, 0.3);
}

.alert.success {
    background: rgba(50, 200, 50, 0.1);
    color: #88ff88;
    border: 1px solid rgba(50, 200, 50, 0.3);
}

.form-helper-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-align: center;
    font-style: italic;
}

hr.form-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 30px 0 20px;
}

/* Star Rating */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 5px;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    font-size: 2.5rem;
    color: #333;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 0 2px;
}

.star-rating label:hover {
    transform: scale(1.1);
}

.star-rating input[type="radio"]:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: var(--primary);
}

/* ============================================================ */
/* MODALS                                                       */
/* ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: linear-gradient(180deg, rgba(20, 20, 30, 0.98) 0%, rgba(10, 10, 15, 0.98) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 800px;
    width: 100%;
    margin: auto;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(var(--primary-rgb), 0.1);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-spinner {
    display: none;
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 100px auto;
}

.modal-header {
    width: 100%;
    height: 300px;
    position: relative;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    display: none;
}

.modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.modal-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 5%, rgba(10, 10, 15, 0) 60%);
}

.modal-header h2 {
    position: absolute;
    bottom: 40px;
    left: 30px;
    color: #fff;
    font-size: 2.2rem;
    z-index: 2;
    margin: 0;
}

.modal-header p {
    position: absolute;
    bottom: 20px;
    left: 30px;
    color: var(--primary);
    font-weight: 700;
    z-index: 2;
    margin: 0;
}

.modal-header-testimonial {
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--border);
    display: none;
}

.modal-header-testimonial h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin: 0;
}

.modal-header-testimonial p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.modal-stars {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 10px;
}

.modal-body {
    padding: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    display: none;
    max-height: 50vh;
    overflow-y: auto;
}

.modal-body p {
    margin-bottom: 20px;
}

.modal-body h3 {
    color: var(--primary);
    margin-top: 30px;
}

/* ============================================================ */
/* FOOTER                                                       */
/* ============================================================ */
#main-footer {
    background: linear-gradient(180deg, var(--bg-deep), rgba(10, 10, 18, 1));
    color: var(--text-muted);
    padding-top: 80px;
    margin-top: 100px;
    border-top: 1px solid var(--border);
    position: relative;
}

#main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.4), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.footer-column li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-column p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

#footer-brand .logo {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--accent);
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 20px !important;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.3rem;
    color: var(--text-muted);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--text-dark);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
    transform: translateY(-3px);
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: #555;
}

.footer-links a {
    color: #555;
    margin-left: 10px;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 1200px) {
    .logo-area {
        order: 1;
    }

    .menu-toggle {
        display: block;
        order: 2;
    }

    .nav-links {
        order: 3;
    }

    .desktop-only-actions {
        display: none;
    }

    .mobile-only-actions {
        display: block !important;
        border-top: 1px solid var(--border);
        padding: 15px 20px;
        text-align: center;
    }

    .mobile-only-actions a {
        display: block;
        width: 100%;
        margin: 8px auto !important;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 8, 0.95);
        backdrop-filter: blur(var(--glass-blur));
        border-top: 1px solid var(--border);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
        padding: 0;
        display: none;
        flex-direction: column;
        transform: translateY(-10px);
        opacity: 0;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        animation: slideDown 0.3s ease;
    }

    .nav-links li a {
        padding: 16px 25px;
        border-bottom: 1px solid var(--border);
        font-weight: 600;
        text-align: center;
        border-radius: 0;
    }

    .slogan {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text,
    .hero-image {
        max-width: 100%;
        flex: none;
    }

    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .studio-gallery {
        flex-direction: column;
        align-items: center;
    }

    .gallery-image {
        max-width: 100%;
    }

    .faq-grid,
    .level-grid {
        grid-template-columns: 1fr;
    }

    .online-features-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .video-showcase {
        margin-top: 30px;
    }

    .about-image {
        order: -1;
        margin-bottom: 30px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .prod-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .prod-image,
    .prod-text {
        max-width: 100%;
    }

    .prod-image {
        order: -1;
    }

    .prod-text h2 {
        font-size: 2.2rem;
    }

    .prod-ctas {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .prod-ctas a {
        margin: 0;
        text-align: center;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    #online-about .online-about-box {
        padding: 25px;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .about-contact-box {
        padding: 25px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-content {
        padding: 30px;
    }

    .blog-card-content h3 {
        font-size: 1.5rem;
    }

    .modal-header {
        height: 200px;
    }

    .modal-header h2 {
        font-size: 1.8rem;
        bottom: 35px;
        left: 20px;
    }

    .modal-header p {
        bottom: 15px;
        left: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-header-testimonial h2 {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #footer-brand {
        order: -1;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    #main-header .container {
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 10px;
    }

    .logo-area {
        width: auto;
    }

    .menu-toggle {
        align-self: center;
    }

    .auth-form {
        margin: 100px auto 60px;
        padding: 30px 20px;
    }

    .star-rating {
        justify-content: center;
    }

    .star-rating label {
        font-size: 2.2rem;
    }
}