/* ============================================
   CSS Variables & Base Styles
   ============================================ */

:root {
    --bg-primary: #0B0F14;
    --bg-secondary: #121826;
    --bg-tertiary: #151C2C;
    --text-primary: #EAEFF7;
    --text-secondary: #AAB4C3;
    --accent-primary: #A855F7;
    --accent-secondary: #3B82F6;
    --accent-tertiary: #9333EA;
    --accent-cyan: #22D3EE;
    --accent-gradient: linear-gradient(135deg, #9333EA 0%, #A855F7 30%, #3B82F6 60%, #22D3EE 100%);
    --accent-gradient-purple: linear-gradient(135deg, #9333EA 0%, #A855F7 50%, #C084FC 100%);
    --accent-gradient-cyan: linear-gradient(135deg, #3B82F6 0%, #60A5FA 50%, #22D3EE 100%);
    --border-color: rgba(168, 85, 247, 0.25);
    --glass-bg: rgba(18, 24, 38, 0.7);
    --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.4), 0 0 60px rgba(59, 130, 246, 0.2);
    --shadow-glow-purple: 0 0 25px rgba(168, 85, 247, 0.5);
    --shadow-glow-cyan: 0 0 25px rgba(34, 211, 238, 0.4);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    
    --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Grain/Noise Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.01) 0px,
            transparent 1px,
            transparent 2px,
            rgba(255, 255, 255, 0.01) 3px
        );
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* ============================================
   Progress Bar
   ============================================ */

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gradient);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ============================================
   Cursor Follower
   ============================================ */

.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-primary) 0%, var(--accent-cyan) 50%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.1s ease;
    mix-blend-mode: screen;
}

.cursor-follower.active {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .cursor-follower {
        display: none;
    }
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 0.01rem 0.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.15) 0%,
        rgba(59, 130, 246, 0.1) 50%,
        rgba(34, 211, 238, 0.15) 100%
    );
    opacity: 0;
    transition: var(--transition-normal);
}

.logo:hover::before {
    opacity: 1;
}

.logo:hover {
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow: 
        0 12px 40px rgba(168, 85, 247, 0.2),
        0 0 60px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.4));
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 4px 12px rgba(168, 85, 247, 0.6));
}

.footer .logo-img {
    height: 150px;
}

@media (max-width: 768px) {
    .logo-img {
        height: 85px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: var(--transition-normal);
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.2) 0%,
        rgba(59, 130, 246, 0.15) 50%,
        rgba(34, 211, 238, 0.2) 100%
    );
    opacity: 0;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(
        circle at center,
        rgba(168, 85, 247, 0.3) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

.nav-link:hover::before {
    opacity: 0.5;
}

.nav-link:hover::after {
    opacity: 0.3;
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(168, 85, 247, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 20px rgba(168, 85, 247, 0.3),
        0 0 40px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-link.active::before {
    opacity: 1;
}

.nav-link.active::after {
    opacity: 0.5;
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 
        0 8px 32px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.2) 0%,
        rgba(59, 130, 246, 0.15) 50%,
        rgba(34, 211, 238, 0.2) 100%
    );
    opacity: 0;
    transition: var(--transition-normal);
}

.nav-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(168, 85, 247, 0.3) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: var(--transition-normal);
}

.nav-cta:hover::before {
    opacity: 1;
}

.nav-cta:hover::after {
    opacity: 0.5;
}

.nav-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 
        0 12px 40px rgba(168, 85, 247, 0.3),
        0 0 60px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

@media (max-width: 968px) {
    .nav-container {
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: 130px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-secondary);
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition-normal);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        position: absolute;
        right: 2rem;
    }

    .nav-cta {
        display: none;
    }
}

/* ============================================
   Buttons
   ============================================ */

.btn-primary,
.btn-secondary {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5), 0 0 30px rgba(59, 130, 246, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(168, 85, 247, 0.15);
    box-shadow: var(--shadow-glow);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   Container
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    section {
        padding: 4rem 0;
    }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 140px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-cyan);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.trust-bar {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons button {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   About Section
   ============================================ */

.about {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: relative;
    z-index: 2;
}

.about-image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 0;
}

.about-intro {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.about-greeting {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-role {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-story {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-story p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow-purple);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        gap: 2rem;
    }

    .about-greeting {
        font-size: 1.3rem;
    }

    .about-role {
        font-size: 1rem;
    }

    .about-story p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ============================================
   Services Section
   ============================================ */

.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(255, 106, 0, 0.3));
    transition: var(--transition-normal);
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 16px rgba(168, 85, 247, 0.6));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.service-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   Portfolio Section
   ============================================ */

.portfolio-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-family);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: rgba(168, 85, 247, 0.15);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 15, 20, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.portfolio-item.hidden {
    display: none;
}

/* ============================================
   Before/After Section
   ============================================ */

.before-after {
    background: var(--bg-secondary);
}

.ba-slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    user-select: none;
}

.ba-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

.ba-img-after {
    z-index: 1;
}

.ba-img-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.ba-img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
    min-width: 100vw;
    max-width: none;
}

.ba-label {
    position: absolute;
    top: 20px;
    padding: 0.5rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    z-index: 10;
    pointer-events: none;
}

.ba-label-before {
    left: 20px;
}

.ba-label-after {
    right: 20px;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--accent-primary);
    cursor: ew-resize;
    z-index: 20;
    transform: translateX(-50%);
}

.ba-handle-line {
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.6), 0 0 25px rgba(59, 130, 246, 0.3);
}

.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.5), 0 0 25px rgba(34, 211, 238, 0.3);
}

/* ============================================
   AI Preview Section
   ============================================ */

.ai-preview {
    background: var(--bg-secondary);
}

.ai-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.ai-upload {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.upload-label:hover {
    color: var(--accent-primary);
}

.upload-label svg {
    transition: var(--transition-normal);
}

.upload-label:hover svg {
    transform: translateY(-5px);
}

#previewCanvas {
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

.ai-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ai-presets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.preset-btn {
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-family);
    font-weight: 500;
}

.preset-btn:hover,
.preset-btn.active {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: rgba(168, 85, 247, 0.15);
}

.ai-intensity {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-intensity label {
    color: var(--text-secondary);
    font-weight: 500;
}

.ai-intensity input[type="range"] {
    width: 100%;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.ai-intensity input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.4);
}

.ai-intensity input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.4);
}

#intensityValue {
    color: var(--accent-secondary);
    font-weight: 600;
    text-align: right;
}

.ai-disclaimer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 1rem;
    background: rgba(168, 85, 247, 0.15);
    border-left: 3px solid var(--accent-primary);
    border-radius: 4px;
}

@media (max-width: 968px) {
    .ai-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Booking Section
   ============================================ */

.booking-widget {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-step h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.booking-options {
    display: grid;
    gap: 1rem;
}

.option-btn {
    padding: 1.2rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-family);
    font-size: 1rem;
    text-align: left;
}

.option-btn:hover,
.option-btn.selected {
    border-color: var(--accent-primary);
    background: rgba(168, 85, 247, 0.15);
    box-shadow: var(--shadow-glow);
}

.master-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.master-info strong {
    font-size: 1.1rem;
}

.master-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-secondary);
    font-weight: 500;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    border-color: var(--accent-primary);
    background: rgba(168, 85, 247, 0.15);
}

.calendar-day.selected {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-day.today {
    border-color: var(--accent-secondary);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.time-slot {
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-primary);
    font-weight: 500;
}

.time-slot:hover:not(.disabled):not(.selected) {
    border-color: var(--accent-primary);
    background: rgba(168, 85, 247, 0.15);
}

.time-slot.selected {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

.time-slot.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-form input {
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.booking-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.booking-navigation {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
}

/* ============================================
   Reviews Section
   ============================================ */

.reviews {
    background: var(--bg-secondary);
}

.reviews-slider {
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    animation: scrollReviews 30s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    min-width: 350px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    flex-shrink: 0;
}

.review-rating {
    color: var(--accent-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .review-card {
        min-width: 280px;
    }
}

/* ============================================
   FAQ Section
   ============================================ */

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

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

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

.faq-question:hover {
    background: rgba(168, 85, 247, 0.08);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: var(--transition-normal);
}

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

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

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   Contacts Section
   ============================================ */

.contacts {
    background: var(--bg-secondary);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contacts-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contacts-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contacts-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 500;
}

.social-btn:hover {
    border-color: var(--accent-primary);
    background: rgba(168, 85, 247, 0.15);
    box-shadow: var(--shadow-glow);
}

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

@media (max-width: 968px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   Modals
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-primary);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--bg-primary);
    margin: 0 auto 1.5rem;
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ============================================
   Toast
   ============================================ */

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-primary);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

/* ============================================
   Reveal Animations
   ============================================ */

.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ============================================
   Floating CTA Button
   ============================================ */

.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(100px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(168, 85, 247, 0.2),
        0 0 80px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    pointer-events: none;
}

.floating-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.3) 0%,
        rgba(59, 130, 246, 0.2) 50%,
        rgba(34, 211, 238, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-cta::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: var(--accent-gradient);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: float 3s ease-in-out infinite;
}

.floating-cta:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(168, 85, 247, 0.4),
        0 0 120px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.floating-cta:hover::before {
    opacity: 1;
}

.floating-cta:hover::after {
    opacity: 0.6;
}

.floating-cta svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.floating-cta:hover svg {
    transform: rotate(90deg);
}

.floating-cta span {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .floating-cta svg {
        width: 20px;
        height: 20px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .cursor-follower {
        display: none !important;
    }

    .blob {
        animation: none !important;
    }

    .reviews-track {
        animation: none !important;
    }

    .floating-cta {
        animation: none !important;
    }
}
