/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6F68EC;
    --secondary-color: #9B96FF;
    --accent-color: #B8B5FF;
    --bg-light: #F8F9FA;
    --bg-purple: #F5F6F7;
    --bg-gradient: linear-gradient(135deg, #FAFAFA 0%, #F8F9FA 50%, #F5F6F7 100%);
    --card-gradient: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    --text-body: #4D4D4D;
    --text-dark: #2D1B3D;
    --text-medium: #4A2C61;
    --text-light: #6B4B80;
    --text-contrast: #1A0E24;
    --title-color: #6F68EC;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: rgba(111, 104, 236, 0.15);
    --border-radius: 16px;
    --max-width: 1200px;
    --heading-font: 'Marcellus SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, serif;
    --body-font: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Barlow';
    src: url('assets/fonts/fonts/Barlow/Barlow-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('assets/fonts/fonts/Barlow/Barlow-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('assets/fonts/fonts/Barlow/Barlow-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('assets/fonts/fonts/Barlow/Barlow-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Marcellus SC';
    src: url('assets/fonts/fonts/Marcellus_SC/MarcellusSC-Regular.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}

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

/* Global heading styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: normal;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--title-color);
}

p, li, span, a, button {
    font-family: var(--body-font);
    color: var(--text-body);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(220, 220, 220, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-contrast);
    font-size: 28px;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-family: var(--body-font);
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

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

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: inherit;
    background-position: inherit;
    filter: brightness(0.9);
    z-index: 0;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.1) rotate(180deg);
    }
}

.hero-content {
    text-align: center;
    z-index: 3;
    position: relative;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-family: var(--body-font);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: white;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

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

/* Buttons */
.btn {
    font-family: var(--body-font);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(111, 104, 236, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(111, 104, 236, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(111, 104, 236, 0.15);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #000;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 18px;
    padding: 18px 40px;
    box-shadow: 0 6px 25px rgba(111, 104, 236, 0.35);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 214, 50, 0.3);
}

/* Sections */
.section-title {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 20px;
    color: var(--title-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-body);
    margin-bottom: 50px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-purple) 100%);
}

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

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(198, 110, 254, 0.1);
    backdrop-filter: blur(10px);
}

.service-image {
    width: calc(100% + 60px);
    height: 220px;
    margin: -30px -30px 30px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
    filter: brightness(1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 48px rgba(111, 104, 236, 0.15);
}

.service-card.featured {
    background: var(--card-gradient);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(111, 104, 236, 0.2);
}

.service-card h3 {
    font-family: var(--heading-font);
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--title-color);
    font-weight: 600;
}

.service-card p {
    margin-bottom: 25px;
    line-height: 1.6;
    color: var(--text-body);
    font-weight: 500;
}

.service-features {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    flex-grow: 1;
}

.service-features li {
    padding: 10px 0;
    color: var(--text-body);
    border-bottom: 1px solid rgba(198, 110, 254, 0.1);
    position: relative;
    padding-left: 25px;
    font-weight: 500;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-gradient);
}

.about-hero-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 0 auto 50px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.about-item {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    transition: transform 0.3s;
    box-shadow: 0 8px 32px rgba(198, 110, 254, 0.1);
}

.about-item:hover {
    transform: translateY(-5px);
}

.about-item h3 {
    font-family: var(--heading-font);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--title-color);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-purple) 0%, var(--bg-light) 100%);
}

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

.faq-item {
    margin-bottom: 20px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 20px rgba(198, 110, 254, 0.08);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: var(--title-color);
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(111, 104, 236, 0.05);
}

.faq-arrow {
    transition: transform 0.3s;
    color: var(--primary-color);
}

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

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: var(--text-body);
    line-height: 1.6;
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg));
    text-align: center;
}

.cta-title {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: white;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-gradient);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contact-info h3 {
    font-family: var(--heading-font);
    color: var(--title-color);
    margin-bottom: 20px;
}

.contact-item {
    margin: 15px 0;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-contrast);
    font-size: 16px;
    font-weight: 500;
    transition: border-color 0.3s;
    box-shadow: 0 4px 15px rgba(198, 110, 254, 0.1);
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-medium);
}

/* Footer */
.footer {
    padding: 40px 0 20px;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo p {
    color: var(--text-body);
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-hero-image {
        height: 250px;
    }
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, rgba(255, 245, 249, 0.98), rgba(243, 229, 255, 0.98));
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--card-border);
        box-shadow: 0 8px 32px rgba(198, 110, 254, 0.15);
    }

    .nav-menu.active {
        display: flex;
    }

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Success Message Styles */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    margin: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.success-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-content p {
    margin-bottom: 1.5rem;
    color: var(--text-body);
}
}