:root {
    --primary-color: #6E3FFF;
    /* Roxo/Lilás */
    --secondary-color: #2A0C4F;
    /* Roxo Escuro */
    --bg-dark: #000000;
    /* Preto */
    --bg-darker: #050505;
    /* Quase Preto */
    --bg-card: rgba(42, 12, 79, 0.3);
    /* Dark Purple tint */
    --text-light: #FFFFFF;
    --text-gray: #b0b0b0;
    --gradient-main: linear-gradient(135deg, var(--primary-color), #9d70ff);
    /* Lighter gradient for visibility */
    --glass-border: 1px solid rgba(110, 63, 255, 0.2);
    --shadow-glow: 0 0 20px rgba(110, 63, 255, 0.3);
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

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

.highlight {
    color: var(--primary-color);
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(188, 19, 254, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--primary-color);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: var(--glass-border);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

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

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

.btn-nav {
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
}

.btn-nav:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
    animation: float 10s infinite ease-in-out;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: 50px;
    left: -50px;
    animation: float 8s infinite ease-in-out reverse;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.stat-item i {
    color: var(--primary-color);
}

.hero-visual {
    position: relative;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup {
    max-width: 90%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: float 6s infinite ease-in-out;
    transform: perspective(1000px) rotateY(-5deg);
}

/* Features Section */
.section-header {
    margin-bottom: 60px;
}

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

.section-header p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: var(--glass-border);
    transition: var(--transition);
}

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

.service-card.featured {
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.2);
}

.card-image {
    height: 150px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.big-icon {
    font-size: 4rem;
    opacity: 0.2;
    color: var(--text-light);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-list {
    margin-bottom: 25px;
}

.service-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.service-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-text:hover {
    gap: 10px;
}

/* Offer Section */
.offer-wrapper {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(10, 10, 15, 0.95));
    border: 1px solid var(--secondary-color);
    border-radius: 30px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(188, 19, 254, 0.15);
}

.offer-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    filter: blur(150px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}

.offer-content,
.offer-features {
    position: relative;
    z-index: 1;
}

.offer-badge {
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.offer-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.price-box {
    margin: 30px 0;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.old-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #ff4757;
    /* Red */
}

.new-price {
    font-size: 3rem;
    font-weight: 800;
    color: #00ff88;
    /* Green */
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.offer-timer {
    margin-bottom: 30px;
    color: #ff4757;
    font-weight: 500;
}

.offer-features ul {
    display: grid;
    gap: 15px;
}

.offer-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.offer-features li i {
    color: var(--secondary-color);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 242, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0);
    }
}

/* CTA Button Animation */
.cta-animated {
    position: relative;
    animation: ctaPulse 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(110, 63, 255, 0.6);
}

.cta-animated:hover {
    animation: none;
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(110, 63, 255, 0.8);
}

@keyframes ctaPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(110, 63, 255, 0.6);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 0 50px rgba(110, 63, 255, 0.9);
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: var(--glass-border);
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* CTA Footer */
.cta-footer {
    background: linear-gradient(to top, rgba(0, 242, 255, 0.05), transparent);
}

.cta-footer h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.sub-cta {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.cta-footer .highlight {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.cta-footer .btn {
    padding: 20px 50px;
    font-size: 1.3rem;
}

.benefits-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.benefits-row span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.benefits-row i {
    color: var(--primary-color);
}

/* Footer */
.main-footer {
    background: var(--bg-darker);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-col h3 {
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.footer-col ul li a {
    color: var(--text-gray);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-light);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
}

.contact-list i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .offer-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .benefits-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .offer-wrapper {
        padding: 25px;
    }

    .new-price {
        font-size: 2.5rem;
    }
}

/* Service Details Expansion */
.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease;
    opacity: 0;
    margin-top: 0;
}

.service-details.active {
    max-height: 500px;
    /* Approximate max height */
    opacity: 1;
    margin-top: 20px;
}

.service-details p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    padding-bottom: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);


    padding-top: 15px;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: var(--glass-border);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(110, 63, 255, 0.3);
    border-color: var(--primary-color);
}

/* Browser Mockup */
.portfolio-mockup {
    position: relative;
    height: 220px;
    background: #1a1a1a;
}

.browser-bar {
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.browser-dots span:nth-child(1) {
    background: #ff5f56;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #27c93f;
}

.mockup-content {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mockup-text {
    text-align: center;
    z-index: 2;
}

.mockup-text h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mockup-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Gradient Backgrounds */
.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gradient-5 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.gradient-6 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* Add pattern overlay */
.mockup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px);
    z-index: 1;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.portfolio-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-view:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(5px);
}

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

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .mockup-text h4 {
        font-size: 1.5rem;
    }
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}