:root {
    --primary: #1A9A93; /* Darker teal for better contrast (was #20B2AA) */

    /* Light Sea Green / Teal */
    --primary-dark: #008B8B;
    --accent: #E56A40; /* Darker coral for better contrast (was #FF7F50) */

    /* Coral */
    --accent-hover: #D45A30;
    --text-dark: #1F2937;
    --text-light: #4B5563; /* Darker for better readability (was #6B7280) */
    --bg-light: #F9FAFB;
    --white: #FFF;
    --glass: rgb(255 255 255 / 95%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 5%);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -2px rgb(0 0 0 / 5%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:focus,
button:focus,
.mobile-toggle:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.btn:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 50px;
}

.skip-link:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgb(255 255 255 / 90%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo .accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background-image: url('assets/hero-miami.webp');

    /* Fallback / Generated Image */
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(32 178 170 / 90%), rgb(31 41 55 / 80%));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgb(255 255 255 / 20%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero h1 .gradient-text {
    background: linear-gradient(to right, #fff, #acece6);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .lead {
    font-size: 1.25rem;
    color: rgb(255 255 255 / 90%);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Intro */
.intro {
    padding: 4rem 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Rankings */
.rankings {
    padding: 2rem 0 5rem;
}

.card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgb(0 0 0 / 5%);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Rank 1 Specifics */
.rank-card.rank-1 {
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.rank-card.rank-1 .rank-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 16px;
    font-weight: 700;
    font-size: 1rem;
}

.rank-card.rank-2 .rank-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--text-light);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 16px;
    font-weight: 700;
    font-size: 0.9rem;
}


.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.company-info h2,
.company-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.company-info h2 a,
.company-info h3 a {
    color: var(--text-dark);
}

.company-info h2 a:hover,
.company-info h3 a:hover {
    color: var(--primary);
}

.tagline {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.highlights h3,
.pricing-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.highlights ul,
.pricing-box ul {
    list-style: none;
}

.highlights ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.highlights ul li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.25rem;
}

.detail-note {
    font-size: 0.85rem;
    color: var(--accent);
    font-style: italic;
}

.pricing-box {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
}

.pricing-box ul li {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.verdict {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

.verdict-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.icon {
    font-weight: bold;
    margin-top: 2px;
}

.icon.check {
    color: #10B981;
}

.icon.cross {
    color: #EF4444;
}

/* Comparison Table */
.comparison {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.comparison h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.table-responsive {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.compare-table th,
.compare-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.compare-table th {
    background-color: #f3f4f6;
    font-weight: 700;
    color: var(--text-dark);
}

.compare-table th.highlight-col {
    background-color: rgb(32 178 170 / 10%);

    /* Light Teal */
    color: var(--primary-dark);
}

.compare-table td.highlight-col {
    background-color: rgb(32 178 170 / 5%);

    /* Lighter Teal */
    color: var(--text-dark);
}

/* FAQ */
.faq {
    padding: 5rem 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

/* Award Banner - Premium Visual Prominence */
.award-banner {
    background: linear-gradient(135deg,
        #FFD700 0%,
        #FFEC8B 25%,
        #FFFACD 50%,
        #FFEC8B 75%,
        #FFD700 100%);
    color: #8B4513;
    padding: 1.25rem 2.5rem;
    border-radius: 60px;
    margin-bottom: 3rem;
    display: inline-block;
    border: 3px solid #FFD700;
    border-top-color: #FFFACD;
    border-left-color: #FFFACD;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow:
        0 10px 30px rgba(255, 215, 0, 0.4),
        0 6px 20px rgba(139, 69, 19, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 0 20px rgba(255, 215, 0, 0.3) inset;
    position: relative;
    overflow: hidden;
    animation: awardGlow 2.5s ease-in-out infinite alternate;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    max-width: 90%;
    line-height: 1.4;
}

.award-banner::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    z-index: 0;
    animation: awardShine 4s linear infinite;
    border-radius: 70px;
}

.award-banner::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border-radius: 57px;
    z-index: 0;
}

.award-banner:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(255, 215, 0, 0.5),
        0 8px 25px rgba(139, 69, 19, 0.25),
        0 0 0 2px rgba(255, 255, 255, 0.9) inset,
        0 0 30px rgba(255, 215, 0, 0.4) inset;
    animation-play-state: paused;
}

.award-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
}

.award-banner-title {
    font-weight: 900;
    font-size: 1.4rem;
    text-shadow:
        0 2px 4px rgba(255, 255, 255, 0.8),
        0 1px 2px rgba(139, 69, 19, 0.3);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.award-banner-title::before {
    content: '🏆';
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 3px rgba(139, 69, 19, 0.3));
    animation: trophyBounce 2s ease-in-out infinite;
}

.award-banner-text {
    font-weight: 700;
    color: #8B4513;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.award-banner-link {
    color: #B8860B;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 3px solid #FFD700;
    padding-bottom: 3px;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.award-banner-link:hover {
    color: #8B4513;
    border-bottom-color: #8B4513;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.award-banner-link::after {
    content: '✨';
    margin-left: 0.5rem;
    font-size: 1.1rem;
    opacity: 0.8;
}

@keyframes awardGlow {
    0% {
        box-shadow:
            0 10px 30px rgba(255, 215, 0, 0.4),
            0 6px 20px rgba(139, 69, 19, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.8) inset,
            0 0 20px rgba(255, 215, 0, 0.3) inset;
    }
    100% {
        box-shadow:
            0 15px 40px rgba(255, 215, 0, 0.6),
            0 8px 25px rgba(139, 69, 19, 0.3),
            0 0 0 2px rgba(255, 255, 255, 0.9) inset,
            0 0 30px rgba(255, 215, 0, 0.5) inset;
    }
}

@keyframes awardShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes trophyBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(5deg);
    }
    75% {
        transform: translateY(-3px) rotate(-3deg);
    }
}

/* Responsive adjustments for award banner */
@media (max-width: 768px) {
    .award-banner {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 40px;
        margin-bottom: 2rem;
        max-width: 95%;
    }
    
    .award-banner-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .award-banner-title {
        font-size: 1.2rem;
    }
    
    .award-banner-title::before {
        font-size: 1.5rem;
    }
}

/* Fade-in Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

.faq-item p {
    color: var(--text-light);
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.disclaimer {
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-top: 1rem;
}

/* Responsive */
@media (width <= 768px) {
    .nav-links {
        display: none;

        /* In real implementation, add mobile menu drawer */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .logo {
        font-size: 1.0rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .card-header {
        flex-direction: column;
    }

    .cta-container {
        width: 100%;
    }

    .cta-container .btn {
        width: 100%;
    }
}

/* Methodology Section */
.methodology {
    padding: 5rem 0;
    background-color: var(--white);
    border-top: 1px solid #e5e7eb;
}

.methodology h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.method-item {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.method-item:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.method-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.method-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}
