/* CSS Variables are moved to Tailwind config/input */

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar - keeping as it's a nice touch not easily done with standard Tailwind utilities without plugins */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Hero Gradient Fallback & Overlay */
.hero-gradient {
    background: radial-gradient(circle at center, #1e1b4b 0%, #0f172a 70%);
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 1) 100%);
}

/* Slider */
.slider-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    width: max-content;
    gap: 2rem;
    animation: scroll 40s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Final CTA */
.final-cta-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.final-cta-gradient::before {
    content: '';
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    pointer-events: none;
    position: absolute;
    inset: 0;
}

/* Tech Silhouette */
.tech-silhouette {
    display: block;
    max-width: 100%;
    height: 100%;
    opacity: 0.9;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .35));
}

/* Accordion Transitions */
.accordion-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.accordion-content.active {
    opacity: 1;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-btn[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

/* Utilities */
.text-glow {
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

/* Pulse Animation */
@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(56, 189, 248, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
    }
}

.call-pulse {
    animation: pulse-ring 2s infinite;
}

/* Phone Highlight Section - KEEPING CUSTOM COMPLEX STYLES */
#phone-highlight {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    background-color: #0f172a;
}

.phone-highlight-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    gap: 3rem;
    align-items: center;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .phone-highlight-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        padding: 4rem 1.5rem;
    }
}

.phone-highlight-media {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-highlight-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(56, 189, 248, 0.1) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(56, 189, 248, 0.1) 50px),
        radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.2), transparent 50%),
        #0f172a;
    background-size: cover;
    clip-path: polygon(10% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
    -webkit-clip-path: polygon(10% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
}

.phone-highlight-image::after {
    content: '';
    position: absolute;
    inset: 5px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), transparent 60%);
    clip-path: inherit;
    pointer-events: none;
    z-index: 2;
}

/* ... card styles ... */
.phone-highlight-card {
    position: relative;
    z-index: 10;
    /* Glassmorphism manually defined here as it's specific? Or use .glass? It has unique border-left etc. Keep it. */
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 2px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(56, 189, 248, 0.05);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    width: 85%;
    max-width: 380px;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(56, 189, 248, 0.1);
}

.phone-highlight-card h3 {
    color: #e2e8f0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.phone-highlight-card p {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 1.5rem;
    opacity: 0.9;
}



.phone-highlight-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fafafa;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5), 0 0 20px rgba(56, 189, 248, 0.3), 0 0 40px rgba(56, 189, 248, 0.1);
    animation: neonPulse 3s infinite alternate;
}

.phone-highlight-number:hover {
    color: #38bdf8;
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.8), 0 0 30px rgba(56, 189, 248, 0.5);
}

@keyframes neonPulse {
    from {
        text-shadow: 0 0 10px rgba(56, 189, 248, 0.4), 0 0 20px rgba(56, 189, 248, 0.2);
    }

    to {
        text-shadow: 0 0 15px rgba(56, 189, 248, 0.7), 0 0 30px rgba(56, 189, 248, 0.4), 0 0 50px rgba(56, 189, 248, 0.2);
    }
}

/* Right side content - mostly layout/typography, but let's keep it safe since it uses specific selectors */
.phone-highlight-content {
    padding: 1rem;
    text-align: left;
}

.phone-highlight-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.phone-highlight-content p {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.phone-highlight-content ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.phone-highlight-content ul li {
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
}

.phone-highlight-content ul li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #38bdf8;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

@media (max-width: 768px) {
    .phone-highlight-number {
        font-size: 2rem;
    }

    .phone-highlight-content h2 {
        font-size: 1.75rem;
    }

    .phone-highlight-wrapper {
        gap: 2rem;
    }
}

/* Featured Coverage - Complex */
#featured-coverage {
    position: relative;
    padding: 6rem 0;
    background-color: #0f172a;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-coverage-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    gap: 4rem;
    align-items: center;
    position: relative;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .featured-coverage-wrapper {
        grid-template-columns: 1.2fr 1fr;
        gap: 5rem;
    }
}

.featured-coverage-content {
    position: relative;
    z-index: 10;
}

.featured-coverage-bg-title {
    position: absolute;
    top: -4rem;
    left: -2rem;
    font-size: 8rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.03);
    opacity: 0.1;
    z-index: -1;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    line-height: 0.8;
    animation: driftTitle 20s infinite alternate ease-in-out;
}

@keyframes driftTitle {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(20px);
    }
}

.featured-coverage-eyebrow {
    font-size: 0.875rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.featured-coverage-eyebrow::before {
    content: '';
    width: 2rem;
    height: 2px;
    background-color: #38bdf8;
}

.featured-coverage-title {
    font-size: 3rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #f8fafc, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.featured-coverage-description {
    font-size: 1.125rem;
    color: #94a3b8;
    line-height: 1.8;
    max-width: 90%;
}

.featured-coverage-media {
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.3s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured-coverage-image {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 0 auto;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        repeating-linear-gradient(45deg, rgba(56, 189, 248, 0.03) 0, rgba(56, 189, 248, 0.03) 1px, transparent 1px, transparent 10px),
        radial-gradient(circle at 70% 30%, rgba(15, 23, 42, 0.8) 0%, #0f172a 100%),
        #1e293b;
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
    -webkit-clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
    transition: transform 0.5s ease;
}

.featured-coverage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.featured-coverage-image:hover {
    transform: scale(1.02);
}

.featured-coverage-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), transparent 50%, rgba(56, 189, 248, 0.1));
    clip-path: inherit;
    pointer-events: none;
    z-index: 2;
    padding: 2px;
    opacity: 0.5;
}

.featured-coverage-image::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-top: 2px solid rgba(56, 189, 248, 0.6);
    border-right: 2px solid rgba(56, 189, 248, 0.6);
    z-index: 3;
}

@media (max-width: 900px) {
    .featured-coverage-bg-title {
        font-size: 5rem;
        top: -2rem;
        left: -1rem;
    }

    .featured-coverage-title {
        font-size: 2.25rem;
    }

    .featured-coverage-wrapper {
        gap: 3rem;
    }

    .featured-coverage-media {
        min-height: 350px;
        order: 2;
    }

    .featured-coverage-content {
        order: 1;
    }
}

/* Hero Car - Depth Effect - KEEP */
.hero-car-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -120px;
    /* valor padrão desktop */
    z-index: 5;
    pointer-events: none;
}


.hero-car-image {
    width: 100%;
    max-width: 950px;
    height: auto;
    display: block;
    margin-top: 0;
    filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.6));
    opacity: 0;

    transform: translateY(120px) scale(0.9);
    animation: carEntrance 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.2s;
}

@media (max-height: 800px) {
    .hero-car-container {
        bottom: -180px;

    }

    .hero-car-image {
        max-width: 800px;

    }
}

@keyframes carEntrance {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (min-width: 1200px) {
    .hero-car-container {
        bottom: -220px;
        max-width: 1400px;
    }

    .hero-car-image {
        max-width: 1100px;
    }
}

@media (max-width: 1199px) {
    .hero-car-container {
        bottom: -60px;
        width: 100%;

        /* Fix from previous task */
    }

    .hero-car-image {
        width: 100%;
        max-width: 480px;
        height: auto;

        margin: 0 auto;
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
    }

    #hero {
        padding-bottom: 0px;
    }

    #main-header {
        max-width: 92vw;
    }
}

@media (max-height: 820px) {
    .hero-car-container {
        bottom: -120px;

    }
}

@media (max-height: 720px) {
    .hero-car-container {
        bottom: -160px;
    }

    .hero-car-image {
        max-width: 420px;
    }
}


@media (min-width: 1024px) and (max-width: 1399px) {
    .hero-car-container {
        bottom: -160px;
        max-width: 1200px;
    }

    .hero-car-image {
        max-width: 820px;
    }
}


@media (min-width: 1024px) and (max-width: 1399px) {
    .hero-car-container {
        bottom: -160px;
        max-width: 1200px;
    }

    .hero-car-image {
        max-width: 820px;
    }
}