.dna-card.innovation,
.dna-card.innovation .card-front {
    background: rgba(255,255,255,0.08) !important;
    background-image: none !important;
}
:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --secondary-color: #7c3aed;
    --accent-color: #ec4899;
    --tertiary-color: #06b6d4;
    --dark-color: #0f0f23;
    --light-color: #ffffff;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-color) 0%, var(--tertiary-color) 100%);
    --gradient-hero: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    --gradient-text: linear-gradient(135deg, #00d4ff 0%, #00bfff 50%, #0080c7 100%);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--light-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-600);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

.nav-logo-icon:hover {
    transform: scale(1.1) rotate(5deg);
    animation-play-state: paused;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/* Ticker (texto rolante) */
.has-ticker {
    padding-top: 34px;
}

.ticker-bar {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: 34px;
    display: flex;
    align-items: center;
    background: rgba(15, 15, 35, 0.9);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    z-index: 999;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 22s linear infinite;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    white-space: nowrap;
    padding: 0 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.ticker-sep {
    opacity: 0.6;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
        transform: translateX(0);
    }
}

/* Navigation Dropdown */
.nav-item.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.8em;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
    color: var(--gray-700);
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 180px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-item.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-link:hover {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
}

.dropdown-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.dropdown-link:hover::after {
    transform: scaleX(1);
}

.dropdown-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #1a1a2e;
    overflow: hidden;
    z-index: 1;
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.theme-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('Theme_colour.png'),
        url('Theme_colour.png'),
        url('Theme_colour.png'),
        linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px) brightness(0.8) saturate(1.1);
    opacity: 0.9;
    z-index: 1;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.theme-image-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%);
    z-index: 2;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.shape {
    position: absolute;
    border-radius: 0;
    animation: toastFloatSmooth 8s ease-in-out infinite;
    background-image: 
        url('Toast_4K_icon.png'),
        url('Toast_4K_icon.png'),
        url('Toast_4K_icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
}

.shape:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: -2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: -1s;
}

.shape-5 {
    width: 70px;
    height: 70px;
    top: 40%;
    left: 50%;
    animation-delay: -3s;
}

.shape-6 {
    width: 90px;
    height: 90px;
    top: 70%;
    right: 20%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    50% { transform: translateY(-20px) rotate(5deg) scale(1.1); }
}

@keyframes toastFloatSmooth {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) rotate(3deg) scale(1.05);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-35px) rotate(-2deg) scale(0.95);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-15px) rotate(4deg) scale(1.1);
        opacity: 0.65;
    }
}

@keyframes toastFloatNoRotation {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 4;
    position: relative;
    animation: heroContentSlideUp 1.2s ease-out 0.3s both;
}

@keyframes heroContentSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 20px rgba(79, 70, 229, 0.3);
    }
    50% {
        text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 30px rgba(79, 70, 229, 0.5);
    }
}

@keyframes titleAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    50% {
        transform: translateY(-5px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hero title animation control */
.hero-title .animate-text,
.hero-title .company-name,
.hero-title .question-mark {
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: subtitleFadeIn 1.5s ease-out 0.6s both;
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: buttonsSlideIn 1.2s ease-out 1s both;
}

@keyframes buttonsSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.scroll-indicator {
    position: absolute;
    bottom: clamp(1rem, env(safe-area-inset-bottom, 0px) + 1rem, 2rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    z-index: 4;
    animation: scrollIndicatorBounce 2s ease-in-out infinite;
}

@keyframes scrollIndicatorBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Ensure scroll indicator stays centered within hero sections */
.contact-hero .scroll-indicator {
    left: 50%;
    right: auto;
}

/* Mobile adjustments to prevent overlap and ensure safe spacing */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
        font-size: 0.85rem;
        gap: 0.75rem;
    }
    .scroll-indicator .mouse {
        transform: translateZ(0); /* create own layer, avoid transform stacking issues */
    }
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    animation: scroll 2s infinite, scrollArrowGlow 3s ease-in-out infinite;
}

@keyframes scrollArrowGlow {
    0%, 100% {
        background: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% {
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    }
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.8);
    }
    50% {
        border-color: rgba(255, 255, 255, 1);
    }
}

@keyframes scroll {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Innovation Section */
.innovation {
    padding: 8rem 0;
    background: linear-gradient(135deg, #2d1b69 0%, #8b5a96 50%, #c3317b 100%);
    color: white;
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    z-index: 5;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.innovation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: innovationPulse 4s ease-in-out infinite;
}

@keyframes innovationPulse {
    0%, 100% {
        background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
        opacity: 1;
    }
    50% {
        background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 80%);
        opacity: 0.8;
    }
}

.innovation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    animation: innovationContentFloat 6s ease-in-out infinite;
}

@keyframes innovationContentFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.innovation-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
    min-height: auto;
    animation: innovationLeftSlide 2s ease-out;
}

@keyframes innovationLeftSlide {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.innovation-text {
    margin-bottom: 0;
    height: auto;
    min-height: auto;
    animation: innovationTextGlow 3s ease-in-out infinite;
}

@keyframes innovationTextGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }
}

.innovation-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 2rem;
    color: white;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(-100px) scale(0.8);
    filter: blur(5px);
}

.innovation-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    max-width: 400px;
    opacity: 0;
    transform: translateY(-100px) scale(0.8);
    filter: blur(5px);
}

.toast-icon-container {
    align-self: center;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 250px;
}

.toast-icon {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
    animation: toastFloatNoRotation 4s ease-in-out infinite;
    opacity: 0;
    transform: translateY(-100px) scale(0.8);
    filter: blur(5px) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.innovation-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: innovationRightSlide 2s ease-out 0.3s both;
}

@keyframes innovationRightSlide {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.spe-logo-large {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    width: 100%;
    animation: speLogoPulse 4s ease-in-out infinite;
}

@keyframes speLogoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.spe-image-large {
    width: auto;
    height: 240px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
    animation: speImageHover 3s ease-in-out infinite;
    opacity: 0;
    transform: translateY(-100px) scale(0.8);
    filter: blur(5px) drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
}

@keyframes speImageHover {
    0%, 100% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
    }
    50% {
        transform: translateY(-10px) scale(1.05);
        filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4));
    }
}

.spe-content {
    max-width: 600px;
    text-align: center;
}

.spe-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    opacity: 0;
    transform: translateY(-100px) scale(0.8);
    filter: blur(5px);
}

.spe-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(-100px) scale(0.8);
    filter: blur(5px);
}

.spe-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    text-align: justify;
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, var(--gray-100) 0%, rgba(79, 70, 229, 0.03) 100%);
    position: relative;
    z-index: 10;
}

/* Features */
/* Feature split (mock estilo exemplo) */
.feature-split { background: linear-gradient(135deg, var(--gray-100) 0%, rgba(99,102,241,0.06) 100%); }

.split-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.split-left { text-align: left; }
.split-title { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 1rem; }

.split-list { list-style: none; display: grid; gap: 0.6rem; margin-bottom: 1rem; }
.split-list li span { border-bottom: 3px solid rgba(0,0,0,0.85); font-weight: 700; color: var(--gray-900); }
.split-note { color: var(--gray-600); margin-top: 0.5rem; }

.split-right { position: relative; }
.tilt-mock { margin: 0; transform: perspective(1000px) rotateY(-8deg) rotateX(2deg); filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35)); transition: transform .3s ease; position: relative; padding: 6px; border-radius: 16px; }
.tilt-mock:hover { transform: perspective(1000px) rotateY(-4deg) rotateX(1deg) translateY(-4px); }
.mock-screen { width: 100%; border-radius: 10px; display: block; }

/* Borda gradiente para mocks */
.tilt-mock::after { content: ''; position: absolute; inset: -2px; border-radius: 18px; z-index: -1; background: linear-gradient(135deg, #ff80bf 0%, #9089fc 50%, #34d399 100%); box-shadow: 0 10px 40px rgba(0,0,0,0.25); }

.mock-dots { display: flex; gap: 10px; margin-top: 14px; justify-content: center; }
.mock-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300); border: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.mock-dots .dot:hover { transform: scale(1.1); }
.mock-dots .dot.active { background: #6366f1; }

@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-left { text-align: center; }
}

/* Ajustes de sombra para seções diagonais: evita sombra "esticada" pelo skew */
.section--diagonal .tilt-mock {
        /* reduz a inclinação e troca drop-shadow por box-shadow mais natural */
        transform: perspective(1000px) rotateY(-6deg) rotateX(1.5deg);
        filter: none;
        box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}
.section--diagonal .tilt-mock:hover { transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) translateY(-3px); }
.section--diagonal .tilt-mock::after { box-shadow: 0 8px 22px rgba(0,0,0,0.18); }

/* Menos movimento: mobile e preferência de movimento reduzido */
@media (max-width: 768px) {
    .carousel { animation: none !important; }
    .aura { opacity: 0.22; animation-duration: 28s; }
    .marquee-track { animation-duration: 32s; }
}

@media (prefers-reduced-motion: reduce) {
    .carousel, .aura, .marquee-track { animation: none !important; }
}

/* Diagonal section variation (seção inteira inclinada) */
.feature-split--diagonal {
    position: relative;
    overflow: hidden;
    /* Fundo aplicado na própria seção */
    background:
        linear-gradient(180deg, rgba(0,0,0,0.30), rgba(0,0,0,0.30)),
        url('Theme_colour.png') center/cover no-repeat;
    /* Inclina toda a seção para criar topo/rodapé diagonais */
    transform: skewY(-6deg);
    padding: 5rem 0; /* respiro extra para não cortar conteúdo após o skew */
    margin: 4rem 0;
}
/* Desativa o plano inclinado antigo baseado em ::before */
.feature-split--diagonal::before { display: none !important; }
/* Compensa a inclinação visual no conteúdo */
.feature-split--diagonal .container { position: relative; z-index: 1; transform: skewY(6deg); }
.feature-split.flip .split-grid { grid-template-columns: 1fr 1.1fr; }
.tilt-mock--large { transform: perspective(1100px) rotateY(10deg) rotateX(1deg) scale(1.02); }
.tilt-mock--large:hover { transform: perspective(1100px) rotateY(6deg) rotateX(0.5deg) scale(1.04) translateY(-4px); }
/* Cores do conteúdo quando a seção diagonal está ativa */
.feature-split--diagonal .split-title { color: #fff; }
.feature-split--diagonal .split-paragraphs p { color: #fff; opacity: 0.95; margin: 0.4rem 0; font-weight: 600; }
.feature-split--diagonal .split-paragraphs p span { border-bottom: 3px solid #fff; }
/* Links visíveis sobre o gradiente escurecido */
.feature-split--diagonal .split-paragraphs a { color: #fff; text-decoration: underline; font-weight: 700; }

@media (max-width: 900px) {
    /* Reduz a inclinação em telas pequenas para melhor leitura */
    .feature-split--diagonal { transform: skewY(-4deg); padding: 4rem 0; }
    .feature-split--diagonal .container { transform: skewY(4deg); }
    .feature-split.flip .split-grid { grid-template-columns: 1fr; }
}

/* Feature blocks (duas variações) */
.feature-block { padding: 4.5rem 0; }
.feature-block--white { background: #fff; }
.feature-block--theme {
    background:
        linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
        url('Theme_colour.png') center/cover no-repeat;
}
.block-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; }
.block-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .75rem; }
.block-text p { color: var(--gray-600); margin-bottom: .75rem; }
.block-list { list-style: none; display: grid; gap: .35rem; }
.block-list li { position: relative; padding-left: 1rem; color: var(--gray-700); }
.block-list li::before { content: '•'; position: absolute; left: 0; color: var(--primary-color); }

/* Invert text for theme block */
.block-title--invert { color: #fff; }
.block-text .invert, .block-list.invert { color: rgba(255,255,255,0.92); }
.block-list.invert li { color: rgba(255,255,255,0.92); }
.block-list.invert li::before { color: #fff; }

@media (max-width: 900px) {
    .block-grid { grid-template-columns: 1fr; text-align: center; }
    .block-list { justify-items: center; }
}

/* Versions */
.versions {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.85) 0%, rgba(241, 245, 249, 0.95) 100%);
}

.versions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.version-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.25rem;
    background: #fff;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.version-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.version-media {
    display: grid;
    place-items: center;
}

.version-media img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.version-body h3 { margin-bottom: 0.25rem; }
.version-body p { margin-bottom: 0.5rem; }

.version-body ul {
    list-style: none;
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.version-body li { position: relative; padding-left: 1.1rem; color: var(--gray-600); }
.version-body li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-color); }

.version-cta {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
}

/* Screenshots */
.screenshots { background: #fff; }
.screenshot-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.shot {
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.shot:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(0,0,0,0.12); }
.shot img { width: 100%; height: 180px; object-fit: cover; display: block; }

/* Requirements */
.requirements {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
}

.requirements-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.req-card { background: #fff; border-radius: 14px; padding: 1.25rem; box-shadow: var(--shadow-md); }
.req-card h4 { margin-bottom: 0.35rem; }

/* CTA variation */
.final-cta.light { background: linear-gradient(135deg, rgba(79,70,229,0.06) 0%, rgba(6,182,212,0.06) 100%); }

/* Utilitário: tornar qualquer seção diagonal mantendo conteúdo reto */
.section--diagonal {
        position: relative;
        overflow: hidden;
        transform: skewY(-6deg);
        padding: 5rem 0;
        margin: 4rem 0;
}
.section--diagonal > .container { position: relative; z-index: 1; transform: skewY(6deg); }

@media (max-width: 900px) {
    .section--diagonal { transform: skewY(-4deg); padding: 4rem 0; }
    .section--diagonal > .container { transform: skewY(4deg); }
}

@media (max-width: 768px) {
    .version-card { grid-template-columns: 1fr; text-align: center; }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
    display: block; /* permite que o card como <a> ocupe toda a área */
    text-decoration: none; /* remove sublinhado de links */
    color: inherit; /* evita cor padrão de link */
}

.service-card::after {
    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.2s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.service-card:nth-child(2)::before {
    background: var(--gradient-secondary);
}

.service-card:nth-child(3)::before {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--primary-color) 100%);
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg) scale(1.02);
    box-shadow: 
        var(--shadow-xl),
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(79, 70, 229, 0.1);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::after {
    left: 100%;
}

/* Assegura que estados de link não alterem estilo do card */
.service-card:link,
.service-card:visited,
.service-card:hover,
.service-card:active {
    text-decoration: none;
    color: inherit;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.service-card:nth-child(2) .service-icon {
    background: var(--gradient-secondary);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--primary-color) 100%);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-icon-image {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-card p {
    margin-bottom: 1.5rem;
}

/* GreenToast Learn: busca, chips e meta */
.learn-search { display: grid; gap: .75rem; max-width: 720px; }
.learn-search-input {
    width: 100%;
    padding: .9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    color: #fff;
    outline: none;
}
.learn-search-input::placeholder { color: rgba(255,255,255,0.75); }
.learn-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    padding: .45rem .75rem;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.chip:hover { transform: translateY(-2px); }
.chip.active { background: var(--gradient-primary); border-color: transparent; }

.learn-meta { list-style: none; display: grid; gap: .35rem; color: var(--gray-600); }
.learn-meta li { font-size: .95rem; }

.quick-link {
    display: inline-block;
    padding: .75rem 1rem;
    border-radius: 12px;
    background: #fff;
    color: var(--gray-800);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}
.quick-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-description {
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tech-item {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-primary);
    color: white;
}

.tech-item:nth-child(even):hover {
    background: var(--gradient-secondary);
}

.tech-item:nth-child(3n):hover {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--accent-color) 100%);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--gray-100) 0%, rgba(236, 72, 153, 0.03) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

/* Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: transparent;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--gray-400);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: white;
    padding: 0 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a2e 100%);
    color: var(--gray-300);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-700);
}

.footer-brand .logo-text {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu .nav-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu .account-link {
        display: inline-flex !important;
        width: auto;
        max-width: 100%;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .innovation-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .innovation-left {
        min-height: auto;
        align-items: center;
        text-align: center;
    }

    .innovation-text {
        margin-bottom: 2rem;
    }

    .innovation-description {
        max-width: none;
        text-align: center;
    }

    .toast-icon-container {
        min-height: 200px;
        margin-top: 0;
        padding-top: 0;
    }

    .toast-icon {
        width: 250px;
        height: 250px;
    }

    .innovation-right {
        align-items: center;
        text-align: center;
    }

    .spe-logo-large {
        justify-content: center;
        padding-right: 0;
    }

    .spe-image-large {
        height: 150px;
    }

    .spe-content {
        text-align: center;
        max-width: none;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .tech-stack {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-color) 100%);
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* About Page Styles */
.about-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 6rem; /* mais espaço para indicador */
    overflow: hidden;
}

/* About page specific background settings */
.about-hero .theme-image-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: 
        url('Theme_colour2.png'),
        url('Theme_colour2.png'),
        url('Theme_colour2.png'),
        linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    filter: blur(6px) brightness(0.8) saturate(1.3) !important;
    opacity: 0.9 !important;
    z-index: 1 !important;
    animation: slowZoom 20s ease-in-out infinite alternate !important;
}

.about-hero .theme-image-bg::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%) !important;
    z-index: 2 !important;
}

/* Particles Animation */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 40%; left: 20%; animation-delay: 2s; }
.particle:nth-child(4) { top: 60%; left: 90%; animation-delay: 3s; }
.particle:nth-child(5) { top: 80%; left: 30%; animation-delay: 4s; }
.particle:nth-child(6) { top: 30%; left: 70%; animation-delay: 5s; }
.particle:nth-child(7) { top: 70%; left: 50%; animation-delay: 2.5s; }
.particle:nth-child(8) { top: 50%; left: 10%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Hero Badge */
.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
}

/* Enhanced Hero Title */
.about-hero .hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.1;
}

.animate-text {
    display: inline-block;
    animation: slideInLeft 1s ease-out;
}

.company-name {
    display: block;
    font-size: 3.5rem;
    margin: 0.5rem 0;
    position: relative;
}

.question-mark {
    color: var(--accent-color);
    font-size: 4rem;
    animation: bounce 2s infinite;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--text-primary);
}

.glitch:before,
.glitch:after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch:before {
    animation: glitch-1 0.5s infinite;
    color: #ff00ff;
    z-index: -1;
}

.glitch:after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% { transform: translate(0); }
    15%, 49% { transform: translate(-2px, -1px); }
}

@keyframes glitch-2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% { transform: translate(0); }
    21%, 62% { transform: translate(2px, 1px); }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Scroll Indicator */
.about-hero .scroll-indicator {
    position: absolute;
    bottom: clamp(1rem, env(safe-area-inset-bottom, 0px) + 1rem, 2rem);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
    margin: 0 auto 1rem;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* Company DNA Section */
.company-dna {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.company-dna::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(79, 70, 229, 0.1) 50%, transparent 100%);
    pointer-events: none;
}

.dna-header {
    text-align: center;
    margin-bottom: 4rem;
}

.dna-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    perspective: 1000px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dna-card {
    width: 340px;
    height: 340px;
    min-width: 340px;
    min-height: 340px;
    max-width: 340px;
    max-height: 340px;
    position: relative;
    cursor: pointer;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-card .card-front, .dna-card .card-back {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.dna-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.dna-card .card-front {
    background: rgba(255, 255, 255, 0.08) !important;
    background-image: none !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    transition: background 0.3s;
}

/* Remove qualquer fundo especial do card Innovation */
.dna-card.innovation .card-front {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.card-back {
    background: var(--gradient-primary);
    transform: rotateY(180deg);
    color: white;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.3);
}

.card-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
    transition: transform 0.3s ease;
}

.dna-card:hover .card-icon {
    transform: scale(1.05);
}

.card-icon svg {
    width: 45px;
    height: 45px;
    color: white;
}

.dna-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-back h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.card-back ul {
    list-style: none;
    padding: 0;
}

.card-back li {
    margin: 0.5rem 0;
    padding-left: 1rem;
    position: relative;
}

.card-back li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.timeline-header {
    text-align: center;
    margin-bottom: 4rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin: 3rem 0;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
    position: relative;
    overflow: hidden;
}

.timeline-marker::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('Theme_colour.png'),
        url('Theme_colour.png'),
        url('Theme_colour.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.8) saturate(1.3);
    opacity: 0.3;
    z-index: -1;
}

.timeline-marker .year {
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding: 2rem;
    margin: 0 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('Theme_colour.png'),
        url('Theme_colour.png'),
        url('Theme_colour.png'),
        linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px) brightness(0.6) saturate(1.2);
    opacity: 0.15;
    z-index: -1;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: rgba(255, 255, 255, 0.1);
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Manifesto Section */
.manifesto-section {
    padding: 4rem 0;
    text-align: center;
}

.manifesto-content {
    max-width: 900px;
    margin: 0 auto;
}

.manifesto-logo {
    margin-bottom: 3rem;
}

.banner-logo {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.3));
}

.manifesto-title {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.manifesto-quote {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    position: relative;
}

.manifesto-quote::before {
    content: '"';
    font-size: 8rem;
    position: absolute;
    top: -2rem;
    left: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.manifesto-quote blockquote {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    font-weight: 300;
}

.manifesto-quote cite {
    font-size: 1rem;
    color: var(--text-secondary);
}

.manifesto-description {
    text-align: left;
    margin-top: 3rem;
}

.highlight-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.brand-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Skills Showcase */
.skills-showcase {
    padding: 4rem 0;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::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;
}

.skill-card:hover::before {
    left: 100%;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.skill-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skill-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease-in-out;
    animation: progressLoad 2s ease-in-out forwards;
}

.skill-percentage {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

@keyframes progressLoad {
    from { width: 0; }
    to { width: var(--progress-width, 0%); }
}

.skill-card[data-skill="95"] .progress-bar { --progress-width: 95%; }
.skill-card[data-skill="92"] .progress-bar { --progress-width: 92%; }
.skill-card[data-skill="88"] .progress-bar { --progress-width: 88%; }
.skill-card[data-skill="96"] .progress-bar { --progress-width: 96%; }

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, 
        rgba(79, 70, 229, 0.1) 0%, 
        rgba(124, 58, 237, 0.1) 25%, 
        rgba(236, 72, 153, 0.1) 50%, 
        rgba(6, 182, 212, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="90" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.final-cta .cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    box-shadow: 0 0 50px rgba(79, 70, 229, 0.3);
}

.cta-icon svg {
    width: 60px;
    height: 60px;
    color: white;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 50px rgba(79, 70, 229, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 80px rgba(79, 70, 229, 0.5); }
    100% { transform: scale(1); box-shadow: 0 0 50px rgba(79, 70, 229, 0.3); }
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.final-cta .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Animation Classes */
@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
    40%, 43% { transform: translateY(-20px); }
    70% { transform: translateY(-10px); }
    90% { transform: translateY(-4px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
    40%, 43% { transform: translateY(-20px); }
    70% { transform: translateY(-10px); }
    90% { transform: translateY(-4px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing Animation Effects */
.animate-text {
    display: inline-block;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-text:nth-child(1) { animation-delay: 0.2s; }
.animate-text:nth-child(2) { animation-delay: 0.4s; }
.animate-text:nth-child(3) { animation-delay: 0.6s; }
.animate-text:nth-child(4) { animation-delay: 0.8s; }

.company-name {
    display: block;
    font-size: 3.5rem;
    margin: 0.5rem 0;
    position: relative;
    opacity: 0;
    animation: slideInLeft 1s ease-out 1s forwards;
}

.question-mark {
    color: var(--accent-color);
    font-size: 4rem;
    opacity: 0;
    animation: bounce 2s infinite 1.5s, slideInLeft 0.5s ease-out 1.2s forwards;
}

.animate-fade {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.8s forwards;
}

/* Hero Title Initial State */
.hero-title .animate-text,
.hero-title .company-name,
.hero-title .question-mark {
    opacity: 0;
}

/* Glitch effect refinement */
.glitch {
    position: relative;
    color: var(--text-primary);
    opacity: 0;
    animation: slideInLeft 1s ease-out 1s forwards;
}

.glitch:before,
.glitch:after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch.active:before {
    animation: glitch-1 0.5s infinite;
    color: #ff00ff;
    z-index: -1;
    opacity: 0.8;
}

.glitch.active:after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
    opacity: 0.8;
}

/* Typing Animation Effects */
.animate-text {
    display: inline-block;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-text:nth-child(1) { animation-delay: 0.2s; }
.animate-text:nth-child(2) { animation-delay: 0.4s; }
.animate-text:nth-child(3) { animation-delay: 0.6s; }
.animate-text:nth-child(4) { animation-delay: 0.8s; }

.company-name {
    display: block;
    font-size: 3.5rem;
    margin: 0.5rem 0;
    position: relative;
    opacity: 0;
    animation: slideInLeft 1s ease-out 1s forwards;
}

.question-mark {
    color: var(--accent-color);
    font-size: 4rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.animate-fade {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.8s forwards;
}

/* Hero Title Initial State */
.hero-title .animate-text,
.hero-title .company-name,
.hero-title .question-mark {
    opacity: 0;
}

/* Glitch effect refinement */
.glitch {
    position: relative;
    color: var(--text-primary);
    opacity: 0;
    animation: slideInLeft 1s ease-out 1s forwards;
}

.glitch:before,
.glitch:after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch.active:before {
    animation: glitch-1 0.5s infinite;
    color: #ff00ff;
    z-index: -1;
    opacity: 0.8;
}

.glitch.active:after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
    opacity: 0.8;
}



/* Active navigation link */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

/* Responsive styles for about page */
@media (max-width: 768px) {
    .about-hero {
        min-height: 85vh;
        padding: 6rem 0 calc(env(safe-area-inset-bottom, 0px) + 4.5rem);
        flex-direction: column; /* empilha conteúdo e indicador */
        justify-content: flex-start;
    }
    
    .about-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .company-name {
        font-size: 2.2rem;
    }
    
    .question-mark {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    /* Indicador no fluxo em mobile (evita sobreposição e lado a lado) */
    .about-hero .scroll-indicator {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        animation: none;
        margin: 0.4rem auto 0;
        align-self: center;
        display: inline-flex;
    }
    
    .hero-stats .stat-item {
        padding: 1rem 1.5rem;
    }
    
    .banner-logo {
        max-width: 280px;
    }
    
    .manifesto-title {
        font-size: 2rem;
    }
    
    .manifesto-quote blockquote {
        font-size: 1.3rem;
    }
    
    .dna-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        max-width: 400px;
    }
    
    .dna-card {
        height: 280px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-marker {
        position: absolute;
        left: 0;
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .timeline-content {
        margin: 0 0 0 1rem;
    }
    
    .timeline-item .timeline-content::before {
        display: none;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-text {
        font-size: 1.1rem;
    }
    
    .particle {
        display: none;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .final-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-icon {
        width: 80px;
        height: 80px;
    }
    
    .cta-icon svg {
        width: 40px;
        height: 40px;
    }
}

/* Contact Page Styles */
.contact-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #1a1a2e;
    overflow: hidden;
    padding: 8rem 0 6rem; /* mais espaço para o indicador */
}

.contact-hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    z-index: 4;
    position: relative;
}

/* Contact page specific background settings */
.contact-hero .theme-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('Theme_colour.png'),
        url('Theme_colour.png'),
        url('Theme_colour.png'),
        linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px) brightness(0.8) saturate(1.1);
    opacity: 0.9;
    z-index: 1;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

.contact-hero .theme-image-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%);
    z-index: 2;
}

.contact-hero .hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: white;
    line-height: 1.1;
}

.contact-hero .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Separador do herói (linha/gradiente suave) */
.hero-separator {
    width: min(680px, 85%);
    height: 1px;
    margin: 1rem auto 0.25rem; /* reduz ligeiramente o espaçamento */
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 20%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.35) 80%, rgba(255,255,255,0) 100%);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
    position: relative;
    z-index: 4;
}

/* Contact Methods Section */
.contact-methods-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.9) 100%);
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-method-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-method-card::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;
}

.contact-method-card:hover::before {
    left: 100%;
}

.contact-method-card:hover {
    transform: translateY(-10px);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.method-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.contact-method-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.contact-method-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.method-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.method-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Contact Form Section */
.contact-form-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.contact-form-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    align-items: start;
}

.form-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-info p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 500;
}

.info-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.highlight-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #1e293b;
}

.highlight-item p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Enhanced Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.form-header p {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    color: #1e293b;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
}

.form-group select {
    z-index: 10;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.2);
    z-index: 20;
}

.form-group label {
    position: absolute;
    top: 1.2rem;
    left: 1rem;
    color: #64748b;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 0.5rem;
    font-weight: 500;
    z-index: 5;
}

.form-group.focused label,
.form-group.has-value label,
.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label {
    top: -0.8rem;
    left: 0.8rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
    padding: 0 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    z-index: 25;
}

.form-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.form-group.focused .form-highlight,
.form-group input:focus ~ .form-highlight,
.form-group textarea:focus ~ .form-highlight,
.form-group select:focus ~ .form-highlight {
    width: 100%;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.form-group.error label {
    color: #ef4444;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-top: 2px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    position: relative;
    top: 0;
    left: 0;
    background: transparent;
    padding: 0;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact Form Submit Button */
.contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.contact-form .btn .btn-icon {
    width: 20px;
    height: 20px;
    margin-left: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.9) 100%);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4rem;
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-item:hover {
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(79, 70, 229, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    color: white;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 2rem;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 85vh;
        padding: 6rem 0 calc(env(safe-area-inset-bottom, 0px) + 4.5rem);
        flex-direction: column; /* empilha conteúdo e indicador */
        justify-content: flex-start;
    }
    .contact-hero-content {
        padding-bottom: 0.75rem; /* respiro abaixo do conteúdo */
    }
    
    .contact-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Em mobile, o indicador entra no fluxo para evitar sobreposição e conflitos de transform */
    .contact-hero .scroll-indicator {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        animation: none;
        margin: 0.4rem auto 0; /* subir um pouco mais o indicador */
        align-self: center;
        display: inline-flex;
    }
    .hero-separator {
        width: min(520px, 88%);
        margin: 0.9rem auto 0.5rem; /* reduz espaço no mobile */
        opacity: 0.9;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .info-highlights {
        gap: 1.5rem;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .form-info h2 {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}

/* Apps Page Styles */
.apps-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #1a1a2e;
    overflow: hidden;
    z-index: 1;
    padding: 8rem 0 4rem;
}

.apps-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.apps-hero .theme-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('Theme_colour.png'),
        url('Theme_colour.png'),
        url('Theme_colour.png'),
        linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.8) saturate(1.2) contrast(1.1);
    opacity: 0.8;
}

.apps-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    z-index: 1;
}

.apps-hero .container {
    position: relative;
    z-index: 2;
}

.apps-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

/* Intro grid within hero (SPE intro) */
.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: center;
}
.intro-grid.solo { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }

.intro-text {
    text-align: left;
}

.intro-title {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    color: #fff;
    margin-bottom: 0.5rem;
}

.intro-lead {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.75rem;
}

.intro-dynamic {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1rem;
}

.intro-dynamic .static {
    opacity: 0.9;
}

.dynamic-text {
    font-weight: 700;
    margin-left: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #a3bffa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-dynamic .cursor {
    display: inline-block;
    margin-left: 2px;
    width: 8px;
    color: rgba(255,255,255,0.8);
    animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.intro-bullets {
    list-style: none;
    margin-top: 0.75rem;
}

.intro-bullets li {
    padding-left: 1.2rem;
    position: relative;
    color: rgba(255,255,255,0.85);
    margin: 0.3rem 0;
}

.intro-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #a5b4fc;
}

.intro-visual {
    display: grid;
    place-items: center;
    position: relative;
}

.carousel-3d {
    perspective: 1000px;
    width: min(520px, 86vw);
    height: min(320px, 60vw);
    margin-inline: auto;
}
.deck-showcase .spe-carousel-wrap { margin: 1rem 0 2rem; }

.aura {
    position: absolute;
    inset: -10% -10% -10% -10%;
    background: conic-gradient(from 0deg, #ff80bf, #9089fc, #34d399, #f59e0b, #ff80bf);
    filter: blur(50px) saturate(1.2);
    opacity: 0.35;
    z-index: 0;
    animation: spinAura 18s linear infinite;
    border-radius: 50%;
}

@keyframes spinAura { to { transform: rotate(360deg); } }

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCarousel 18s linear infinite;
}

.carousel:hover { animation-play-state: paused; }

@keyframes rotateCarousel { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

.carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    transform-origin: center center;
    transition: transform 0.6s ease;
}

.carousel-item img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,0.45));
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    padding: 12px;
    backdrop-filter: blur(4px);
}

/* Marquee */
.marquee-features { background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,0.9)); padding: 0.75rem 0; }
.marquee-mask { overflow: hidden; }
.marquee-track { display: inline-flex; gap: 2rem; white-space: nowrap; animation: marquee 20s linear infinite; will-change: transform; font-weight: 700; color: #111827; }
.marquee-track span { opacity: 0.85; }
.marquee-features:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Seção do carrossel fora do header */
.spe-carousel-section {
    background: linear-gradient(135deg, rgba(248,250,252,0.9) 0%, rgba(241,245,249,0.95) 100%);
    padding: 3rem 0 4rem;
    position: relative;
}
.spe-carousel-wrap { position: relative; display: grid; place-items: center; }

/* Intro-panel: diagonal estável sem distorcer conteúdo (clip-path) */
.intro-panel {
    /* Neutraliza a inclinação herdada e aplica plano estável */
    transform: none !important;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.30), rgba(0,0,0,0.30)),
        url('Theme_colour.png') center/cover no-repeat;
    padding: 4.5rem 0;
    margin: 3rem 0;
    position: relative;
    /* recorte diagonal nos bordos superior e inferior */
    clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
}
.intro-panel .container { transform: none !important; position: relative; z-index: 1; }
.intro-panel .split-title, .intro-panel .intro-title { color: #fff; }
.intro-panel .intro-lead, .intro-panel .intro-bullets li, .intro-panel .intro-dynamic { color: rgba(255,255,255,0.92); }
.intro-panel .intro-bullets li::before { color: #fff; }

/* Versão hero do painel de introdução */
.intro-panel--hero {
        min-height: 85vh;
        display: flex;
        align-items: center;
}
.intro-panel--hero .split-grid { align-items: center; }

@media (max-width: 768px) {
    .intro-panel--hero { min-height: 72vh; }
}

@media (max-width: 900px) {
  .intro-panel { clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%); padding: 3.5rem 0; }
}

/* Deck showcase (agora com carrossel 3D no lugar do deck) */
.deck-showcase { background: linear-gradient(135deg, rgba(248,250,252,0.9) 0%, rgba(241,245,249,1) 100%); }

@media (max-width: 900px) {
    .intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .intro-text { text-align: center; }
    .carousel-3d {
        height: min(300px, 70vw);
    }
    .carousel-item img {
        width: 110px;
        height: 110px;
    }
}

.apps-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.apps-hero .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .apps-hero {
        min-height: 80vh;
        padding: 6rem 0 3rem;
    }
    
    .apps-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .apps-hero .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 0.25rem;
}

/* Legal Section */
.legal-section {
    min-height: calc(100vh - 300px);
    padding: 8rem 0 4rem;
    background:
        radial-gradient(circle at 15% 20%, rgba(79, 70, 229, 0.2), transparent 35%),
        radial-gradient(circle at 85% 25%, rgba(6, 182, 212, 0.2), transparent 35%),
        linear-gradient(180deg, #0b1220 0%, #111a2e 100%);
}

.legal-content {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: var(--border-radius);
    padding: 3rem;
    max-width: 980px;
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(2, 8, 23, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.legal-content h1 {
    color: white;
    font-size: 2.45rem;
    margin-bottom: 0.75rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content .last-updated {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-content h2 {
    color: white;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(79, 70, 229, 0.6);
}

.legal-content p {
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-content ul {
    color: var(--gray-300);
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--tertiary-color);
    text-decoration: underline;
}

.legal-content strong {
    color: #e2e8f0;
}

/* Project news carousel */
.project-news {
    position: relative;
    padding: 5rem 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(79, 70, 229, 0.16), transparent 35%),
        radial-gradient(circle at 88% 70%, rgba(6, 182, 212, 0.12), transparent 40%),
        linear-gradient(160deg, #f8fafc 0%, #eef2ff 100%);
}

.project-news-carousel {
    position: relative;
    margin: 2rem auto 0;
    max-width: 900px;
    min-height: 260px;
    padding: 1.5rem 4.5rem 3.75rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.project-news-carousel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 212, 255, 0.08), rgba(236, 72, 153, 0.08));
    pointer-events: none;
}

.news-track {
    position: relative;
}

.news-slide {
    display: none;
    position: relative;
    z-index: 1;
    animation: fadeSlide 0.45s ease;
}

.news-slide.active {
    display: block;
}

.news-tag {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1e293b;
    background: rgba(148, 163, 184, 0.2);
}

.news-title {
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    line-height: 1.2;
    margin-bottom: 0.7rem;
    color: var(--gray-900);
}

.news-text {
    max-width: 70ch;
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary-dark);
    transition: var(--transition-fast);
}

.news-link::after {
    content: '->';
    transition: transform 0.2s ease;
}

.news-link:hover {
    color: var(--primary-color);
}

.news-link:hover::after {
    transform: translateX(3px);
}

.news-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    color: white;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    transition: var(--transition-fast);
}

.news-nav:hover {
    transform: translateY(-50%) scale(1.06);
}

.news-nav.prev {
    left: 1rem;
}

.news-nav.next {
    right: 1rem;
}

.news-dots {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    display: flex;
    gap: 0.6rem;
    transform: translateX(-50%);
    z-index: 2;
}

.news-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(100, 116, 139, 0.35);
    transition: var(--transition-fast);
}

.news-dot.active {
    width: 28px;
    border-radius: 999px;
    background: var(--primary-color);
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Footer Links */
@media (max-width: 768px) {
    .project-news {
        padding: 4rem 0;
    }

    .project-news-carousel {
        min-height: 300px;
        padding: 1.25rem 1.2rem 3.5rem;
        border-radius: 18px;
    }

    .news-nav {
        width: 34px;
        height: 34px;
        top: auto;
        bottom: 1.15rem;
        transform: none;
    }

    .news-nav:hover {
        transform: scale(1.04);
    }

    .news-nav.prev {
        left: 1rem;
    }

    .news-nav.next {
        right: 1rem;
    }

    .news-dots {
        bottom: 1.65rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 0.85rem;
    }

    .footer-section a {
        font-size: 0.85rem;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }

    .legal-content h1 {
        font-size: 1.8rem;
    }

    .legal-content h2 {
        font-size: 1.2rem;
    }

    .legal-content p,
    .legal-content li {
        font-size: 0.95rem;
    }
}
