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

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --secondary-dark: #7c3aed;
    --accent: #06b6d4;
    --background: #ffffff;
    --surface: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-hero: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    max-width: 250 px;
    height: 80px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo:hover {
    transform: scale(1.05);
}

.logo:hover .logo-img {
    transform: scale(1.1);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .word {
    display: inline-block;
    transition:
        color 0.3s,
        background 0.3s,
        transform 0.3s,
        box-shadow 0.3s,
        filter 0.3s;
    cursor: pointer;
    background: linear-gradient(90deg, #3b82f6 10%, #8b5cf6 60%, #06b6d4 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    filter: brightness(1) contrast(1.1);
    text-shadow: 0 2px 8px rgba(30,41,59,0.25), 0 1px 0 #fff;
    -webkit-text-stroke: 0.5px #fff;
}

.hero-title .word:hover {
    background-position: 100% 0;
    transform: scale(1.15) rotate(-2deg);
    box-shadow: 0 4px 24px 0 rgba(59,130,246,0.25), 0 2px 8px 0 rgba(139,92,246,0.15);
    filter: brightness(1.1) contrast(1.2) drop-shadow(0 0 8px #8b5cf6);
    z-index: 1;
    text-shadow: 0 4px 16px rgba(30,41,59,0.35), 0 2px 0 #fff;
    -webkit-text-stroke: 1px #fff;
}

.hero-title .word:nth-child(1) { animation-delay: 0.1s; }
.hero-title .word:nth-child(2) { animation-delay: 0.2s; }
.hero-title .word:nth-child(3) { animation-delay: 0.3s; }
.hero-title .word:nth-child(4) { animation-delay: 0.4s; }
.hero-title .word:nth-child(5) { animation-delay: 0.5s; }

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.element-1 {
    width: 8rem;
    height: 8rem;
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.element-2 {
    width: 6rem;
    height: 6rem;
    top: 60%;
    right: 20%;
    border-radius: 50%;
    animation: float 4s ease-in-out infinite 2s;
}

.element-3 {
    width: 10rem;
    height: 10rem;
    bottom: 10%;
    left: 30%;
    animation: float 8s ease-in-out infinite 1s;
}

/* Ticker */
.ticker {
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.ticker-track span {
    display: inline-block;
    padding: 0 2rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-top: 3rem;
    animation: none;
}

.about-text h2 {
    font-size: 2.7rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.about-text p {
    font-size: 1.25rem;
    color: #334155;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: none;
    border-radius: 0;
    padding: 0.2rem 0;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary-dark);
    box-shadow: none;
    transition: color 0.2s;
}

.benefits-list li:hover {
    color: var(--primary);
    background: none;
    transform: none;
}

.benefit-icon {
    font-size: 1.3rem;
    color: var(--primary);
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    transition: none;
}

.about-visual {
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.orbit-element {
    position: absolute;
    width: 1rem;
    height: 1rem;
    background: var(--secondary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
}

.orbit-1 {
    animation: orbit 8s linear infinite;
    transform-origin: -4rem 0;
}

.orbit-2 {
    animation: orbit 12s linear infinite reverse;
    transform-origin: -6rem 0;
}

.orbit-3 {
    animation: orbit 16s linear infinite;
    transform-origin: -8rem 0;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--surface);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: var(--text-secondary);
}

/* Services Preview */
.services-preview {
    padding: 5rem 0;
    background: var(--background);
}

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

.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-placeholder {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-content p {
    color: var(--text-secondary);
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: var(--gradient-hero);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Service Detail */
.service-detail {
    padding: 4rem 0;
}

.service-detail.alt {
    background: var(--surface);
}

.service-detail .service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item .feature-icon {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.service-visual .service-placeholder.large {
    font-size: 8rem;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
}

/* About Page */
.about-page {
    padding: 8rem 0 4rem;
    background: var(--surface);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Mission */
.mission {
    padding: 4rem 0;
    background: var(--background);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Values */
.values {
    padding: 4rem 0;
    background: var(--surface);
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.value-card p {
    color: var(--text-secondary);
}

/* Contact */
.contact {
    padding: 4rem 0;
    background: var(--surface);
}

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

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card,
.social-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.info-card h3,
.social-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.info-item strong {
    color: var(--text-primary);
    font-size: 1rem;
}

/* Legal Pages */
.legal-page {
    padding: 8rem 0 4rem;
    background: var(--surface);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Error Page */
.error-page {
    padding: 8rem 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-number {
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-content h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.error-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--gradient-hero);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.cta-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem !important;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    width: 100%;
    max-width: 400px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 8px 24px rgba(0,0,0,0.16);
        padding: 1rem 0;
        z-index: 2000;
    }
    .nav.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .logo {
        max-width: 20vw;
        width: 100%;
        height: auto;
        justify-content: flex-start;
        margin: 0;
    }
    .logo-img {
        width: 100%;
        max-width: 20vw !important;
        height: auto !important;
        object-fit: contain;
        display: block;
        margin: 0;
    }
    .logo-text {
        font-size: 1.25rem;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-visual {
        height: 300px;
    }
    .about-content,
    .service-detail .service-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    .error-number {
        font-size: 6rem;
    }
    .features-grid,
    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .footer-section {
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    .footer-logo {
        text-align: center;
        width: 100%;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    .logo {
        max-width: 25vw;
        width: 100%;
        height: auto;
    }
    .logo-img {
        width: 100%;
        max-width: 25vw !important;
        height: auto !important;
    }
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-visual {
        margin-top: 2rem;
        min-width: 0;
    }
}

