/* Base styles */
:root {
    --primary-color: #6c5ce7;
    --primary-dark: #5649c0;
    --secondary-color: #00cec9;
    --dark-color: #2d3436;
    --light-color: #f5f6fa;
    --gray-color: #636e72;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --danger-color: #d63031;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    position: relative;
}

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

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn--primary {
    background-color: var(--primary-color);
    color: white;
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(245, 246, 250, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo__main {
    color: var(--primary-color);
}

.logo__studio {
    color: var(--dark-color);
}

.nav {
    display: flex;
}

.nav__link {
    margin-left: 30px;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero__scroll {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 50px;
    left: 0;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.hero__scroll-icon {
    margin-left: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero__circles {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 206, 201, 0.1));
}

.circle--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.circle--2 {
    width: 400px;
    height: 400px;
    top: 100px;
    right: 100px;
    opacity: 0.7;
}

.circle--3 {
    width: 200px;
    height: 200px;
    top: 300px;
    right: 300px;
    opacity: 0.5;
}

/* Services section */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.service-card__icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card__description {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card__features {
    list-style: none;
    margin-top: 20px;
}

.service-card__features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--gray-color);
}

.service-card__features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
}

/* About section */
.about__inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about__content {
    flex: 1;
}

.about__text {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--gray-color);
}

.about__stats {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat__label {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.about__graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.graphic-element {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.graphic-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0.3;
    animation: rotate linear infinite;
}

.graphic-circle--1 {
    width: 100%;
    height: 100%;
    animation-duration: 30s;
}

.graphic-circle--2 {
    width: 66.66%;
    height: 66.66%;
    animation-duration: 20s;
    animation-direction: reverse;
}

.graphic-circle--3 {
    width: 33.33%;
    height: 33.33%;
    animation-duration: 15s;
}

.graphic-center {
    text-align: center;
    z-index: 2;
}

.graphic-center span {
    display: block;
    font-weight: 700;
}

.graphic-center span:first-child {
    font-size: 2rem;
    color: var(--primary-color);
}

.graphic-center span:last-child {
    font-size: 1.5rem;
    color: var(--dark-color);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Contact section */
.contact__inner {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact__info {
    flex: 1;
}

.contact__subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact__text {
    color: var(--gray-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact__links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact__link {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact__link i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact__link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-input {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-input:focus + .form-label,
.form-input:valid + .form-label {
    transform: translateY(-20px);
    font-size: 0.8rem;
    color: var(--primary-color);
}

.form-label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--gray-color);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer__logo .logo__main {
    color: var(--primary-color);
}

.footer__logo .logo__studio {
    color: white;
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer__social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Custom cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero__title {
        font-size: 2.8rem;
    }
    
    .about__inner {
        flex-direction: column;
    }
    
    .contact__inner {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .hero__title {
        font-size: 2.2rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .graphic-element {
        width: 250px;
        height: 250px;
    }
}