
/* =========================================
   DODE WIFI — OBSIDIAN & GOLD
========================================= */

.wifi-hero {
    position: relative;
    min-height: 730px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 180px 0 105px;
    background:
            radial-gradient(ellipse at 75% 40%,
            rgba(214,181,116,.12),transparent 55%),
            #0b0b0d;
    border-bottom: 1px solid var(--line);
}

.wifi-hero-glow {
    position: absolute;
    right: 0;
    top: 5%;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: rgba(214,181,116,.07);
    filter: blur(90px);
    pointer-events: none;
}

.wifi-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 70px;
    position: relative;
    z-index: 2;
}

.wifi-hero h1 {
    font-family: var(--font);
    font-size: clamp(50px,5.6vw,82px);
    letter-spacing: -4px;
    line-height: 1.15;
    margin: 25px 0;
}

.wifi-hero-copy > p {
    max-width: 580px;
    color: #b6aea4;
    line-height: 1.9;
    font-size: 15px;
}

.wifi-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.wifi-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 55px;
    color: #c1b5a4;
    font-size: 11px;
}

.wifi-hero-points span::first-letter {
    color: var(--gold);
}

/* HERO ART */

.wifi-hero-art {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
}

.signal-ring {
    position: absolute;
    border: 1px solid rgba(214,181,116,.24);
    border-radius: 50%;
    animation: wifiPulse 7s ease-in-out infinite;
}

.ring-one {width: 420px;height: 420px;}
.ring-two {width: 330px;height: 330px;animation-delay: -2s;}
.ring-three {width: 245px;height: 245px;animation-delay: -4s;}

@keyframes wifiPulse {
    0%,100% {opacity: .45;transform: scale(1);}
    50% {opacity: .9;transform: scale(1.035);}
}

.wifi-core {
    position: relative;
    z-index: 2;
    width: 205px;
    height: 205px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
            radial-gradient(circle at 35% 25%,#40301e,#0d0d0f 75%);
    border: 7px solid #ac874f;
    box-shadow: 0 0 60px rgba(214,181,116,.16);
    color: var(--gold);
    font-family: var(--font);
}

.wifi-core-icon {
    font-size: 48px;
    line-height: 1;
}

.wifi-core strong {
    font-size: 38px;
    letter-spacing: 3px;
}

.wifi-core > span:last-child {
    font-size: 18px;
    letter-spacing: 5px;
}

.signal-label {
    position: absolute;
    z-index: 3;
    padding: 12px 18px;
    background: #171618;
    border: 1px solid rgba(214,181,116,.3);
    border-radius: 30px;
    color: #e6d9c5;
    font-size: 11px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.label-home {top: 17%;left: 0;}
.label-hotspot {right: -3%;top: 48%;}
.label-network {bottom: 12%;left: 5%;}

/* PACKAGES */

.wifi-packages {
    background: #0d0d0f;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}

.package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 35px 28px;
    background: linear-gradient(145deg,#1c1b1d,#131315);
    border: 1px solid rgba(214,181,116,.17);
    border-radius: 9px;
    transition:
            transform .35s ease,
            border-color .35s ease,
            box-shadow .35s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: rgba(214,181,116,.55);
    box-shadow: 0 25px 60px rgba(0,0,0,.3);
}

.package-card.featured {
    border-color: var(--gold);
    background: linear-gradient(145deg,#29231c,#171518);
}

.featured-ribbon {
    position: absolute;
    right: 0;
    top: 0;
    padding: 9px 13px;
    background: var(--gold);
    color: #15110c;
    font-size: 9px;
    font-weight: 800;
    border-radius: 0 8px 0 8px;
}

.package-type {
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.package-card h3 {
    margin: 20px 0;
    font-family: var(--font);
    font-size: 24px;
}

.package-speed {
    color: #f5f1e9;
    font-family: var(--font);
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
}

.package-speed small {
    color: var(--gold);
    font-size: 20px;
}

.package-price {
    margin-top: 18px;
    color: var(--gold);
    font-size: 23px;
    font-weight: 800;
}

.package-price span {
    color: #a69d90;
    font-size: 12px;
    font-weight: 400;
}

.package-card > p {
    min-height: 60px;
    color: #aaa39a;
    line-height: 1.8;
    font-size: 13px;
    margin: 25px 0 15px;
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.package-card li {
    position: relative;
    padding-left: 23px;
    margin-bottom: 13px;
    color: #c6bdb0;
    font-size: 12px;
}

.package-card li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--gold);
}

.package-button {
    display: block;
    text-align: center;
    margin-top: auto;
    padding: 15px 12px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    transition: all .25s;
}

.package-button:hover,
.package-card.featured .package-button {
    background: var(--gold);
    color: #17120d;
}

.package-card.featured .package-button:hover {
    background: var(--gold-light);
}

.pricing-note {
    margin-top: 30px;
    color: #9d968b;
    font-size: 12px;
    line-height: 1.8;
}

/* COMPARISON */

.wifi-comparison {
    background: #151517;
}

.comparison-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.comparison-controls label {
    color: #ddd2c2;
    font-size: 13px;
    font-weight: 700;
}

.comparison-controls select {
    padding: 12px 15px;
    background: #242124;
    border: 1px solid rgba(214,181,116,.35);
    border-radius: 4px;
    color: #f1e8da;
    font: inherit;
}

.comparison-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(214,181,116,.2);
    border-radius: 8px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 570px;
}

.comparison-table th,
.comparison-table td {
    text-align: left;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(214,181,116,.12);
    font-size: 13px;
}

.comparison-table th {
    background: #25211e;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 1px;
}

.comparison-table td {
    color: #e0d8ca;
}

.comparison-table tbody tr:hover {
    background: rgba(214,181,116,.05);
}

.comparison-table a {
    color: var(--gold);
    font-weight: 700;
}

.comparison-status {
    min-height: 20px;
    margin-top: 15px;
    color: #aaa39a;
    font-size: 12px;
}

/* SOLUTIONS */

.wifi-solutions {
    background: #0d0d0f;
}

.wifi-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
}

.wifi-solution-card {
    position: relative;
    padding: 35px;
    background: #1b1a1c;
    border: 1px solid rgba(214,181,116,.16);
    border-radius: 8px;
    transition: transform .3s,border-color .3s;
}

.wifi-solution-card:hover {
    transform: translateY(-7px);
    border-color: rgba(214,181,116,.45);
}

.solution-number {
    position: absolute;
    right: 28px;
    top: 25px;
    color: #806a4b;
    font-size: 12px;
}

.solution-icon {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    border: 1px solid rgba(214,181,116,.3);
    border-radius: 50%;
    color: var(--gold);
    font-size: 32px;
    margin-bottom: 30px;
}

.wifi-solution-card h3 {
    font-family: var(--font);
    font-size: 22px;
    margin-bottom: 15px;
}

.wifi-solution-card p {
    color: #aaa39a;
    font-size: 13px;
    line-height: 1.9;
}

/* COVERAGE */

.wifi-coverage {
    background: #151517;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.coverage-description {
    color: #b7aea3;
    line-height: 1.9;
    margin: 25px 0;
}

.coverage-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 35px;
    color: #c7bba8;
    font-size: 13px;
}

.coverage-card {
    padding: 40px;
    background: #201e1e;
    border: 1px solid rgba(214,181,116,.25);
    border-radius: 9px;
}

.coverage-step {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(214,181,116,.15);
}

.coverage-step:last-child {
    border-bottom: 0;
}

.coverage-step > span {
    color: var(--gold);
    font-size: 20px;
    font-weight: 800;
}

.coverage-step h3 {
    margin: 0 0 8px;
    font-family: var(--font);
    font-size: 16px;
}

.coverage-step p {
    margin: 0;
    color: #aaa39a;
    font-size: 12px;
    line-height: 1.8;
}

/* FAQ */

.wifi-faq {
    background: #0d0d0f;
}

.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
}

.faq-list details {
    padding: 22px 0;
    border-bottom: 1px solid rgba(214,181,116,.18);
}

.faq-list summary {
    cursor: pointer;
    color: #f0e9dc;
    font-size: 15px;
    font-weight: 700;
}

.faq-list details[open] summary {
    color: var(--gold);
}

.faq-list details p {
    color: #aaa39a;
    line-height: 1.9;
    font-size: 13px;
    margin-top: 17px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .package-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .wifi-hero-grid {
        gap: 30px;
    }

    .signal-ring.ring-one {
        width: 350px;
        height: 350px;
    }

    .wifi-solutions-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 850px) {
    .wifi-hero-grid,
    .coverage-grid,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .wifi-hero-art {
        min-height: 390px;
    }
}

@media (max-width: 650px) {
    .wifi-hero {
        min-height: auto;
        padding: 155px 0 75px;
    }

    .wifi-hero h1 {
        font-size: clamp(43px,10vw,60px);
        letter-spacing: -2px;
    }

    .wifi-hero-actions {
        flex-direction: column;
    }

    .wifi-hero-actions .btn {
        width: 100%;
    }

    .wifi-hero-art {
        min-height: 320px;
    }

    .signal-ring.ring-one {
        width: 300px;
        height: 300px;
    }

    .ring-two {
        width: 235px;
        height: 235px;
    }

    .ring-three {
        width: 175px;
        height: 175px;
    }

    .wifi-core {
        width: 160px;
        height: 160px;
    }

    .wifi-core strong {
        font-size: 29px;
    }

    .signal-label {
        font-size: 9px;
        padding: 9px 12px;
    }

    .label-home {
        left: 0;
        top: 10%;
    }

    .label-hotspot {
        right: 0;
    }

    .package-grid,
    .wifi-solutions-grid {
        grid-template-columns: 1fr;
    }

    .package-card {
        padding: 30px 24px;
    }

    .coverage-card {
        padding: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .signal-ring {
        animation: none;
    }

    .package-card,
    .wifi-solution-card {
        transition: none;
    }
}

/* DODE WIFI HERO LOGO ANIMATION */

@keyframes dodeDance {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }

    25% {
        transform: translateY(-14px) rotate(2deg);
    }

    50% {
        transform: translateY(-24px) rotate(0deg);
    }

    75% {
        transform: translateY(-12px) rotate(3deg);
    }
}

/* Apply this class to the actual logo element */
.dode-dancing-logo {
    animation: dodeDance 5s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .dode-dancing-logo {
        animation: none;
    }
}

/* =========================================
   DODE WIFI - HOME STYLE ANIMATED LOGO
========================================= */

.wifi-hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    isolation: isolate;
}

.dode-hero-animation {
    position: relative;
    width: min(100%, 480px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    margin-inline: auto;
}

/* Reuse the home page's visual styling */
.wifi-hero-art .dode-home-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    display: grid;
    place-items: center;
}

/* Dancing motion for the central logo */
@keyframes dodeHeroDance {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(-3deg);
    }

    25% {
        transform: translate(-50%, -54%) rotate(2deg);
    }

    50% {
        transform: translate(-50%, -57%) rotate(0deg);
    }

    75% {
        transform: translate(-50%, -53%) rotate(3deg);
    }
}

.wifi-hero-art .wifi-center {
    animation: dodeHeroDance 5s ease-in-out infinite;
    transform-origin: center;
}

/* Keep labels positioned around the logo */
.wifi-hero-art .signal-label {
    z-index: 4;
}

@media (max-width: 768px) {
    .dode-hero-animation {
        width: min(100%, 360px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wifi-hero-art .wifi-center {
        animation: none;
    }
}
