/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-bg: #1E1E2D;
    --container-bg: #151521;
    --accent-color: #11C671;
    --primary-text: #FFFFFF;
    --secondary-text: #9699B1;

    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --font-regular: 400;
    --font-semibold: 600;
    --font-bold: 700;

    /* Spacing */
    --header-height: 80px;
    --section-padding: 80px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Radius */
    --radius: 12px;
    --radius-small: 8px;
    --radius-large: 20px;
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    color: var(--primary-text);
    background-color: var(--primary-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
    font-weight: var(--font-bold);
    line-height: 1.2;
}

.section__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-text);
}

.section__subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--secondary-text);
    margin-bottom: 3rem;
}

.highlight {
    color: var(--accent-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 24px;
    font-family: var(--font-family);
    font-weight: var(--font-semibold);
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.btn--primary:hover {
    background: #0EA85E;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(17, 198, 113, 0.4);
}

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

.btn--outline:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.btn--large {
    padding: 20px 32px;
    font-size: 1.1rem;
}

.cta-btn {
    background: var(--accent-color);
    color: var(--primary-bg);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: var(--font-semibold);
    transition: var(--transition);
}

.cta-btn:hover {
    background: #0EA85E;
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 30, 45, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(30, 30, 45, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.nav__logo {
    transition: var(--transition);
}

.nav__logo:hover {
    transform: scale(1.05);
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav__link {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: var(--font-regular);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--accent-color);
}

/* Mobile Menu Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-text);
    transition: var(--transition);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: linear-gradient(135deg, var(--primary-bg) 0%, #252538 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(17, 198, 113, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__content {
    animation: fadeInUp 0.8s ease-out;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.3rem;
    color: var(--secondary-text);
    margin-bottom: 2.5rem;
}

.hero__buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero__mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* Laptop Mockup */
.laptop {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(145deg, #2a2a3a, #1a1a2a);
    border-radius: 20px 20px 8px 8px;
    padding: 20px 20px 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.laptop::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20%;
    width: 60%;
    height: 8px;
    background: linear-gradient(145deg, #2a2a3a, #1a1a2a);
    border-radius: 0 0 20px 20px;
}

.laptop__screen {
    width: 100%;
    height: 100%;
    background: var(--container-bg);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.website-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #252538 100%);
    padding: 8px;
}

.preview__header {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 12px;
    position: relative;
}

.preview__header::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #ff5f56;
    border-radius: 50%;
    box-shadow: 12px 0 0 #ffbd2e, 24px 0 0 #27ca3f;
}

.preview__content {
    padding: 16px;
}

.preview__line {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-bottom: 8px;
}

.preview__line--title {
    width: 80%;
    height: 12px;
    background: rgba(17, 198, 113, 0.6);
}

.preview__line--subtitle {
    width: 60%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
}

.preview__button {
    width: 40%;
    height: 16px;
    background: var(--accent-color);
    border-radius: 4px;
    margin-top: 12px;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.floating-element--1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-element--2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.floating-element--3 {
    top: 50%;
    right: -10%;
    animation-delay: 2s;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    background: var(--container-bg);
}

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

.benefit-card {
    background: var(--primary-bg);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.benefit__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(17, 198, 113, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.benefit-card:hover .benefit__icon {
    background: rgba(17, 198, 113, 0.2);
    transform: scale(1.1);
}

.benefit__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-text);
}

.benefit__description {
    color: var(--secondary-text);
    line-height: 1.6;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    background: var(--primary-bg);
}

.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 2rem;
    background: var(--container-bg);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
}

.step__number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    flex-shrink: 0;
}

.step__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
}

.step__description {
    color: var(--secondary-text);
}

.step__connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    margin: -1rem 0;
}

/* ===== PRICING SECTION ===== */
.pricing {
    background: var(--container-bg);
}

.pricing__card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--primary-bg);
    border-radius: var(--radius-large);
    padding: 3rem;
    text-align: center;
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.pricing__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 198, 113, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pricing__header {
    margin-bottom: 2rem;
}

.pricing__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-text);
}

.pricing__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pricing__currency {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.pricing__amount {
    font-size: 4rem;
    font-weight: var(--font-bold);
    color: var(--accent-color);
}

.pricing__period {
    font-size: 1.2rem;
    color: var(--secondary-text);
}

.pricing__description {
    color: var(--secondary-text);
    font-size: 1.1rem;
}

.pricing__features {
    margin-bottom: 2rem;
}

.features__title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-text);
}

.features__list {
    list-style: none;
    text-align: left;
}

.features__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--secondary-text);
}

.features__item svg {
    flex-shrink: 0;
}

.pricing__guarantee {
    margin-top: 1rem;
    color: var(--accent-color);
    font-weight: var(--font-semibold);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background: var(--primary-bg);
}

.portfolio__slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.portfolio__track {
    display: flex;
    gap: 2rem;
    transition: transform .5s ease;
}

.portfolio__item {
    flex: 0 0 var(--largura-item);
    width: var(--largura-item);
    max-width: none;
    /* remover limite de 450px */
    min-width: unset;
    /* remover min-width 100% */
}



.portfolio__image {
    width: 100%;
    height: 550px;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.portfolio__image iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden;
}

.portfolio__preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #252538 100%);
    padding: 12px;
    transform: scale(0.8);
    transform-origin: top left;
}

.portfolio__preview .preview__header {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 8px;
}

.portfolio__preview .preview__hero {
    height: 60px;
    background: rgba(17, 198, 113, 0.3);
    border-radius: 4px;
    margin-bottom: 8px;
}

.portfolio__preview .preview__content {
    padding: 8px;
}

.portfolio__preview .preview__line {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin-bottom: 6px;
}

.portfolio__preview .preview__line:first-child {
    width: 70%;
}

.portfolio__preview .preview__line:last-child {
    width: 50%;
}

.portfolio__info {
    padding: 1.5rem;
}

.portfolio__title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
}

.portfolio__category {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: var(--primary-bg);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.slider__btn:hover {
    background: #0EA85E;
    transform: translateY(-50%) scale(1.1);
}

.slider__btn--prev {
    left: 20px;
}

.slider__btn--next {
    right: 20px;
}



/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--container-bg);
}

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

.testimonial {
    background: var(--primary-bg);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.testimonial:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.testimonial__text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial__text::before {
    content: '"';
    color: var(--accent-color);
    font-size: 2rem;
    line-height: 1;
}

.testimonial__text::after {
    content: '"';
    color: var(--accent-color);
    font-size: 2rem;
    line-height: 1;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

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

.testimonial__name {
    font-size: 1.1rem;
    font-weight: var(--font-semibold);
    color: var(--primary-text);
    margin-bottom: 0.25rem;
}

.testimonial__role {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* ===== FAQ SECTION ===== */
.faq {
    background: var(--primary-bg);
}

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

.faq__item {
    background: var(--container-bg);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.faq__item.active {
    border-color: var(--accent-color);
}

.faq__question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-text);
    font-size: 1.1rem;
    font-weight: var(--font-semibold);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.faq__question:hover {
    color: var(--accent-color);
}

.faq__icon {
    transition: var(--transition);
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--secondary-text);
    line-height: 1.6;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta {
    background: linear-gradient(135deg, var(--container-bg) 0%, #1a1a2a 100%);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(17, 198, 113, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-cta__title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-text);
}

.final-cta__subtitle {
    font-size: 1.3rem;
    color: var(--secondary-text);
    margin-bottom: 2.5rem;
}

.final-cta__note {
    margin-top: 1.5rem;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer__tagline {
    color: var(--secondary-text);
    margin-top: 0.5rem;
}

.footer__social-link {
    color: var(--secondary-text);
    transition: var(--transition);
}

.footer__social-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__copyright {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--primary-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #0EA85E;
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

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

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 960px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav__menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--primary-bg);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav__toggle {
        display: flex;
    }

    .section__title {
        font-size: 2rem;
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__buttons {
        justify-content: center;
    }

    .steps {
        gap: 1rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .step:hover {
        transform: translateY(-5px);
    }

    .step__connector {
        width: 40px;
        height: 2px;
        background: linear-gradient(to right, var(--accent-color), transparent);
    }

    .pricing__card {
        padding: 2rem;
    }

    .pricing__amount {
        font-size: 3rem;
    }

    .final-cta__title {
        font-size: 2.5rem;
    }

    .final-cta__subtitle {
        font-size: 1.1rem;
    }

    .footer__content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .slider__btn {
        width: 40px;
        height: 40px;
    }

    .slider__btn--prev {
        left: 10px;
    }

    .slider__btn--next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .pricing__amount {
        font-size: 2.5rem;
    }

    .btn {
        padding: 14px 20px;
    }

    .btn--large {
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .final-cta__title {
        font-size: 2rem;
    }

    .pricing__card {
        padding: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .testimonial {
        padding: 1.5rem;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===== UTILITIES ===== */
.hidden {
    display: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SMOOTH SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SELECTION STYLES ===== */
::selection {
    background: var(--accent-color);
    color: var(--primary-bg);
}

::-moz-selection {
    background: var(--accent-color);
    color: var(--primary-bg);
}

/* ===== FOCUS STYLES FOR ACCESSIBILITY ===== */
button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== PRELOADER (OPTIONAL) ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader__spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}