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

:root {
    --purple-primary: #7B2CBF;
    --purple-light: #9D4EDD;
    --purple-dark: #5A189A;
    --purple-accent: #C77DFF;
    --black: #000000;
    --black-light: #1A1A1A;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-300: #CCCCCC;
    --gray-500: #888888;
    --gray-700: #444444;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-light), var(--purple-accent));
    z-index: 10000;
    transition: width 0.1s ease;
    opacity: 0;
}

.scroll-progress.visible {
    opacity: 1;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(123, 44, 191, 0.2);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 30px rgba(123, 44, 191, 0.1);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--purple-primary);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.03em;
}

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

.nav-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    letter-spacing: 0.02em;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--purple-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Hero Section */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(90, 24, 154, 0.3) 100%),
        radial-gradient(circle at 20% 50%, rgba(123, 44, 191, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(157, 78, 221, 0.15) 0%, transparent 50%);
    position: relative;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(123, 44, 191, 0.15);
    border: 1px solid rgba(123, 44, 191, 0.3);
    border-radius: 50px;
    color: var(--purple-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 5.5rem;
    font-weight: 800;
    color: var(--purple-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hero-content .subtitle {
    font-size: 1.35rem;
    color: var(--gray-300);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.cta-group {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
}

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

.btn-primary:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 44, 191, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--purple-primary);
}

.btn-secondary:hover {
    background: rgba(123, 44, 191, 0.1);
    border-color: var(--purple-light);
}

/* Section Styling */
section {
    padding: 120px 2rem;
}

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

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

.section-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(123, 44, 191, 0.1);
    border: 1px solid rgba(123, 44, 191, 0.2);
    border-radius: 50px;
    color: var(--purple-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-description {
    color: var(--gray-300);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
#about {
    background: var(--black-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h3 {
    color: var(--purple-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-content p {
    color: var(--gray-300);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(123, 44, 191, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(123, 44, 191, 0.15);
    transition: all 0.3s ease;
    opacity: 1;
}

.feature-card:hover {
    background: rgba(123, 44, 191, 0.1);
    border-color: rgba(123, 44, 191, 0.3);
    transform: translateY(-4px);
}

.feature-card h4 {
    color: var(--purple-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.about-image-container {
    position: relative;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(123, 44, 191, 0.2);
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.about-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services Section */
#services {
    background: var(--black);
}

.service-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.toggle-wrapper {
    display: inline-flex;
    background: rgba(123, 44, 191, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    border: 1px solid rgba(123, 44, 191, 0.2);
}

.toggle-btn {
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    color: var(--gray-300);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.toggle-btn.active {
    background: var(--purple-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(123, 44, 191, 0.3);
}

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

.service-card {
    background: linear-gradient(145deg, var(--black-light), rgba(123, 44, 191, 0.03));
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(123, 44, 191, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    border-color: var(--purple-primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(123, 44, 191, 0.2);
}

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

.service-header {
    margin-bottom: 2rem;
}

.service-card h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card .description {
    color: var(--gray-500);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.price-tag {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(123, 44, 191, 0.15);
    border: 1px solid rgba(123, 44, 191, 0.3);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--purple-primary);
    font-family: 'Space Grotesk', sans-serif;
}

.service-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.service-features li {
    color: var(--gray-300);
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 6px;
    height: 6px;
    background: var(--purple-primary);
    border-radius: 50%;
}

/* Contact Section */
#contact {
    background: var(--black-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-container {
    background: rgba(123, 44, 191, 0.05);
    padding: 3.5rem;
    border-radius: 16px;
    border: 1px solid rgba(123, 44, 191, 0.2);
}

.contact-item {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(123, 44, 191, 0.15);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item-label {
    color: var(--purple-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.contact-item h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--gray-300);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-item a {
    color: var(--purple-light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

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

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: #FFFFFF !important;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.whatsapp-link:hover {
    background: #128C7E;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 500px;
    border: 1px solid rgba(123, 44, 191, 0.2);
    box-shadow: 0 20px 60px rgba(123, 44, 191, 0.15);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.3) contrast(1.2);
}

/* Footer */
footer {
    background: var(--black);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(123, 44, 191, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-divider {
    display: inline-block;
    margin: 0 1rem;
    color: var(--purple-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 4rem;
    }

    .section-title {
        font-size: 2.75rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .about-image-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        width: 80%;
        max-width: 350px;
        height: 100vh;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(123, 44, 191, 0.3);
    }

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

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

    .hero-content h1 {
        font-size: 3rem;
    }

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

    .section-title {
        font-size: 2.25rem;
    }

    section {
        padding: 80px 1.5rem;
    }

    .service-toggle-container {
        margin-bottom: 3rem;
    }

    .toggle-btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 2rem;
    }

    .contact-info-container {
        padding: 2rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-image-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .toggle-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .toggle-btn {
        width: 100%;
    }

    footer p {
        font-size: 0.85rem;
    }

    .footer-divider {
        display: block;
        margin: 0.5rem 0;
    }
}

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

a:focus,
button:focus {
    outline: 2px solid var(--purple-primary);
    outline-offset: 4px;
}
