/* Blu3r.com Custom Styles */

/* Reset e configurações globais */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f3a 50%, #2d1b69 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, #1a0d2e 0%, #16213e 30%, #0f1419 70%, #2d1b69 100%);
    overflow: hidden;
}

/* Synthwave Sun */
.hero-section::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #fff700 0%, #ff8c00 40%, #ff0080 80%, transparent 100%);
    border-radius: 50%;
    z-index: 1;
    animation: sunGlow 4s ease-in-out infinite alternate;
    box-shadow: 
        0 0 100px rgba(255, 247, 0, 0.4),
        0 0 200px rgba(255, 140, 0, 0.3),
        0 0 300px rgba(255, 0, 128, 0.2);
}

/* Sun horizontal lines */
.hero-section::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: repeating-linear-gradient(
        transparent,
        transparent 8px,
        rgba(45, 27, 105, 0.8) 8px,
        rgba(45, 27, 105, 0.8) 12px
    );
    border-radius: 50%;
    z-index: 2;
}

/* Wireframe Mountains */
.hero-section .mountains {
    position: absolute;
    bottom: 15%;
    left: 0;
    right: 0;
    height: 250px;
    z-index: 4;
    animation: mountainFloat 8s ease-in-out infinite;
    background: transparent;
}

.hero-section .mountains svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

/* Perspective Grid Floor */
.hero-section .grid-floor {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 95%;
    background: 
        linear-gradient(
            0deg,
            rgba(255, 0, 128, 0.6) 0%,
            rgba(255, 0, 128, 0.3) 20%,
            transparent 100%
        ),
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 0, 128, 0.3) 10%,
            transparent 100%
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(255, 0, 128, 0.6) 50px,
            rgba(255, 0, 128, 0.6) 52px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 25px,
            rgba(255, 0, 128, 0.4) 25px,
            rgba(255, 0, 128, 0.4) 27px
        );
    transform: perspective(50px) rotateX(82deg);
    transform-origin: bottom;
    z-index: 1;
    animation: gridPulse 6s ease-in-out infinite;
}

/* Stars */
.hero-section .stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: starsMove 20s linear infinite;
    z-index: 0;
}

.hero-content {
    z-index: 15;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #ff0080 0%, #00d4ff 50%, #fff700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    text-shadow: 0 0 50px rgba(255, 0, 128, 0.3);
    position: relative;
}

.hero-title::after {
    content: '|';
    animation: blink 1s infinite;
    color: #ff0080;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin: 0 0 2rem 0;
    color: #00d4ff;
    letter-spacing: 1px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.hero-badge {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #ff0080;
    border-radius: 50px;
    margin: 0 0 2rem 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 0, 128, 0.1);
}

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

.hero-badge:hover::before {
    left: 100%;
}

.hero-badge span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ff0080;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f3a 100%);
    position: relative;
}

.services-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin: 0 0 60px 0;
    color: #00d4ff;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(50px);
    cursor: pointer;
}

.service-card.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(45, 27, 105, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    transition: transform 0.3s ease;
}

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

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #00d4ff;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Partículas */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00d4ff;
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 1s ease-out forwards;
    z-index: 3;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sunGlow {
    0% {
        transform: translateX(-50%) scale(1);
        filter: brightness(1);
    }
    100% {
        transform: translateX(-50%) scale(1.05);
        filter: brightness(1.2);
    }
}

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

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.6;
        transform: perspective(250px) rotateX(52deg) translateY(0px);
    }
    50% {
        opacity: 1;
        transform: perspective(250px) rotateX(50deg) translateY(-2px);
    }
}

@keyframes starsMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-200px);
    }
}

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

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0);
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

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

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
        min-height: 80vh;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .services-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-badge {
        padding: 10px 20px;
        margin: 0 0 1.5rem 0;
    }
    
    .hero-badge span {
        font-size: 0.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Efeitos de glow e brilho */
.hero-title {
    animation: synthwaveGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle,
.services-title {
    animation: cyanGlow 2s ease-in-out infinite alternate;
}

@keyframes synthwaveGlow {
    from {
        text-shadow: 0 0 20px rgba(255, 0, 128, 0.3), 0 0 30px rgba(0, 212, 255, 0.2);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 0, 128, 0.5), 0 0 40px rgba(0, 212, 255, 0.3), 0 0 50px rgba(255, 247, 0, 0.2);
    }
}

@keyframes cyanGlow {
    from {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.3);
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: rgba(15, 20, 25, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00d4ff, #00a8cc);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #00a8cc, #0088aa);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f3a 50%, #2d1b69 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #0a0d11 0%, #1a1f3a 50%, #2d1b69 100%);
    padding: 60px 0 30px 0;
    margin-top: 100px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #ff0080 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #00d4ff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section ul li a:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #00d4ff, #ff0080);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

/* Terms of Use Page Styles */
.terms-section {
    min-height: 100vh;
    padding: 100px 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f3a 50%, #2d1b69 100%);
    position: relative;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 60px 50px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.terms-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 600;
    margin: 0 0 40px 0;
    text-align: center;
    background: linear-gradient(135deg, #ff0080 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.terms-intro {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(0, 212, 255, 0.1);
    border-left: 4px solid #00d4ff;
    border-radius: 0 10px 10px 0;
}

.terms-intro p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
    font-size: 1.1rem;
}

.terms-section-item {
    margin-bottom: 40px;
}

.terms-section-item h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.terms-section-item p,
.terms-section-item li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-section-item ul {
    padding-left: 20px;
    margin: 0;
}

.terms-section-item li {
    margin-bottom: 10px;
}

.terms-section-item a {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.terms-section-item a:hover {
    color: #ff0080;
    text-shadow: 0 0 10px rgba(255, 0, 128, 0.5);
}

.terms-section-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #00d4ff, #ff0080);
    transition: width 0.3s ease;
}

.terms-section-item a:hover::after {
    width: 100%;
}

.terms-back {
    margin-top: 50px;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 128, 0.2));
    border: 2px solid #00d4ff;
    border-radius: 50px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
    color: #fff;
    border-color: #ff0080;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        gap: 30px;
    }
    
    .terms-content {
        padding: 40px 30px;
        margin: 0 20px;
    }
    
    .terms-section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .terms-content {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .site-footer {
        padding: 40px 0 20px 0;
    }
}