/* 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: #f1f5f9;
}

::-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, #ffffff 0%, #f8fafc 100%);
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(56, 189, 248, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(56, 189, 248, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 90%);
    z-index: -1;
}

.neon-glow-blue {
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.neon-border {
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3), inset 0 0 10px rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.card-highlight {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-radius: 2.5rem;
}

/* Slider / Carousel */
.slider-container {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, 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;
}

.price-emphasis {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.price-old {
    text-decoration: line-through;

    font-size: 1.5rem;
    font-weight: 500;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.price-tag-old {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.4);
}

.price-tag-old::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: #ef4444;
    transform: rotate(-15deg);
}

.badge-futuristic {
    background: linear-gradient(90deg, #0ea5e9, #22d3ee);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.5);
}

/* 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));
}

@keyframes spin-slow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-slow-reverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

.animate-spin-slow-reverse {
    animation: spin-slow-reverse 25s linear infinite;
}

/* 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);
}

.phone-cta {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4);
}

.phone-cta:active {
    transform: translateY(0) scale(0.98);
}

/* Pulse Animation */
@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(2, 132, 199, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 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: #fff;
}

.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(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(56, 189, 248, 0.05) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(56, 189, 248, 0.05) 50px),
        radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.1), transparent 50%),
        #f8fafc;
    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(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 2px solid rgba(56, 189, 248, 0.8);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(56, 189, 248, 0.02);
    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: #475569;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.phone-highlight-card p {
    color: #64748b;
    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: #0284c7;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
    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;
    color: #0284c7;
}

.phone-highlight-content p {
    font-size: 1.125rem;
    color: #475569;
    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: #475569;
    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: #fff;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 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: 1px rgba(0, 0, 0, 0.05);
    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: #0284c7;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.featured-coverage-description {
    font-size: 1.125rem;
    color: #475569;
    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(56, 189, 248, 0.05) 0%, transparent 40%),
        repeating-linear-gradient(45deg, rgba(56, 189, 248, 0.02) 0, rgba(56, 189, 248, 0.02) 1px, transparent 1px, transparent 10px),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.8) 0%, #f1f5f9 100%),
        #fff;
    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;
    }
}

/* Removed hero car styles as per new design */


@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;
    }
}

/* PHONE HIGHLIGHT – FORCE COLUMN INVERSION ON MOBILE */
@media (max-width: 899px) {
    .phone-highlight-wrapper {
        grid-template-columns: 1fr;
    }

    .phone-highlight-content {
        order: 1 !important;
    }

    .phone-highlight-media {
        order: 2 !important;
    }
}

@media (min-width: 900px) {
    .phone-highlight-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .phone-highlight-media {
        order: 1 !important;
    }

    .phone-highlight-content {
        order: 2 !important;
    }
}