@import url('components/forms.css');
@import url('components/faq.css');

/* ========== VARIÁVEIS ========== */
:root {
    /* Cores */
    --primary: #8a2be2;
    --primary-light: #9d4aff;
    --primary-dark: #6a1b9a;
    --secondary: #00bfff;
    --secondary-light: #40d8ff;
    --accent: #ff1493;
    --accent-light: #ff47a9;
    --dark: #121212;
    --darker: #0a0a0a;
    --dark-light: #1e1e1e;
    --light: #ffffff;
    --light-dark: #e0e0e0;
    --gray: #6c757d;
    
    /* Tipografia */
    --font-title: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    /* Espaçamentos */
    --container-width: 1200px;
    --section-padding: 5rem 0;
    
    /* Bordas */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Sombras */
    --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-neon: 0 0 10px var(--primary), 0 0 20px var(--primary);
    
    /* Transições */
    --transition: all 0.3s ease;
}
.lead-form, .neon-form {
  background: rgba(20, 20, 20, 0.95); /* Fallback para navegadores sem backdrop-filter */
}

@supports (backdrop-filter: blur(10px)) {
  .lead-form, .neon-form {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
  }
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--light);
    background-color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ========== LAYOUT ========== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-dark);
    max-width: 700px;
    margin: 0 auto;
}

.neon-text {
    color: var(--primary);
    text-shadow: var(--shadow-neon);
    animation: neon-flicker 1.5s infinite alternate;
}

@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 
            0 0 5px var(--primary),
            0 0 10px var(--primary),
            0 0 20px var(--primary),
            0 0 40px var(--accent);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* ========== COMPONENTES ========== */
/* Importar componentes */
@import url('components/buttons.css');
@import url('components/forms.css');
@import url('components/cards.css');
@import url('components/layout.css');
@import url('themes/neon.css');

/* ========== ANIMAÇÕES ========== */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* ========== HEADER ========== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(138, 43, 226, 0.1);
    transition: var(--transition);
}

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

.logo img {
    height: 40px;
    transition: var(--transition);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--light);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    width: 100%;
}

.header-cta .btn {
    padding: 0.75rem 1.5rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--light);
    margin: 5px 0;
    transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    background: linear-gradient(135deg, var(--darker), var(--dark));
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.hero-form {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid var(--primary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--secondary);
}

.form-header p {
    color: var(--light-dark);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    height: auto;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-down {
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

						/* css adicional */
						.styled-select {
							color: #333 !important;
						}
						.styled-select option {
							color: #333;
							background: #fff;
						}

/* ========== SERVIÇOS ========== */
.services-section {
    background-color: var(--darker);
}

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

.service-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

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

.service-card.highlighted {
    border-color: var(--accent);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-features {
    margin: 1.5rem 0;
}

.service-features li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ========== PORTFÓLIO ========== */
.portfolio-section {
    background-color: var(--dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 300px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    color: var(--light);
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: var(--light-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ========== HOSPEDAGEM ========== */
.hosting-section {
    background-color: var(--darker);
}

.hosting-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: var(--transition);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.plan-card.recommended {
    border-color: var(--accent);
    transform: scale(1.05);
}

.plan-card.recommended:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
}

.plan-header h3 {
    font-size: 1.5rem;
    color: var(--secondary);
}

.plan-price {
    margin-top: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--light);
}

.period {
    font-size: 1rem;
    color: var(--light-dark);
}

.plan-features {
    margin: 2rem 0;
}

.plan-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.plan-cta {
    text-align: center;
}

.hosting-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hosting-features .feature {
    text-align: center;
    padding: 1.5rem;
    background: rgba(138, 43, 226, 0.1);
    border-radius: var(--border-radius);
}

.hosting-features .feature img {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.hosting-features .feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ========== SOBRE ========== */
.about-section {
    background-color: var(--dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    max-width: 600px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-features .feature {
    text-align: center;
    padding: 1rem;
}

.number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.label {
    font-size: 0.9rem;
    color: var(--light-dark);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.technologies {
    margin-top: 3rem;
    text-align: center;
}

.technologies h3 {
    margin-bottom: 1.5rem;
    color: var(--light-dark);
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.tech-grid img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.tech-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
}

/* ========== DEPOIMENTOS ========== */
.testimonials-section {
    background-color: var(--darker);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background: rgba(30, 30, 30, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.client-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-quote p {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
}

.client-quote p::before,
.client-quote p::after {
    content: '"';
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 0;
}

.client-info h4 {
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.client-info span {
    color: var(--light-dark);
    font-size: 0.9rem;
}

/* ========== CONTATO ========== */
.contact-section {
    background-color: var(--dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon img {
    width: 25px;
    height: 25px;
}

.info-text h3 {
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.info-text a {
    color: var(--light);
    display: block;
    margin-bottom: 0.25rem;
}

.info-text p {
    color: var(--light-dark);
    font-size: 0.9rem;
}

.neon-form {
    background: rgba(30, 30, 30, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid var(--primary);
}

/* ========== FAQ ========== */
.faq-section {
    background-color: var(--darker);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: rgba(30, 30, 30, 0.8);
    border: none;
    color: var(--light);
    text-align: left;
    font-family: var(--font-title);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(138, 43, 226, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(30, 30, 30, 0.5);
}

.faq-answer p {
    padding: 1.5rem 0;
}

/* ========== CTA FINAL ========== */
.final-cta {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--darker));
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--light-dark);
}

/* ========== FOOTER ========== */
.main-footer {
    background-color: var(--darker);
    padding: 3rem 0 0;
    border-top: 1px solid rgba(138, 43, 226, 0.1);
}

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

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--light-dark);
    font-size: 0.9rem;
}

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

.links-column h3 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.links-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.links-column a {
    color: var(--light-dark);
    font-size: 0.9rem;
    transition: var(--transition);
}

.links-column a:hover {
    color: var(--light);
    padding-left: 5px;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(138, 43, 226, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--light-dark);
    font-size: 0.9rem;
    margin: 0;
}

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

.footer-legal a {
    color: var(--light-dark);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--light);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 1024px) {
    .hero-section .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-form {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        max-width: 100%;
        text-align: center;
    }
    
    .about-features {
        max-width: 600px;
        margin: 2rem auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--darker);
        padding: 6rem 2rem 2rem;
        transition: var(--transition);
        z-index: 1000;
        border-left: 1px solid rgba(138, 43, 226, 0.2);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Animação do Checkmark */
.checkmark-animation {
    margin: 0 auto 30px;
    width: 100px;
    height: 100px;
}
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark__check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

/* Números Neon */
.neon-number {
    display: block;
    font-size: 3rem;
    color: #00fffc;
    text-shadow: 0 0 10px #00fffc;
}