/* Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    min-height: 44px;
}

.btn-primary {
    background: white;
    color: black;
    border: 1px solid white;
}

.btn-primary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(7, 7, 7, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    justify-self: start;
    margin-left: 80px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 48px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    justify-self: center;
}

.nav-cta {
    justify-self: end;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    justify-self: end;
    cursor: pointer;
}

.mobile-only {
    display: none;
}

/* Service Cards */
.service-card {
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(25, 25, 25, 1) 0%, rgba(15, 15, 15, 1) 100%);
    border: 1px solid var(--panel-border);
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.service-card:hover .card-image {
    filter: grayscale(0%);
}


/* CTA Panel */
.cta-panel {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 24px;
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Mobile Nav */
@media (max-width: 1024px) {
    .navbar {
        padding: 15px 0;
        background: rgba(7, 7, 7, 0.8);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(7, 7, 7, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        padding: 2rem;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.25rem;
        letter-spacing: 0.1em;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        z-index: 1001;
    }

    .nav-cta {
        display: none;
        /* Hide desktop CTA */
    }

    .nav-menu .nav-cta-mobile {
        display: block;
        width: 100%;
        max-width: 300px;
        margin-top: 1rem;
    }

    .logo {
        margin-left: 0;
    }

    .logo img {
        height: 48px;
    }
}

/* FAQ Section */
.text-gradient-gray {
    background: linear-gradient(to right, #B0B0B0, #E0E0E0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
    font-family: var(--font-main);
    text-transform: none;
    font-variation-settings: 'wdth' 115;
}

.faq-question:hover {
    color: var(--accent-gray);
}

.faq-question .icon {
    font-size: 1.5rem;
    color: var(--accent-gray);
    transition: transform 0.3s ease;
    font-weight: 300;
    pointer-events: none;
    /* Ensure click passes to button */
}

.faq-question span {
    pointer-events: none;
    /* Ensure click passes to button */
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding-bottom: 1.5rem;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact Redesign */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 350px 1fr;
        gap: 3rem;
    }
}

.contact-card {
    background: var(--panel-color);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--text-secondary);
}

.contact-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    font-family: inherit;
    /* Ensure global font */
}

.btn-glow {
    width: 100%;
    padding: 1.25rem;
    background: white;
    color: black;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
    /* Pill shape */
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: block;
    margin-top: 1rem;
    font-family: inherit;
    /* Ensure global font */
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* Instagram Feed */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    margin-bottom: 3rem;
}

@media (max-width: 1200px) {
    .instagram-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.insta-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 1rem;
    color: white;
    font-weight: 600;
}

/* Legal Cards */
.legal-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 4rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    margin-bottom: 4rem;
}

.legal-card h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.legal-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
}

.legal-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }

    .legal-card h1 {
        font-size: 2.5rem;
    }
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

.insta-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Location Badge */
.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.location-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.location-badge svg {
    width: 1rem;
    height: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: var(--panel-color);
    border: 1px solid var(--panel-border);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    /* Will be styled with accent gradient in HTML mainly */
}

.checkmark-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 3rem;
    margin-top: 3rem;
    border-top: 1px solid var(--panel-border);
    padding-top: 3rem;
}

.checkmark-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.checkmark-icon {
    color: #4CAF50;
    /* Green checkmark or can be gray */
    width: 1.2rem;
    height: 1.2rem;
}

/* Redesigned Services Section */
.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.services-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-card-v2 {
    background: var(--panel-color);
    border: 1px solid var(--panel-border);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.service-card-v2.popular {
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: black;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.service-card-v2 .card-price {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0;
    color: white;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
}

.service-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.service-features-list li svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--text-primary);
}

.plus-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-style: italic;
}

/* Maintenance Plans */
.maintenance-section {
    margin-top: 8rem;
}

.maintenance-card {
    background: var(--panel-color);
    border: 1px solid var(--panel-border);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.maintenance-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.maintenance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .maintenance-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.maintenance-price {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

/* Promo System */
.promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.promo-overlay.active {
    display: flex;
    opacity: 1;
}

@keyframes promoBackdrop {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(25px);
    }
}

.promo-modal {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    padding: 5rem 4rem;
    max-width: 520px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.7) translateY(40px) rotate(-3deg);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.9), 0 0 60px rgba(255, 255, 255, 0.05);
}

.promo-overlay.active .promo-modal {
    transform: scale(1) translateY(0) rotate(0);
    opacity: 1;
}

.promo-modal .close-promo {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.promo-modal .close-promo:hover {
    color: white;
    opacity: 1;
    transform: rotate(90deg);
}

.promo-modal h2 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: white;
    letter-spacing: -3px;
    line-height: 0.9;
}

.promo-modal .promo-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    margin-bottom: 2rem;
    display: block;
    color: var(--text-secondary);
}

.promo-modal .promo-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.promo-modal .promo-small {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.promo-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.promo-modal .btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.promo-modal .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}


/* Apex WebWorks Glow */
.apex-glow {
    color: white;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}


/* Standardized Footer */
.site-footer {
    border-top: 1px solid var(--panel-border);
    padding: 5rem 0 3rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.02), transparent);
}

.footer-main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.footer-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}


.footer-column h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
}

.footer-col-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-col-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-col-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.footer-col-center .footer-links {
    align-items: center;
}

.footer-col-right .footer-links {
    align-items: flex-end;
}


.footer-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.footer-copyright .body-text {
    margin: 0;
}

@media (max-width: 992px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-link:hover {
        transform: none;
    }

    .footer-links {
        align-items: center;
    }

    .footer-col-left,
    .footer-col-right,
    .footer-col-center {
        align-items: center;
        text-align: center;
    }

    .footer-col-right .footer-links {
        align-items: center;
    }
}

/* Minimized Promo Badge */
.promo-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.1);
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.promo-badge.visible {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.promo-badge:hover {
    transform: scale(1.1) rotate(5deg);
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.2);
}

.promo-badge .badge-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: #111;
    line-height: 1;
}

.promo-badge .badge-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .promo-badge {
        bottom: 20px;
        right: 20px;
        width: 70px;
        height: 70px;
    }

    .promo-badge .badge-text {
        font-size: 1.3rem;
    }

    .promo-badge .badge-sub {
        font-size: 0.6rem;
    }
}