:root {
    /* Colors - Derived from Mynd image but enhanced for premium feel */
    --primary: #3B82F6;
    --primary-dark: #1D4ED8;
    --secondary: #1E3A8A;
    --accent: #60A5FA;
    --bg-light: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 50px -12px rgba(59, 130, 246, 0.15);
    
    /* Animation Tokens */
    --transition-main: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-max-w: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Animated Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
    animation: move 20s infinite alternate;
}

.blob-1 { top: -10%; right: -5%; animation-duration: 25s; }
.blob-2 { bottom: 10%; left: -5%; background: radial-gradient(circle, rgba(96, 165, 250, 0.05) 0%, transparent 70%); animation-duration: 30s; animation-delay: -5s; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.1); }
}

h1, h2, h3 {
    font-family: var(--font-heading);
}

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

/* Glassmorphism Navigation */
.glass-nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    z-index: 1000;
    padding: 0.75rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 40%),
                radial-gradient(circle at bottom left, rgba(96, 165, 250, 0.05), transparent 40%);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--secondary);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content h1 span {
    display: inline-block;
    transition: var(--transition-main);
}

.no-corrija {
    display: block;
    font-style: italic;
    color: var(--primary);
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

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

.hero-image-wrapper {
    position: relative;
}

.floating-img {
    width: 100%;
    max-width: 500px;
    border-radius: 2rem;
    box-shadow: var(--shadow-premium);
    animation: floating 6s ease-in-out infinite;
}

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

/* About Section */
.about-section {
    padding: 6rem 0;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 3rem;
    padding: 4rem;
    box-shadow: var(--shadow-premium);
}

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

.about-image img {
    width: 100%;
    border-radius: 2rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.about-text h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.icon-blue {
    color: var(--primary);
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

/* Services Section */
.services-section {
    padding: 8rem 0;
}

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

.section-header h2 {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

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

.service-card {
    padding: 2.5rem;
    border-radius: 2rem;
    background: white;
    border: 1px solid #E2E8F0;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary);
}

.highlight-card {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
}

.highlight-card .service-icon, .highlight-card h3, .highlight-card p, .highlight-card .duration {
    color: white;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

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

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.duration {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
}

/* Bento Process Section */
.process-section {
    padding: 8rem 0;
    background: #F1F5F9;
}

.bento-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(200px, auto));
    gap: 1.5rem;
    margin-top: 3rem;
}

.bento-item {
    padding: 3rem;
    border-radius: 2.5rem;
    background: white;
    position: relative;
    transition: var(--transition-main);
    border: 1px solid transparent;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border);
    box-shadow: var(--shadow-premium);
}

.pos-1 { grid-column: span 2; }
.pos-2 { grid-column: span 2; }
.pos-3 { grid-column: span 2; background: var(--secondary); color: white; }
.pos-4 { grid-column: span 2; }

.step-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.bento-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* FAQ Section */
.faq-section {
    padding: 8rem 0;
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
}

.faq-item {
    border-bottom: 1px solid #E2E8F0;
    padding: 1.5rem 0;
}

.faq-item summary {
    list-style: none;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary);
}

.faq-item p {
    padding-top: 1rem;
    color: var(--text-muted);
}

/* Footer */
.main-footer {
    padding: 6rem 0 2rem;
    background: var(--secondary);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-text {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
}

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

.social-links a {
    color: white;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Animations */
.fade-in { 
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards; 
}
.fade-in-delay { 
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards; 
}

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

/* Stagger Children Animation Helper */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), 
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.7s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.8s; }

/* Responsive */
@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }
    .hero-section .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 3rem; }
    .hero-actions { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; }
    .bento-process { grid-template-columns: 1fr; }
    .pos-1, .pos-2, .pos-3, .pos-4 { grid-column: span 1; }
    .faq-layout { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
}
