:root {
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --primary-dark: #5B21B6;
    --accent: #C4B5FD;
    --bg-dark: #0B0B0E;
    --bg-darker: #050507;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-heavy: rgba(255, 255, 255, 0.05);
    --text-white: #FFFFFF;
    --text-gray: #9CA3AF;
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient-hero: linear-gradient(135deg, #7C3AED 0%, #0B0B0E 70%);
    --gradient-accent: linear-gradient(135deg, #7C3AED, #C4B5FD);
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
}

[v-cloak] {
    display: none;
}

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

h1,
h2,
h3,
h4,
.logo,
.btn-primary,
.btn-outline {
    font-family: 'Outfit', sans-serif;
}

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

.grid {
    display: grid;
    gap: 2rem;
}

.centered {
    text-align: center;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(11, 11, 14, 0.8);
    backdrop-filter: blur(20px);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -1px;
    cursor: pointer;
    transition: var(--transition);
}

.logo span {
    color: var(--primary);
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white !important;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(124, 58, 237, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.4);
    background: var(--primary-light);
}

.btn-primary.big {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--glass-border);
    color: var(--text-white) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Glass Cards */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    background: var(--bg-glass-heavy);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
    padding: 10rem 0;
}

.secondary-bg {
    background-color: var(--bg-darker);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

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

h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    padding: 6rem 0;
}

.hero .grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.main-card {
    position: relative;
    transform: rotateY(-10deg) rotateX(10deg);
    box-shadow: 30px 40px 80px rgba(0, 0, 0, 0.6);
}

.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.2), transparent);
    filter: blur(40px);
    z-index: -1;
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.skeleton-line {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-line.title {
    width: 70%;
    height: 24px;
    margin-bottom: 2.5rem;
}

.skeleton-line.text {
    width: 100%;
    height: 12px;
}

.skeleton-line.text.short {
    width: 45%;
}

.skeleton-button {
    width: 120px;
    height: 40px;
    background: var(--primary);
    opacity: 0.2;
    border-radius: 8px;
    margin-top: 2.5rem;
}

/* Sobre */
.about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.about-highlights {
    display: flex;
    gap: 2rem;
}

.highlight-item {
    flex: 1;
    text-align: center;
}

.highlight-item .number {
    display: block;
    font-size: 3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.highlight-item .label {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Services */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

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

.service-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-gray);
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.service-preview img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.service-preview:hover img {
    transform: scale(1.02);
}

/* Featured Project - KRON */
.featured-project {
    position: relative;
}

.kron-container {
    margin-bottom: 6rem;
    overflow: hidden;
}

.kron-content {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
}

.project-logo {
    max-width: 180px;
    margin-bottom: 2rem;
    object-fit: contain;
}

.project-desc {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.project-problem {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.kron-info h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.solution-list {
    list-style: none;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.solution-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.technical-note {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary);
}

.project-actions {
    display: flex;
    gap: 1.5rem;
}

.kron-preview img {
    width: 120%;
    transform: translateX(10%);
    border-radius: 16px;
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.5);
}

/* Other Projects */
.other-projects h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-mini-card {
    padding: 2rem;
}

.project-mini-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.project-mini-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.project-mini-card .badge {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
    border: 1px solid var(--primary-light);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

/* Experience */
.experience-intro {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: -1rem auto 4rem;
}

.differentials-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.diff-card {
    text-align: center;
    padding: 2rem;
}

.diff-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.diff-card h4 {
    font-size: 1.1rem;
    line-height: 1.3;
}

/* Process */
.process-steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.step-card {
    position: relative;
    padding: 2rem;
    text-align: center;
}

.step-header {
    display: inline-flex;
    position: relative;
    margin-bottom: 1.5rem;
}

.step-number {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -20px;
}

.step-icon {
    font-size: 2.5rem;
}

.step-card h4 {
    font-size: 1.1rem;
}

/* CTA Final */
.cta-final {
    padding-bottom: 10rem;
}

.cta-final .glass-card {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
}

.cta-final h2 {
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.cta-final p {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

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

.social-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

footer .logo {
    font-size: 1.5rem;
}

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

footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 1024px) {

    h2,
    .hero h1,
    .cta-final h2 {
        font-size: 3rem;
    }

    .hero .grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1,
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .kron-content {
        grid-template-columns: 1fr;
    }

    .kron-preview img {
        width: 100%;
        transform: none;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 6rem 0;
    }

    h2,
    .hero h1,
    .cta-final h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    .about-highlights {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .solution-list {
        grid-template-columns: 1fr;
    }

    footer .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}