:root {
    --bg-dark: #07070d;
    --bg-card: rgba(18, 17, 34, 0.7);
    --primary: #c300ff;
    --secondary: #00f0ff;
    --text-white: #ffffff;
    --text-gray: #b0b0cb;
    --accent-glow: rgba(195, 0, 255, 0.35);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
}

body {
    line-height: 1.6;
}

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

.text-center {
    text-align: center;
}

/* Header & Navigation */
.header {
    background-color: rgba(7, 7, 13, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(195, 0, 255, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-white);
    letter-spacing: 2px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary);
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #8a2be2);
    color: var(--text-white);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.5);
    background: linear-gradient(135deg, #8a2be2, var(--secondary));
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--text-white);
}

.btn-outline:hover {
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--accent-glow);
}

.btn-nav {
    padding: 8px 18px;
    font-size: 0.9rem;
    background-color: rgba(195, 0, 255, 0.2);
    border: 1px solid var(--primary);
    color: var(--text-white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(0, 240, 255, 0.15);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--text-white) 30%, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Page Hero */
.page-hero {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    border-bottom: 1px solid rgba(195, 0, 255, 0.15);
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-hero p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Features Grid */
.features {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

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

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(195, 0, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
}

/* Studios / Services Overview */
.studios-overview {
    padding: 80px 0;
    background-color: rgba(18, 17, 34, 0.3);
}

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

.studio-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(195, 0, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.studio-card:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.studio-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.studio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.studio-card:hover .studio-img {
    transform: scale(1.08);
}

.studio-info {
    padding: 25px;
}

.studio-info h3 {
    margin-bottom: 12px;
}

.studio-info p {
    color: var(--text-gray);
    margin-bottom: 20px;
    height: 70px;
}

.studio-price {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Services Detail Page */
.services-detail {
    padding: 80px 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image-block {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
}

.service-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-text-block {
    flex: 1;
}

.service-text-block h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.spec-list {
    list-style: none;
    margin: 20px 0;
}

.spec-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.spec-list li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.price-tag {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--secondary);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

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

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(195, 0, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.testimonial-author strong {
    display: block;
    color: var(--text-white);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--secondary);
}

/* Booking Section */
.booking-section {
    padding: 80px 0;
    background-color: rgba(18, 17, 34, 0.5);
    border-top: 1px solid rgba(195, 0, 255, 0.15);
}

.booking-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.booking-info-block {
    flex: 1;
}

.booking-info-block h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-details-quick {
    margin-top: 30px;
}

.contact-details-quick p {
    margin-bottom: 15px;
}

.booking-form-block {
    flex: 1;
    background-color: var(--bg-card);
    border: 1px solid rgba(195, 0, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: rgba(7, 7, 13, 0.8);
    border: 1px solid rgba(195, 0, 255, 0.2);
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.85rem;
}

.checkbox-group a {
    color: var(--secondary);
}

.error-box {
    background-color: rgba(255, 0, 0, 0.15);
    border: 1px solid red;
    color: #ff8080;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid rgba(195, 0, 255, 0.15);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: "▼";
    font-size: 0.8rem;
    transition: var(--transition);
    color: var(--secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-gray);
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Contacts Detail */
.contact-details-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-block-list {
    margin: 30px 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item .icon {
    font-size: 1.5rem;
}

/* Thank You & 404 */
.thank-you-section, .not-found-section {
    padding: 100px 0;
}

.thank-you-box, .not-found-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid rgba(195, 0, 255, 0.2);
    padding: 50px;
    border-radius: 16px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.error-code {
    font-size: 6rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.info-block-thank {
    background-color: rgba(7, 7, 13, 0.8);
    border: 1px solid rgba(195, 0, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

/* Legal Pages */
.legal-page-section {
    padding: 80px 0;
}

.legal-box {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid rgba(195, 0, 255, 0.15);
    padding: 40px;
    border-radius: 12px;
}

.legal-box h1 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--secondary);
}

.legal-box h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-box ul {
    margin: 15px 0 15px 25px;
}

/* Footer */
.footer {
    background-color: #040408;
    border-top: 1px solid rgba(195, 0, 255, 0.15);
    padding: 60px 0 20px;
    color: var(--text-gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer h3, .footer h4 {
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-links a, .footer-legal a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--secondary);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(18, 17, 34, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 9999;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--secondary);
}

/* About Section Flex Grid Fix */
.about-grid {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text-block {
    flex: 12;
}

.about-img-block {
    flex: 10;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
}

.interactive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-item, .service-item.reverse {
        flex-direction: column;
    }
    .booking-wrapper {
        flex-direction: column;
    }
    .about-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(7, 7, 13, 0.98);
        border-bottom: 1px solid var(--primary);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .hero h1 {
        font-size: 2.3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}