/* GrantBot.co Color System - CSS Variables */
:root {
  /* Brand Colors - Exact GrantBot.co Values */
  --brand--gold: #D4AF37;
  --brand--lite-purple: #9B59B6;
  --brand--teal: #1ABC9C;

  /* Extended Brand Colors */
  --ctc--gold-100: #D4AF37;
  --ctc--light-purple-100: #9B59B6;
  --ctc--teal-100: #1ABC9C;

  /* Neutral Colors */
  --neutral--100: #FFFFFF;
  --neutral--200: #CCCCCC;
  --neutral--300: #999999;
  --neutral--400: #666666;
  --neutral--500: #444444;

  /* Background Colors */
  --bg--primary: #121213;
  --bg--secondary: #1a1a1b;
  --bg--gradient: linear-gradient(135deg, #121213 0%, #1a1a1b 100%);

  /* Primary Foreground */
  --primary-foreground: #FFFFFF;

  /* Animation Speeds */
  --gradient-speed-slow: 3s;
  --gradient-speed-medium: 2s;
  --gradient-speed-fast: 1.5s;

  /* Responsive Typography - Matching GrantBot.co */
  --hero-title-mobile: calc(1.5rem + 2.5vw);
  --hero-title-tablet: calc(2.5rem + 1.5vw);
  --hero-title-desktop: calc(3.5rem + 0.5vw);

  --heading-mobile: calc(1.25rem + 1.5vw);
  --heading-tablet: calc(1.75rem + 1vw);
  --heading-desktop: calc(2rem + 0.5vw);

  --subheading-mobile: calc(1rem + 1vw);
  --subheading-tablet: calc(1.25rem + 0.5vw);
  --subheading-desktop: calc(1.5rem + 0.25vw);

  /* Fragment Font Responsive Typography */
  --fragment-h1-mobile: calc(2.5rem + 3vw);
  --fragment-h1-tablet: calc(3.5rem + 2vw);
  --fragment-h1-desktop: calc(4rem + 1vw);

  --fragment-h2-mobile: calc(1.5rem + 2vw);
  --fragment-h2-tablet: calc(2rem + 1.5vw);
  --fragment-h2-desktop: calc(2.5rem + 1vw);
}

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

body {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary-foreground);
    background-color: var(--bg--primary);
    overflow-x: hidden;
}

/* Custom Font Definitions */
@font-face {
    font-family: 'ivyepic-variable';
    src: url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
}

/* Typography - Updated to match GrantBot.co */
.font-primary {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

.font-secondary {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
}

.font-semibold {
    font-weight: 600;
}

.font-light {
    font-weight: 300;
}

/* Legacy Classes - Updated to use Public Sans */
.font-ivyepic {
    font-family: 'Public Sans', 'Inter', sans-serif;
    font-weight: 500;
}

/* Responsive typography for Fragment font */
.font-fragment {
    font-family: 'Merriweather', 'Times New Roman', Georgia, serif;
    font-weight: 400;
    font-size: var(--fragment-h2-mobile);
    line-height: 1.2;
}

/* H1 specific styling with Fragment font */
h1.font-fragment {
    font-size: var(--fragment-h1-mobile);
    line-height: 1.1;
    font-weight: 500;
}

@media (min-width: 768px) {
    .font-fragment {
        font-size: var(--fragment-h2-tablet);
    }

    h1.font-fragment {
        font-size: var(--fragment-h1-tablet);
    }
}

@media (min-width: 1024px) {
    .font-fragment {
        font-size: var(--fragment-h2-desktop);
    }

    h1.font-fragment {
        font-size: var(--fragment-h1-desktop);
    }
}

/* Solutions Cards Styling */
.solution-card {
    padding: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Solution card icon gradients */
.solution-card .bg-gradient-to-br {
    position: relative;
    overflow: hidden;
}

.solution-card .bg-gradient-to-br::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover .bg-gradient-to-br::before {
    opacity: 1;
}

/* Solution card text styling */
.solution-card h3 {
    transition: color 0.3s ease;
}

.solution-card:hover h3 {
    color: #FFFFFF;
}

.solution-card p {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.solution-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Solutions Grid Specific Layout */
.solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: repeat(2, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }
}

@media (max-width: 767px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
        gap: 1.5rem;
    }
}

/* Responsive adjustments for solution cards */
@media (max-width: 768px) {
    .solution-card {
        padding: 1.5rem;
    }

    .solution-card .w-20 {
        width: 4rem;
        height: 4rem;
    }

    .solution-card .w-10 {
        width: 1.5rem;
        height: 1.5rem;
    }

    .solution-card h3 {
        font-size: 1.125rem;
    }

    .solution-card p {
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .solution-card {
        padding: 1.25rem;
    }

    .solution-card .w-20 {
        width: 3.5rem;
        height: 3.5rem;
    }

    .solution-card .w-10 {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.font-public-sans {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: #8f33ee;
    color: #FFFFFF;
}

/* Focus States */
:focus {
    outline: 2px solid #8f33ee;
    outline-offset: 2px;
}

/* Background Pattern */
.bg-pattern {
    background-image: url('../images/graphics/outline-x.svg');
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.1;
}

/* Header Styles */
header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Navigation Links */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #FFFFFF;
    transition: width 0.3s ease;
}

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

/* Button Styles */
.btn-primary {
    background: #FFFFFF;
    color: #000000;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid #FFFFFF;
}

.btn-primary:hover {
    background: #000000;
    color: #FFFFFF;
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid #FFFFFF;
}

.btn-secondary:hover {
    background: #FFFFFF;
    color: #000000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    font-weight: 300;
    max-width: 1400px;
}

.hero p {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    line-height: 1.4;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    opacity: 0.95;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    font-weight: 300;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Services Section Alternating Layout */
.service-alternating {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #1F2937;
}

.service-alternating:nth-child(even) {
    flex-direction: row-reverse;
}

.service-alternating .service-content {
    flex: 1;
}

.service-alternating .service-icon {
    width: 8rem;
    height: 8rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-alternating h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.service-alternating p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-alternating .service-link {
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
}

.service-alternating .service-link:hover {
    background: #FFFFFF;
    color: #000000;
}

/* Service Cards */
.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem 0;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Testimonials */
.testimonial-slider {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-content blockquote {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.3;
    margin-bottom: 2rem;
    font-weight: 300;
}

.testimonial-content cite {
    font-style: normal;
    font-size: 1.125rem;
}

.testimonial-author {
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-role {
    opacity: 0.7;
    font-size: 1rem;
}

/* Testimonial Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.testimonial-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #4B5563;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.testimonial-dot.active {
    background-color: #FFFFFF;
    width: 2rem;
}

/* Statistics Section */
.stats-section {
    padding: 6rem 0;
    background: #111111;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    color: #8f33ee;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'ivyepic-variable', 'Inter', sans-serif;
}

.stat-label {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: #FFFFFF;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-description {
    font-size: 0.95rem;
    color: #9CA3AF;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #9CA3AF;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Client Logos Section */
.client-logos-section {
    padding: 4rem 0;
    border-top: 1px solid #1F2937;
    border-bottom: 1px solid #1F2937;
}

.client-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    opacity: 0.6;
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    max-width: 160px;
    height: 40px;
}

.client-logo-item img {
    max-width: 100%;
    max-height: 40px;
    filter: grayscale(100%) brightness(0) invert(1);
    transition: all 0.3s ease;
}

.client-logo-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Problem Benefits List */
.benefits-list {
    list-style: none;
    margin: 1.5rem 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #FFFFFF;
}

.benefits-list .check-icon {
    color: #10B981;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Service Icons Styling */
.service-alternating .service-icon {
    background: rgba(143, 51, 238, 0.1);
    border: 1px solid rgba(143, 51, 238, 0.3);
}

.service-item .service-icon {
    background: rgba(143, 51, 238, 0.1);
    border: 1px solid rgba(143, 51, 238, 0.3);
}

/* Service Icon Images */
.service-icon img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.service-alternating .service-icon img {
    width: 4rem;
    height: 4rem;
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

.hero + section {
    padding-top: 6rem;
}

/* GrantBot.co Rainbow Button System & Animations */

/* Gradient Animations */
@keyframes rainbow {
    0% { background-position: 0%; }
    100% { background-position: 200%; }
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(200%) rotate(45deg); }
}

@keyframes aurora-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Rainbow Button Base Class */
.rainbow-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.75rem;
    padding: 0.5rem 2rem;
    font-weight: 500;
    color: var(--primary-foreground);
    border: 3px solid transparent;
    border-radius: 0.75rem;
    background-color: transparent;
    background-clip: padding-box;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

/* Borda rainbow com cantos arredondados usando pseudo-elemento */
.rainbow-button::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(90deg, var(--ctc--gold-100), var(--ctc--light-purple-100), var(--ctc--teal-100), var(--ctc--gold-100));
    background-size: 300% 100%;
    border-radius: 0.75rem;
    z-index: -1;
    animation: rainbow-border var(--gradient-speed-medium) infinite linear;
}

/* Pseudo-elemento ::before removido para eliminar efeito de fundo */

/* Pseudo-elemento ::after removido para eliminar efeito glow de fundo */

.rainbow-button:hover {
    /* Sem mudanças no hover - aparência constante */
}

/* Animations for rainbow effects */
@keyframes rainbow-border {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes rainbow-glow {
    0%, 100% {
        background-position: 0% 50%;
        filter: blur(15px);
    }
    50% {
        background-position: 100% 50%;
        filter: blur(25px);
    }
}

/* Enhanced Rainbow Button for Hero CTA */
.rainbow-button-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    padding: 0.75rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-foreground);
    border: 4px solid transparent;
    border-radius: 0.75rem;
    background-color: transparent;
    background-clip: padding-box;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

/* Borda rainbow hero com cantos arredondados usando pseudo-elemento */
.rainbow-button-hero::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(90deg, var(--ctc--gold-100), var(--ctc--light-purple-100), var(--ctc--teal-100), var(--ctc--gold-100));
    background-size: 300% 100%;
    border-radius: 0.75rem;
    z-index: -1;
    animation: rainbow-border var(--gradient-speed-slow) infinite linear;
}

/* Pseudo-elementos ::before e ::after removidos do rainbow-button-hero para eliminar efeitos de fundo */

.rainbow-button-hero:hover {
    /* Sem mudanças no hover - aparência constante */
}

/* Navigation Links with Gradient Underline */
.nav-link {
    position: relative;
    color: var(--neutral--100);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--brand--gold), var(--brand--lite-purple), var(--brand--teal));
    transition: width 0.3s ease;
}

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

/* Hero Section Background Effects - Enhanced for GrantBot.co Match */
.hero-enhanced {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #121213 100%);
    position: relative;
    overflow: hidden;
}

/* Constelação de Esferas - Efeito Hero Background (Aplicado ao hero-enhanced) - Esferas Apenas na Parte Inferior */
.hero-enhanced::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 75%, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.16) 15%, transparent 30%),
        radial-gradient(circle at 70% 80%, rgba(155, 89, 182, 0.22) 0%, rgba(155, 89, 182, 0.14) 12%, transparent 25%),
        radial-gradient(circle at 85% 85%, rgba(26, 188, 156, 0.28) 0%, rgba(26, 188, 156, 0.18) 18%, transparent 30%),
        radial-gradient(circle at 25% 82%, rgba(212, 175, 55, 0.20) 0%, rgba(212, 175, 55, 0.12) 14%, transparent 28%),
        radial-gradient(circle at 55% 88%, rgba(155, 89, 182, 0.24) 0%, rgba(155, 89, 182, 0.16) 15%, transparent 30%),
        radial-gradient(circle at 40% 92%, rgba(26, 188, 156, 0.21) 0%, rgba(26, 188, 156, 0.14) 12%, transparent 25%);
    pointer-events: none;
    animation: float-hero-constellation 25s ease-in-out infinite;
    z-index: 0;
}

/* Garantir que o conteúdo do hero fique sobre as esferas */
.hero-enhanced .container {
    position: relative;
    z-index: 10;
}

.hero-enhanced .hero-content {
    position: relative;
    z-index: 10;
}

/* Social Proof dentro do Hero */
.hero-enhanced .hero-social-proof {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-enhanced .hero-social-proof p {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero-enhanced .hero-social-proof .client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
    margin-top: 2rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-enhanced .hero-social-proof .client-logos:hover {
    opacity: 0.9;
}

/* Hero Image Styling */
.hero-image {
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
    animation: float-hero-image 6s ease-in-out infinite;
}

/* Hero Image Animation */
@keyframes float-hero-image {
    0%, 100% {
        transform: scale-x(-1) translateY(0px);
    }
    50% {
        transform: scale-x(-1) translateY(-15px);
    }
}

/* Mobile Hero Image Adjustments */
@media (max-width: 1024px) {
    .hero-image {
        max-width: 590px;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-image {
        max-width: 490px;
        margin-top: 3rem;
    }
}

@media (max-width: 640px) {
    .hero-image {
        max-width: 390px;
        margin-top: 2rem;
    }
}

/* Hero Background Image Setup */
.hero-background {
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-image-bg {
    position: absolute;
    top: calc(50% - 120px);
    right: calc(-40% + 482px);
    transform: translateY(-50%) scaleX(-1);
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    /* Back to original size */
    width: 57.5%;
    height: 57.5%;
    object-fit: contain;
    object-position: right center;
    opacity: 0.9;
    animation: float-hero-image-bg 8s ease-in-out infinite;
}

/* Background Image Animation */
@keyframes float-hero-image-bg {
    0%, 100% {
        transform: translateY(-50%) scaleX(-1) translateX(0px);
    }
    50% {
        transform: translateY(-50%) scaleX(-1) translateX(-20px);
    }
}

/* Responsive adjustments for background hero image */
@media (max-width: 1024px) {
    .hero-image-bg {
        width: 46%;
        height: 46%;
        right: calc(-45% + 482px);
        top: calc(50% - 120px);
    }
}

@media (max-width: 768px) {
    .hero-image-bg {
        width: 40.25%;
        height: 40.25%;
        right: calc(-40% + 482px);
        top: calc(50% - 120px);
        opacity: 0.7;
    }
}

@media (max-width: 640px) {
    .hero-image-bg {
        width: 34.5%;
        height: 34.5%;
        right: calc(-45% + 482px);
        top: calc(50% - 120px);
        opacity: 0.6;
    }
}

.hero-enhanced .hero-social-proof .client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    transition: all 0.3s ease;
}

.hero-enhanced .hero-social-proof .client-logo:hover {
    transform: translateY(-2px);
    opacity: 1 !important;
}

.hero-enhanced .hero-social-proof .client-logo img {
    height: 100%;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-enhanced .hero-social-proof .client-logo:hover img {
    opacity: 1;
}

/* Responsive para Social Proof no Hero */
@media (max-width: 768px) {
    .hero-enhanced .hero-social-proof {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }

    .hero-enhanced .hero-social-proof .client-logos {
        gap: 1.5rem 2rem;
    }

    .hero-enhanced .hero-social-proof .client-logo {
        height: 1.5rem;
    }
}

@keyframes float-hero-constellation {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 1; }
    25% { transform: translateY(-20px) translateX(15px); opacity: 1; }
    50% { transform: translateY(-15px) translateX(-20px); opacity: 1; }
    75% { transform: translateY(-30px) translateX(10px); opacity: 1; }
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 80%, rgba(212, 175, 55, 0.16) 0%, transparent 35%),
        radial-gradient(circle at 70% 85%, rgba(155, 89, 182, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 40% 90%, rgba(26, 188, 156, 0.08) 0%, transparent 40%);
    animation: float 25s ease-in-out infinite;
    z-index: 0;
}

/* Listras diagonais removidas - substituídas pela constelação de esferas */

/* Service Cards with Gradient Effects */
.service-card-enhanced {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 2rem;
    background: rgba(18, 18, 19, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card-enhanced:hover::before {
    left: 100%;
}

.service-card-enhanced:hover {
    transform: translateY(-4px);
    border-color: var(--brand--lite-purple);
    box-shadow: 0 20px 40px rgba(155, 89, 182, 0.2);
}

/* Testimonial Avatar with Shimmer Effect */
.testimonial-avatar-enhanced {
    background: linear-gradient(135deg, var(--brand--gold), var(--brand--lite-purple));
    position: relative;
    overflow: hidden;
}

.testimonial-avatar-enhanced::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

/* Enhanced Testimonial Dots */
.testimonial-dot-enhanced {
    width: 12px;
    height: 12px;
    background-color: var(--neutral--300);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot-enhanced.active {
    background: linear-gradient(90deg, var(--brand--gold), var(--brand--lite-purple), var(--brand--teal));
    width: 32px;
    border-radius: 6px;
}

/* FAQ Accordion with Gradient Accent */
.faq-item-enhanced {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-enhanced:hover {
    border-color: var(--brand--lite-purple);
}

.faq-question-enhanced {
    background: transparent;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question-enhanced::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--brand--gold), var(--brand--lite-purple), var(--brand--teal));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.faq-question-enhanced:hover::before {
    transform: scaleY(1);
}

/* Featured Pricing Card */
.pricing-card-featured-enhanced {
    border: 3px solid transparent;
    background: var(--bg--primary);
    position: relative;
    transform: scale(1.05);
}

/* Borda rainbow para o pricing card popular - apenas na borda */
.pricing-card-featured-enhanced::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(var(--bg--primary), var(--bg--primary)) padding-box,
                linear-gradient(135deg, var(--ctc--gold-100), var(--ctc--light-purple-100), var(--ctc--teal-100), var(--ctc--gold-100)) border-box;
    border: 3px solid transparent;
    border-radius: 0.5rem;
    z-index: -1;
    animation: rainbow-border var(--gradient-speed-medium) infinite linear;
}


/* Enhanced Form Inputs */
.form-input-enhanced {
    background: rgba(18, 18, 19, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--neutral--100);
    transition: all 0.3s ease;
}

.form-input-enhanced:focus {
    border-color: var(--brand--lite-purple);
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.1);
    outline: none;
}

/* Footer Links with Gradient */
.footer-link-enhanced {
    color: var(--neutral--300);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link-enhanced::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--brand--gold), var(--brand--teal));
    transition: width 0.3s ease;
}

.footer-link-enhanced:hover::after {
    width: 100%;
}

/* Progress Bar Component Styles */
.progress-bar-container {
    text-align: center;
}

.progress-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-family: 'Public Sans', sans-serif;
}

.progress-text {
    color: var(--neutral--100);
    font-size: 0.875rem;
    font-weight: 500;
}

.progress-percentage {
    color: var(--neutral--300);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Progress Bar Track */
.progress-bar-track {
    width: 100%;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

/* Progress Bar Fill with Rainbow Gradient */
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand--gold), var(--brand--lite-purple), var(--brand--teal));
    background-size: 200% 100%;
    border-radius: 9999px;
    animation: rainbow var(--gradient-speed-medium) infinite linear;
    position: relative;
    overflow: hidden;
}

/* Subtle shimmer effect for progress fill */
.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

/* Progress Bar Glow Effect */
.progress-bar-track::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(90deg, var(--brand--gold), var(--brand--lite-purple), var(--brand--teal));
    border-radius: inherit;
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
}

/* Responsive Typography - Hero Title */
.hero-enhanced h1 {
    font-size: var(--hero-title-mobile);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-enhanced h1 {
        font-size: var(--hero-title-tablet);
    }
}

@media (min-width: 1024px) {
    .hero-enhanced h1 {
        font-size: var(--hero-title-desktop);
    }
}

/* Section Headings Responsive Typography */
.section-title {
    font-size: var(--heading-mobile);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--heading-tablet);
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: var(--heading-desktop);
    }
}

/* Mobile Optimizations for Progress Bar */
@media (max-width: 768px) {
    .progress-bar-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .progress-text {
        font-size: 1rem;
    }

    .progress-percentage {
        font-size: 1.125rem;
    }

    .progress-bar-track {
        height: 0.75rem;
    }

    /* Hero Section Mobile Optimizations */
    .hero-enhanced {
        min-height: auto;
        padding: 4rem 0;
    }

    .progress-bar-container {
        margin-top: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-enhanced {
        padding: 3rem 0;
    }

    .progress-bar-container {
        margin-top: 1.5rem;
    }
}

/* Mobile Optimizations for Alternating Layout */
@media (max-width: 768px) {
    .service-alternating {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .service-alternating:nth-child(even) {
        flex-direction: column;
    }

    .service-alternating .service-icon {
        width: 6rem;
        height: 6rem;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .client-logos-grid {
        gap: 2rem;
    }

    .client-logo-item {
        min-width: 100px;
        max-width: 120px;
    }
}

/* Pricing Cards */
.pricing-card {
    border: 1px solid #374151;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border: 2px solid #FFFFFF;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFFFFF;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.pricing-card h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1;
}

.pricing-description {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.pricing-features .check-icon {
    color: #10B981;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #374151;
    border-radius: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    border-color: #4B5563;
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-icon.open {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid #374151;
    background: transparent;
    display: none;
}

.faq-answer.show {
    display: block;
}

/* Footer */
footer {
    border-top: 1px solid #374151;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-links h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    color: #FFFFFF;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: #FFFFFF;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #6B7280;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: #FFFFFF;
    color: #000000;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background: #F3F4F6;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: #9CA3AF;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #FFFFFF;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero p {
        font-size: clamp(1rem, 3vw, 1.25rem);
    }

    .section-header h2 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .process-step {
        margin-bottom: 2rem;
    }

    .testimonial-content blockquote {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }

    .pricing-card {
        margin-bottom: 1rem;
    }

    .faq-question {
        font-size: 1.125rem;
    }

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

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

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .process-step {
        margin-bottom: 0;
    }

    .pricing-card {
        margin-bottom: 0;
    }
}

/* Desktop Responsive Styles */
@media (min-width: 1025px) {
    .service-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

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

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

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

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1F2937;
}

::-webkit-scrollbar-thumb {
    background: #4B5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B7280;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Process Flow Section - Enhanced Layout */
.process-flow-section {
    padding: 4rem 0;
    position: relative;
}

.process-flow-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    align-items: center;
    z-index: 1;
}

/* Connecting Lines Between Phases */
.process-flow-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg,
        var(--brand--gold) 0%,
        var(--brand--lite-purple) 35%,
        var(--brand--teal) 70%,
        rgba(52, 152, 219, 0.8) 100%);
    z-index: 0;
    opacity: 0.6;
}

/* Enhanced Phase Cards */
.process-phase-card {
    background: rgba(18, 18, 19, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.process-phase-card:nth-child(1) { animation-delay: 0.1s; border-color: rgba(212, 175, 55, 0.3); }
.process-phase-card:nth-child(2) { animation-delay: 0.2s; border-color: rgba(155, 89, 182, 0.3); }
.process-phase-card:nth-child(3) { animation-delay: 0.3s; border-color: rgba(26, 188, 156, 0.3); }
.process-phase-card:nth-child(4) { animation-delay: 0.4s; border-color: rgba(52, 152, 219, 0.3); }

.process-phase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Enhanced Number Badges */
.phase-number-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'ivyepic-variable', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.enhanced-phase-1 .phase-number-badge {
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    color: #000000;
}

.enhanced-phase-2 .phase-number-badge {
    background: linear-gradient(135deg, #9B59B6, #BB6BD9);
    color: #000000;
}

.enhanced-phase-3 .phase-number-badge {
    background: linear-gradient(135deg, #1ABC9C, #48C9B0);
    color: #000000;
}

.enhanced-phase-4 .phase-number-badge {
    background: linear-gradient(135deg, #3498DB, #5DADE2);
    color: #000000;
}

/* Pulse Animation for Number Badges */
.phase-number-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

/* Phase Icons */
.phase-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.enhanced-phase-1 .phase-icon {
    color: #D4AF37;
}

.enhanced-phase-2 .phase-icon {
    color: #9B59B6;
}

.enhanced-phase-3 .phase-icon {
    color: #1ABC9C;
}

.enhanced-phase-4 .phase-icon {
    color: #3498DB;
}

.process-phase-card:hover .phase-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Enhanced Typography */
.phase-title {
    font-family: 'ivyepic-variable', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.phase-description {
    font-family: 'Public Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

/* Phase Duration */
.phase-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Public Sans', sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.time-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* Hover Effects */
.process-phase-card:hover .phase-title {
    color: #FFFFFF;
    transform: scale(1.02);
}

.process-phase-card:hover .phase-description {
    color: rgba(255, 255, 255, 0.9);
}

.process-phase-card:hover .phase-duration {
    color: rgba(255, 255, 255, 0.8);
}

.process-phase-card:hover .time-icon {
    opacity: 1;
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .process-flow-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .process-flow-container::before {
        top: 25%;
        height: 1px;
    }

    .process-phase-card:nth-child(odd)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -15px;
        width: 15px;
        height: 1px;
        background: linear-gradient(90deg, currentColor, transparent);
    }

    .process-phase-card:nth-child(1)::after { color: #D4AF37; }
    .process-phase-card:nth-child(3)::after { color: #1ABC9C; }
}

@media (max-width: 768px) {
    .process-flow-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-flow-container::before {
        display: none;
    }

    .process-phase-card {
        padding: 1.5rem;
    }

    .phase-number-badge {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }

    .phase-title {
        font-size: 1.25rem;
    }

    .phase-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .process-flow-section {
        padding: 3rem 0;
    }

    .process-phase-card {
        padding: 1.25rem;
    }

    .phase-number-badge {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .phase-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .phase-title {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .phase-description {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
}

/* Hybrid Solutions Section Styles */
.hybrid-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .hybrid-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hybrid-cards-grid {
        grid-template-columns: 1fr;
    }
}

.hybrid-card {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hybrid-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(#000000, #000000) padding-box,
                linear-gradient(135deg, var(--ctc--gold-100), var(--ctc--light-purple-100), var(--ctc--teal-100), var(--ctc--gold-100)) border-box;
    border: 1px solid transparent;
    border-radius: 1rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hybrid-card:hover::before {
    opacity: 1;
    animation: rainbow-border var(--gradient-speed-medium) infinite linear;
}

.hybrid-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: #000000;
    border-color: transparent;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(var(--color-rgb), 0.2),
        0 0 60px rgba(var(--color-rgb), 0.1);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.dashboard-icon {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    transform: translateX(-22px);
}

.dashboard-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--color-1), var(--color-2));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.3s ease;
}

.hybrid-card:hover .dashboard-icon {
    transform: translateX(-22px) scale(1.1) rotate(2deg);
}


.hybrid-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-1);
    position: relative;
    z-index: 1;
    font-weight: 600;
    font-family: 'Merriweather', serif;
    text-align: left;
}

.hybrid-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    text-align: left;
    font-family: 'Public Sans', sans-serif;
}

.highlight-button {
    background: rgba(212, 175, 55, 0.2) !important;
    color: #D4AF37 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 2rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: none !important;
    cursor: pointer !important;
}

.highlight-button:hover {
    background: rgba(212, 175, 55, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.2);
    color: #E6C757 !important;
}

.highlight-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.2);
}

/* Responsive adjustments for hybrid cards */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        justify-content: center;
    }

    .hybrid-card h3 {
        text-align: center;
    }

    .hybrid-card p {
        text-align: center;
    }
}

    .dashboard-icon {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 640px) {
    .dashboard-icon {
        width: 100px;
        height: 100px;
        transform: translateX(-15px);
    }

    .hybrid-card:hover .dashboard-icon {
        transform: translateX(-15px) scale(1.1) rotate(2deg);
    }
}

@media (max-width: 480px) {
    .dashboard-icon {
        width: 90px;
        height: 90px;
        transform: translateX(-10px);
    }

    .hybrid-card:hover .dashboard-icon {
        transform: translateX(-10px) scale(1.1) rotate(2deg);
    }

    .hybrid-card {
        padding: 1.5rem;
    }
}

/* Código movido para hero-enhanced - mantendo apenas uma implementação */

/* Print Styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }

    header,
    footer,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }

    .hero {
        min-height: auto !important;
        padding: 2rem 0 !important;
    }
}

/* Flashing Glow Balls Behind Hero Image */
.glow-ball {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.59) 0%, rgba(212, 175, 55, 0.39) 30%, rgba(212, 175, 55, 0.20) 60%, rgba(212, 175, 55, 0) 100%);
    box-shadow:
        0 0 60px rgba(212, 175, 55, 0.52),
        0 0 100px rgba(212, 175, 55, 0.39),
        0 0 150px rgba(212, 175, 55, 0.26),
        inset 0 0 30px rgba(212, 175, 55, 0.52);
    z-index: 0;
    pointer-events: none;
}

/* Individual Glow Balls with Different Sizes, Positions, and Animations */
.glow-ball-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    animation: flash-glow-1 3s ease-in-out infinite;
}

.glow-ball-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 25%;
    animation: flash-glow-2 4s ease-in-out infinite 0.5s;
}

.glow-ball-3 {
    width: 60px;
    height: 60px;
    top: 35%;
    right: 40%;
    animation: flash-glow-3 3.5s ease-in-out infinite 1s;
}

.glow-ball-4 {
    width: 100px;
    height: 100px;
    top: 75%;
    right: 10%;
    animation: flash-glow-4 4.5s ease-in-out infinite 1.5s;
}

.glow-ball-5 {
    width: 70px;
    height: 70px;
    top: 45%;
    right: 55%;
    animation: flash-glow-5 3.8s ease-in-out infinite 2s;
}

/* Flashing Animations for Each Ball */
@keyframes flash-glow-1 {
    0%, 100% {
        opacity: 0.20;
        transform: scale(0.8);
        filter: blur(2px);
    }
    50% {
        opacity: 0.65;
        transform: scale(1.2);
        filter: blur(0px);
    }
}

@keyframes flash-glow-2 {
    0%, 100% {
        opacity: 0.13;
        transform: scale(0.7);
        filter: blur(3px);
    }
    25% {
        opacity: 0.52;
        transform: scale(1.1);
        filter: blur(1px);
    }
    75% {
        opacity: 0.65;
        transform: scale(1.3);
        filter: blur(0px);
    }
}

@keyframes flash-glow-3 {
    0%, 100% {
        opacity: 0.26;
        transform: scale(0.9);
        filter: blur(1.5px);
    }
    33% {
        opacity: 0.65;
        transform: scale(1.15);
        filter: blur(0px);
    }
    66% {
        opacity: 0.39;
        transform: scale(1.05);
        filter: blur(1px);
    }
}

@keyframes flash-glow-4 {
    0%, 100% {
        opacity: 0.13;
        transform: scale(0.6);
        filter: blur(2.5px);
    }
    40% {
        opacity: 0.59;
        transform: scale(1.25);
        filter: blur(0.5px);
    }
    80% {
        opacity: 0.65;
        transform: scale(1.4);
        filter: blur(0px);
    }
}

@keyframes flash-glow-5 {
    0%, 100% {
        opacity: 0.20;
        transform: scale(0.8);
        filter: blur(2px);
    }
    30% {
        opacity: 0.65;
        transform: scale(1.2);
        filter: blur(0px);
    }
    70% {
        opacity: 0.33;
        transform: scale(1.0);
        filter: blur(1.5px);
    }
}

/* Responsive adjustments for glow balls */
@media (max-width: 1024px) {
    .glow-ball {
        filter: blur(1px) !important;
    }

    .glow-ball-1 { width: 60px; height: 60px; right: 20%; }
    .glow-ball-2 { width: 90px; height: 90px; right: 30%; }
    .glow-ball-3 { width: 50px; height: 50px; right: 45%; }
    .glow-ball-4 { width: 80px; height: 80px; right: 15%; }
    .glow-ball-5 { width: 55px; height: 55px; right: 60%; }
}

@media (max-width: 768px) {
    .glow-ball {
        filter: blur(1.5px) !important;
    }

    .glow-ball-1 { width: 50px; height: 50px; right: 25%; top: 25%; }
    .glow-ball-2 { width: 70px; height: 70px; right: 35%; top: 65%; }
    .glow-ball-3 { width: 40px; height: 40px; right: 50%; top: 40%; }
    .glow-ball-4 { width: 60px; height: 60px; right: 20%; top: 70%; }
    .glow-ball-5 { width: 45px; height: 45px; right: 65%; top: 50%; }
}

@media (max-width: 640px) {
    .glow-ball {
        filter: blur(2px) !important;
        opacity: 0.39 !important;
    }

    .glow-ball-1 { width: 40px; height: 40px; right: 30%; }
    .glow-ball-2 { width: 55px; height: 55px; right: 40%; }
    .glow-ball-3 { width: 35px; height: 35px; right: 55%; }
    .glow-ball-4 { width: 50px; height: 50px; right: 25%; }
    .glow-ball-5 { width: 38px; height: 38px; right: 70%; }
}

/* Process Glow Balls - 2x Larger than Hero Glow Balls */
.process-glow-ball {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.59) 0%, rgba(212, 175, 55, 0.39) 30%, rgba(212, 175, 55, 0.20) 60%, rgba(212, 175, 55, 0) 100%);
    box-shadow:
        0 0 120px rgba(212, 175, 55, 0.52),
        0 0 200px rgba(212, 175, 55, 0.39),
        0 0 300px rgba(212, 175, 55, 0.26),
        inset 0 0 60px rgba(212, 175, 55, 0.52);
    z-index: -1;
    pointer-events: none;
}

/* Individual Process Glow Balls with Different Sizes, Positions, and Animations */
.process-glow-ball-1 {
    width: 224px;
    height: 224px;
    top: 0%;
    left: 5%;
    animation: process-flash-glow-1 4s ease-in-out infinite;
}

.process-glow-ball-2 {
    width: 336px;
    height: 336px;
    top: 30%;
    left: 15%;
    animation: process-flash-glow-2 5s ease-in-out infinite 0.6s;
}

.process-glow-ball-3 {
    width: 168px;
    height: 168px;
    top: 0%;
    left: 35%;
    animation: process-flash-glow-3 4.5s ease-in-out infinite 1.2s;
}

.process-glow-ball-4 {
    width: 280px;
    height: 280px;
    top: 50%;
    left: 8%;
    animation: process-flash-glow-4 5.5s ease-in-out infinite 1.8s;
}

.process-glow-ball-5 {
    width: 196px;
    height: 196px;
    top: 10%;
    right: 12%;
    animation: process-flash-glow-5 4.8s ease-in-out infinite 2.4s;
}

.process-glow-ball-6 {
    width: 252px;
    height: 252px;
    top: 40%;
    right: 25%;
    animation: process-flash-glow-6 5.2s ease-in-out infinite 3s;
}

.process-glow-ball-7 {
    width: 224px;
    height: 224px;
    top: 0%;
    right: 40%;
    animation: process-flash-glow-7 4.6s ease-in-out infinite 0.3s;
}

.process-glow-ball-8 {
    width: 308px;
    height: 308px;
    top: 55%;
    right: 5%;
    animation: process-flash-glow-8 5.8s ease-in-out infinite 1.5s;
}

/* Process Flashing Animations - Similar but Different Timing */
@keyframes process-flash-glow-1 {
    0%, 100% {
        opacity: 0.20;
        transform: scale(0.8);
        filter: blur(3px);
    }
    50% {
        opacity: 0.65;
        transform: scale(1.3);
        filter: blur(0px);
    }
}

@keyframes process-flash-glow-2 {
    0%, 100% {
        opacity: 0.13;
        transform: scale(0.7);
        filter: blur(4px);
    }
    25% {
        opacity: 0.52;
        transform: scale(1.2);
        filter: blur(1px);
    }
    75% {
        opacity: 0.65;
        transform: scale(1.4);
        filter: blur(0px);
    }
}

@keyframes process-flash-glow-3 {
    0%, 100% {
        opacity: 0.26;
        transform: scale(0.9);
        filter: blur(2px);
    }
    33% {
        opacity: 0.65;
        transform: scale(1.25);
        filter: blur(0px);
    }
    66% {
        opacity: 0.39;
        transform: scale(1.1);
        filter: blur(1px);
    }
}

@keyframes process-flash-glow-4 {
    0%, 100% {
        opacity: 0.13;
        transform: scale(0.6);
        filter: blur(3.5px);
    }
    40% {
        opacity: 0.59;
        transform: scale(1.35);
        filter: blur(0.5px);
    }
    80% {
        opacity: 0.65;
        transform: scale(1.5);
        filter: blur(0px);
    }
}

@keyframes process-flash-glow-5 {
    0%, 100% {
        opacity: 0.20;
        transform: scale(0.8);
        filter: blur(3px);
    }
    30% {
        opacity: 0.65;
        transform: scale(1.3);
        filter: blur(0px);
    }
    70% {
        opacity: 0.33;
        transform: scale(1.1);
        filter: blur(2px);
    }
}

@keyframes process-flash-glow-6 {
    0%, 100% {
        opacity: 0.15;
        transform: scale(0.75);
        filter: blur(2.5px);
    }
    35% {
        opacity: 0.58;
        transform: scale(1.28);
        filter: blur(0.8px);
    }
    65% {
        opacity: 0.65;
        transform: scale(1.32);
        filter: blur(0.3px);
    }
}

@keyframes process-flash-glow-7 {
    0%, 100% {
        opacity: 0.22;
        transform: scale(0.85);
        filter: blur(2.8px);
    }
    45% {
        opacity: 0.62;
        transform: scale(1.22);
        filter: blur(0.6px);
    }
    75% {
        opacity: 0.65;
        transform: scale(1.18);
        filter: blur(0.4px);
    }
}

@keyframes process-flash-glow-8 {
    0%, 100% {
        opacity: 0.18;
        transform: scale(0.7);
        filter: blur(3.2px);
    }
    20% {
        opacity: 0.55;
        transform: scale(1.25);
        filter: blur(0.7px);
    }
    60% {
        opacity: 0.68;
        transform: scale(1.35);
        filter: blur(0.2px);
    }
}

/* Responsive adjustments for process glow balls */
@media (max-width: 1024px) {
    .process-glow-ball {
        filter: blur(1.5px) !important;
    }

    .process-glow-ball-1 { width: 168px; height: 168px; left: 8%; }
    .process-glow-ball-2 { width: 252px; height: 252px; left: 18%; }
    .process-glow-ball-3 { width: 126px; height: 126px; left: 38%; }
    .process-glow-ball-4 { width: 210px; height: 210px; left: 10%; }
    .process-glow-ball-5 { width: 147px; height: 147px; right: 15%; }
    .process-glow-ball-6 { width: 189px; height: 189px; right: 28%; }
    .process-glow-ball-7 { width: 168px; height: 168px; right: 43%; }
    .process-glow-ball-8 { width: 231px; height: 231px; right: 8%; }
}

@media (max-width: 768px) {
    .process-glow-ball {
        filter: blur(2px) !important;
    }

    .process-glow-ball-1 { width: 140px; height: 140px; left: 12%; top: 0%; }
    .process-glow-ball-2 { width: 196px; height: 196px; left: 22%; top: 35%; }
    .process-glow-ball-3 { width: 112px; height: 112px; left: 42%; top: 0%; }
    .process-glow-ball-4 { width: 168px; height: 168px; left: 15%; top: 45%; }
    .process-glow-ball-5 { width: 126px; height: 126px; right: 18%; top: 15%; }
    .process-glow-ball-6 { width: 154px; height: 154px; right: 30%; top: 38%; }
    .process-glow-ball-7 { width: 140px; height: 140px; right: 45%; top: 0%; }
    .process-glow-ball-8 { width: 182px; height: 182px; right: 10%; top: 50%; }
}

@media (max-width: 640px) {
    .process-glow-ball {
        filter: blur(2.5px) !important;
        opacity: 0.35 !important;
    }

    .process-glow-ball-1 { width: 112px; height: 112px; left: 15%; }
    .process-glow-ball-2 { width: 154px; height: 154px; left: 25%; }
    .process-glow-ball-3 { width: 98px; height: 98px; left: 45%; }
    .process-glow-ball-4 { width: 140px; height: 140px; left: 18%; }
    .process-glow-ball-5 { width: 105px; height: 105px; right: 20%; }
    .process-glow-ball-6 { width: 126px; height: 126px; right: 32%; }
    .process-glow-ball-7 { width: 112px; height: 112px; right: 48%; }
    .process-glow-ball-8 { width: 140px; height: 140px; right: 12%; }
}