:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    --accent-gold: #7eb8c9;
    --accent-rose: #9a8a94;
    --accent-purple: #8b6b9c;
    --text-primary: #f5f5f7;
    --text-secondary: #a0a0b0;
    --gradient-1: linear-gradient(135deg, #7eb8c9 0%, #9a8a94 50%, #8b6b9c 100%);
    --gradient-2: linear-gradient(45deg, #1a1a24 0%, #2a2a3a 100%);
    --gradient-border: linear-gradient(135deg, rgba(126, 184, 201, 0.5), rgba(154, 138, 148, 0.5), rgba(139, 107, 156, 0.5));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-line {
    position: absolute;
    background: var(--gradient-1);
    opacity: 0.03;
    border-radius: 100px;
}

.line-1 {
    width: 600px;
    height: 2px;
    top: 20%;
    left: -100px;
    animation: floatLine1 20s ease-in-out infinite;
    transform: rotate(25deg);
}

.line-2 {
    width: 400px;
    height: 1px;
    top: 50%;
    right: -50px;
    animation: floatLine2 25s ease-in-out infinite;
    transform: rotate(-15deg);
}

.line-3 {
    width: 300px;
    height: 1px;
    bottom: 30%;
    left: 20%;
    animation: floatLine3 18s ease-in-out infinite;
    transform: rotate(45deg);
}

.floating-circle {
    position: absolute;
    border: 1px solid;
    border-radius: 50%;
    opacity: 0.04;
}

.circle-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    border-color: var(--accent-gold);
    animation: floatCircle1 30s ease-in-out infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -100px;
    border-color: var(--accent-rose);
    animation: floatCircle2 25s ease-in-out infinite;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    border-color: var(--accent-purple);
    animation: floatCircle3 20s ease-in-out infinite;
}

@keyframes floatLine1 {
    0%, 100% { transform: rotate(25deg) translateX(0) translateY(0); }
    50% { transform: rotate(25deg) translateX(100px) translateY(50px); }
}

@keyframes floatLine2 {
    0%, 100% { transform: rotate(-15deg) translateX(0) translateY(0); }
    50% { transform: rotate(-15deg) translateX(-80px) translateY(-30px); }
}

@keyframes floatLine3 {
    0%, 100% { transform: rotate(45deg) translateX(0) translateY(0); }
    50% { transform: rotate(45deg) translateX(60px) translateY(-40px); }
}

@keyframes floatCircle1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 80px) scale(1.1); }
}

@keyframes floatCircle2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -40px) scale(0.9); }
}

@keyframes floatCircle3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 50px) scale(1.15); }
}

/* Gradient animated border */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0) 100%);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 3px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5% 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-title span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

.hero-cta {
    display: inline-flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--bg-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(126, 184, 201, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

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

/* Sections */
section {
    padding: 100px 5%;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
}

.section-note {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Gradient Box */
.gradient-box {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
}

.gradient-box::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.3), rgba(154, 138, 148, 0.2), rgba(139, 107, 156, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
    pointer-events: none;
}

/* Portfolio Carousel */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: grab;
    user-select: none;
}

.carousel-slide {
    flex: 0 0 calc((100% - 32px) / 3);
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
}

.carousel-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.4), rgba(154, 138, 148, 0.3), rgba(139, 107, 156, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.carousel-slide:hover::before {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    pointer-events: none;
}

.carousel-slide:hover img {
    transform: scale(1.08);
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 15, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.carousel-slide:hover .carousel-overlay {
    opacity: 1;
}

.carousel-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.carousel-overlay p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 50px;
    }
    
    .carousel-slide {
        flex: 0 0 calc((100% - 16px) / 2);
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-overlay {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 45px;
    }
    
    .carousel-slide {
        flex: 0 0 100%;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    
    .carousel-btn-prev {
        left: 0;
    }
    
    .carousel-btn-next {
        right: 0;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.1), rgba(154, 138, 148, 0.1));
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 1px;
    background: var(--gradient-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-gold);
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    padding: 0;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.08) 0%, rgba(154, 138, 148, 0.04) 100%);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.15), rgba(154, 138, 148, 0.1));
    flex-shrink: 0;
}

.pricing-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-gold);
}

.pricing-card-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-primary);
}

.pricing-card-body {
    padding: 0.5rem 0;
}

.pricing-card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    transition: background 0.3s ease;
}

.pricing-card-item:hover {
    background: rgba(126, 184, 201, 0.05);
}

.pricing-card-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pricing-card-item-name {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.pricing-card-item-duration {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.pricing-card-item-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent-gold);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-header h3 {
        font-size: 1.2rem;
    }
    
    .pricing-card-item {
        padding: 0.9rem 1.2rem;
    }
    
    .pricing-card-item-price {
        font-size: 1.15rem;
    }
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    padding: 0;
    overflow: hidden;
}

.course-header {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.1) 0%, rgba(154, 138, 148, 0.05) 100%);
    text-align: center;
    position: relative;
}

.course-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-1);
    color: var(--bg-primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.course-price {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--accent-gold);
}

.course-price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.course-body {
    padding: 2rem;
}

.course-features {
    list-style: none;
    margin-bottom: 2rem;
}

.course-features li {
    padding: 0.8rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.course-features li::before {
    content: '✓';
    color: var(--accent-gold);
    font-weight: 600;
}

.course-card .btn {
    width: 100%;
    text-align: center;
}

/* Contact Section */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    padding: 2rem;
}

.contact-item svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-gold);
    margin-bottom: 1rem;
}

.contact-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.contact-item p, .contact-item a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: var(--accent-gold);
    background: rgba(126, 184, 201, 0.1);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--text-primary);
    transition: fill 0.3s ease;
}

.social-links a:hover svg {
    fill: var(--accent-gold);
}

/* Footer */
footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

footer p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Mobile Styles */
@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 5% 60px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 60px 5%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .floating-line, .floating-circle {
        opacity: 0.02;
    }
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}