/* ============================================
   GoodLiving vs Other Brands - Competition Page
   Dark theme design system
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.8;
    color: #f5f5f5;
    background: #0a0a0a;
    font-weight: 400;
    letter-spacing: 0.01em;
    touch-action: pan-y;
    overscroll-behavior: none;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   Header & Navigation
   ============================================ */

header {
    background: #1a1a1a;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.header-logo {
    height: 40px;
    flex-shrink: 0;
}


/* Desktop Navigation */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.nav-desktop > li {
    position: relative;
}

.nav-desktop > li > a {
    display: block;
    padding: 12px 16px;
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-desktop > li > a:hover {
    color: #00d4ff;
}

/* Dropdown Menus */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    min-width: 220px;
    padding: 8px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.25s ease;
    list-style: none;
    z-index: 1001;
}

.nav-desktop > li:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #b0b0b0;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.nav-dropdown li a:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
    padding-left: 24px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    z-index: 999;
    padding: 80px 30px 30px;
    overflow-y: auto;
    list-style: none;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile > li {
    border-bottom: 1px solid #222;
}

.nav-mobile > li > a {
    display: block;
    padding: 16px 0;
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 500;
}

.nav-mobile .mobile-dropdown {
    list-style: none;
    padding: 0 0 10px 20px;
}

.nav-mobile .mobile-dropdown li a {
    display: block;
    padding: 10px 0;
    color: #888;
    font-size: 0.95rem;
}

.nav-mobile .mobile-dropdown li a:hover {
    color: #00d4ff;
}

.nav-mobile .mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.nav-mobile .mobile-dropdown-toggle .chevron {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: #666;
}

.nav-mobile .mobile-dropdown-toggle.open .chevron {
    transform: rotate(180deg);
}

.nav-mobile .mobile-dropdown {
    display: none;
}

.nav-mobile .mobile-dropdown.open {
    display: block;
}

/* ============================================
   Urgency Bar
   ============================================ */

.urgency-bar {
    background: linear-gradient(90deg, #ff6b35, #e55a2b);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.urgency-bar strong {
    color: #fff;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: radial-gradient(ellipse at top, rgba(0,212,255,0.08), transparent),
                linear-gradient(180deg, #0a0a0a 0%, #111 100%);
    color: white;
    padding: 0;
    text-align: center;
    position: relative;
}

.hero .container {
    padding-top: 20px;
}

.hero-media {
    width: 100%;
    margin-top: 30px;
    background: #fff;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.hero-media-wrap {
    width: min(115%, 1380px);
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent),
                        linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent),
                linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
}

.hero-media-wrap video {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    aspect-ratio: 7 / 2;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.08);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero-logo {
    height: 70px;
    display: inline-block;
    vertical-align: middle;
}

.hero-vs {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    letter-spacing: 0.15em;
    text-transform: lowercase;
    margin: 5px 0;
}

.hero-other {
    color: #999;
    font-weight: 400;
}

.hero .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #b0b0b0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #e8e8e8 0%, #a0a0a0 50%, #d0d0d0 100%);
    color: #1a1a1a;
    padding: 16px 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.6);
}

.cta-button-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    box-shadow: none;
}

.cta-button-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.cta-button-secondary::before {
    display: none;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: rgba(255,255,255,0.015);
}

h2 {
    font-size: 2.6rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
}

.section-subtitle {
    text-align: center;
    color: #999;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Comparison Overview - Diff Table
   ============================================ */

.diff-table {
    max-width: 750px;
    margin: 40px auto 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.diff-header {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    background: rgba(255,255,255,0.05);
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.diff-feature-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    font-weight: 600;
}

.diff-gl-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #00d4ff;
    font-weight: 600;
    text-align: center;
}

.diff-other-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    font-weight: 600;
    text-align: center;
}

.diff-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s ease;
}

.diff-row:last-child {
    border-bottom: none;
}

.diff-row:hover {
    background: rgba(255,255,255,0.02);
}

.diff-feature {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
}

.diff-gl {
    font-size: 0.95rem;
    color: #00d4ff;
    font-weight: 600;
    text-align: center;
}

.diff-other {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}


/* ============================================
   Key Feature Comparison Blocks (alternating)
   ============================================ */

.key-feature {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.key-feature:first-child {
    padding-top: 0;
}

.key-feature:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.key-feature.reverse {
    flex-direction: row-reverse;
}

.key-feature-media {
    flex: 0 0 45%;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
}

.key-feature-media video,
.key-feature-media img {
    width: 100%;
    display: block;
    border-radius: 16px;
}

.key-feature-media video {
    width: 102%;
    margin: -1%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
}

.key-feature-media img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.key-feature-content {
    flex: 1;
}

.key-feature-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #00d4ff;
    margin-bottom: 10px;
    font-weight: 600;
}

.key-feature-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.3;
}

/* Spec comparison boxes */
.spec-compare {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.spec-box {
    flex: 1;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
}

.spec-box-good {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.spec-box-other {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-box-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    font-weight: 600;
}

.spec-box-good .spec-box-label {
    color: #00d4ff;
}

.spec-box-other .spec-box-label {
    color: #666;
}

.spec-box-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.spec-box-good .spec-box-value {
    color: #00d4ff;
}

.spec-box-other .spec-box-value {
    color: #666;
}

.key-feature-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #b0b0b0;
}

.key-feature-text strong {
    color: #00d4ff;
}

/* ============================================
   Reviews Carousel
   ============================================ */

.reviews-header {
    text-align: center;
    margin-bottom: 30px;
}

.reviews-header-inner {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.reviews-header .google-logo {
    height: 28px;
}

.reviews-header .rating-number {
    font-size: 2rem;
    font-weight: 700;
}

.reviews-header .stars {
    color: #ffd700;
    font-size: 1.3rem;
}

.reviews-header .review-count {
    color: #999;
    font-size: 1rem;
}

.reviews-carousel {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.reviews-track-wrapper {
    flex: 1;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 14px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #667eea);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

.review-meta {
    flex: 1;
}

.review-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #f0f0f0;
}

.review-date {
    font-size: 0.8rem;
    color: #888;
}

.review-stars {
    color: #ffd700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.review-text {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.review-google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Carousel Controls */
.carousel-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #00d4ff;
}

/* ============================================
   Final CTA Section
   ============================================ */

.cta-section {
    text-align: center;
    padding: 100px 0;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(102,126,234,0.1));
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(0,212,255,0.2);
}

.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #d0d0d0;
    line-height: 1.7;
}

.cta-box .highlight-text {
    color: #00d4ff;
    font-weight: 600;
    font-size: 1.2rem;
}

.cta-box .cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background: #0a0a0a;
    color: #e0e0e0;
    padding: 60px 0 30px;
    border-top: 1px solid #222;
}

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

.footer-brand .footer-logo {
    height: 35px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-column h4 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: #888;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #00d4ff;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: #888;
}

.footer-social a:hover svg {
    fill: #00d4ff;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    font-size: 0.8rem;
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive - Tablet (768px)
   ============================================ */

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

    /* Header mobile */
    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-logo {
        height: 32px;
    }

    /* Hero */
    .hero .container {
        padding-top: 30px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-vs {
        font-size: 1rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 16px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 50px 0;
    }

    /* Diff table mobile */
    .diff-header {
        padding: 12px 16px;
    }

    .diff-row {
        padding: 12px 16px;
    }

    .diff-feature {
        font-size: 0.8rem;
    }

    .diff-gl {
        font-size: 0.85rem;
    }

    .diff-other {
        font-size: 0.8rem;
    }

    /* Key features - stack vertically with media between title and specs */
    .key-feature,
    .key-feature.reverse {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 20px;
        padding: 50px 0;
    }

    .key-feature-media {
        flex: 0 0 auto;
        width: 100%;
        order: 2;
    }

    .key-feature-content {
        display: contents;
    }

    .key-feature-content .key-feature-label {
        order: 1;
        text-align: center;
    }

    .key-feature-content h3 {
        order: 1;
        font-size: 1.4rem;
        text-align: center;
    }

    .key-feature-content .spec-compare {
        order: 3;
        gap: 10px;
        width: 100%;
    }

    .key-feature-content .key-feature-text {
        order: 4;
        text-align: center;
        font-size: 0.95rem;
    }


    /* Reviews */
    .review-card {
        flex: 0 0 100%;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    /* CTA */
    .cta-box {
        padding: 35px 25px;
    }

    .cta-box h2 {
        font-size: 1.6rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   Responsive - Mobile (480px)
   ============================================ */

@media (max-width: 480px) {
    .header-logo {
        height: 28px;
    }

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

    .hero-vs {
        font-size: 0.85rem;
    }

    .hero .subtitle {
        font-size: 0.9rem;
    }

    .urgency-bar {
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    .diff-table {
        font-size: 0.85rem;
    }

    .diff-header,
    .diff-row {
        grid-template-columns: 1.2fr 1fr 1fr;
        padding: 10px 12px;
    }

    .spec-box-value {
        font-size: 1.2rem;
    }

    .key-feature-content h3 {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 14px 35px;
        font-size: 0.95rem;
    }
}
