:root {
    --primary-color: #4680ff;
    --primary-hover: #3c6dd9;
    --primary-dark: #2a5cc7;
    --accent-color: #ff6b6b;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #0a0e27;
    --light-color: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

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

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

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.bg-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shadow-glow {
    box-shadow: 0 0 30px rgba(70, 128, 255, 0.3);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.display-1 { font-size: 4.5rem; font-weight: 800; }
.display-2 { font-size: 3.5rem; font-weight: 700; }
.display-3 { font-size: 2.8rem; font-weight: 700; }

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    padding: 1rem 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    border-bottom: 1px solid rgba(70, 128, 255, 0.2);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(70, 128, 255, 0.5);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #667eea);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(70, 128, 255, 0.5);
}

/* Button Styles */
.btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
}

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

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.btn-outline-primary {
    color: var(--light-color);
    border: 2px solid rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: var(--light-color);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: var(--dark-color);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(70, 128, 255, 0.3) 0%, transparent 50%);
    z-index: 0;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(70, 128, 255, 0.4) 0%, transparent 70%);
    filter: blur(40px);
    animation: floatOrb 15s ease-in-out infinite;
    z-index: 0;
}

.orb-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    right: 10%;
    background: radial-gradient(circle, rgba(255, 119, 198, 0.4) 0%, transparent 70%);
    animation-delay: 5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 60%;
    background: radial-gradient(circle, rgba(120, 119, 198, 0.4) 0%, transparent 70%);
    animation-delay: 10s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(50px, 20px) scale(1.05);
    }
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(70, 128, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 128, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    animation: fadeInUp 1s ease;
    text-shadow: 0 0 40px rgba(70, 128, 255, 0.5);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s ease;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    animation: fadeInUp 1.4s ease;
    margin-bottom: 3rem;
}

/* Resources Ecosystem - EXATAMENTE IGUAL AO ORIGINAL HTML */
.resources-ecosystem {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Central Hub */
.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 20px 60px rgba(70, 128, 255, 0.4), 
                inset 0 -10px 30px rgba(0, 0, 0, 0.1);
    animation: pulse 3s ease-in-out infinite;
}

.central-hub::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border: 2px solid rgba(70, 128, 255, 0.2);
    border-radius: 50%;
    animation: expandRing 3s ease-in-out infinite;
}

.central-hub::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(70, 128, 255, 0.1);
    border-radius: 50%;
    animation: expandRing 3s ease-in-out infinite 0.5s;
}

.central-hub-content {
    text-align: center;
    color: var(--light-color);
    z-index: 1;
}

.central-hub-content i {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.central-hub-content span {
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

/* Resource Nodes */
.resource-node {
    position: absolute;
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(70, 128, 255, 0.2);
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.25);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 6s ease-in-out infinite;
    z-index: 5;
}

.resource-node:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(70, 128, 255, 0.4);
    background: rgba(255, 255, 255, 1);
    z-index: 6;
}

.resource-node i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.resource-node span {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    color: var(--dark-color);
}

/* Position resource nodes in a circle - EXATAMENTE IGUAL AO ORIGINAL */
.resource-node:nth-child(1) { 
    top: 0%; 
    left: 50%; 
    transform: translateX(-50%);
    animation-delay: 0s; 
}

.resource-node:nth-child(2) { 
    top: 10%; 
    left: 0%; 
    animation-delay: 0.3s;
}

.resource-node:nth-child(3) { 
    top: 35%; 
    left: 15%; 
    animation-delay: 0.6s; 
}

.resource-node:nth-child(4) { 
    bottom: 15%; 
    left: 15%;
    animation-delay: 0.9s; 
}

.resource-node:nth-child(5) { 
    bottom: 10%; 
    left: 45%; 
    animation-delay: 1.2s; 
}

.resource-node:nth-child(6) { 
    bottom: 15%; 
    right: 15%; 
    animation-delay: 1.5s; 
}

.resource-node:nth-child(7) { 
    top: 35%; 
    right: 15%; 
    animation-delay: 1.8s;
}

.resource-node:nth-child(8) { 
    top: 10%; 
    right: 0%; 
    animation-delay: 2.1s;
}

.resource-node:nth-child(9) { 
    top: 5%; 
    right: 45%;
    animation-delay: 1.8s;
}

/* SVG Connection Lines */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-path {
    stroke: url(#gradient-path);
    stroke-width: 2;
    fill: none;
    opacity: 0.3;
    stroke-dasharray: 8, 12;
    animation: dashAnimation 30s linear infinite;
}

@keyframes dashAnimation {
    to {
        stroke-dashoffset: -200;
    }
}

/* Flow Particles */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--primary-color) 0%, var(--primary-hover) 50%, transparent 70%);
    border-radius: 50%;
    box-shadow: 
        0 0 15px var(--primary-color),
        0 0 30px rgba(70, 128, 255, 0.5),
        inset 0 0 3px rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 3;
}

.particle::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: radial-gradient(circle, rgba(70, 128, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 1s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

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

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

@keyframes expandRing {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-8px);
    }
    75% {
        transform: translateY(8px);
    }
}

/* Special float for node 1 que tem translateX(-50%) */
.resource-node:nth-child(1) {
    animation: floatWithTranslate 6s ease-in-out infinite;
}

@keyframes floatWithTranslate {
    0%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    25% {
        transform: translateY(-8px) translateX(-50%);
    }
    75% {
        transform: translateY(8px) translateX(-50%);
    }
}

/* Cards and Content Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: linear-gradient(180deg, var(--dark-color) 0%, #1a1f3a 100%);
}

.section-light {
    background: linear-gradient(180deg, #f8f9fa 0%, var(--light-color) 100%);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.feature-card,
.pricing-card,
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before,
.pricing-card::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::before,
.pricing-card:hover::before,
.testimonial-card:hover::before {
    opacity: 1;
}

.feature-card:hover,
.pricing-card:hover,
.testimonial-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--light-color);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.feature-card:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: rotateGradient 20s linear infinite;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Forms */
.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(70, 128, 255, 0.25);
    color: var(--light-color);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Other Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .feature-card,
    .pricing-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .resources-ecosystem {
        height: 500px;
    }
    
    .resource-node {
        width: 90px;
        height: 90px;
    }
    
    .resource-node i {
        font-size: 1.8rem;
    }
    
    .central-hub {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
    }
    
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .feature-card,
    .pricing-card,
    .testimonial-card {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .resources-ecosystem {
        height: 450px;
    }
    
    .resource-node {
        width: 75px;
        height: 75px;
    }
    
    .resource-node span {
        font-size: 0.7rem;
    }
    
    .resource-node i {
        font-size: 1.5rem;
    }
    
    .central-hub {
        width: 120px;
        height: 120px;
    }
    
    .central-hub-content i {
        font-size: 2.5rem;
    }
    
    .central-hub-content span {
        font-size: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gradient {
        -webkit-text-fill-color: var(--light-color);
    }
    
    .bg-glass {
        background: rgba(255, 255, 255, 0.9);
        color: var(--dark-color);
    }
}