/* Premium Black & White Theme for Stepado */

/* CSS Variables for Consistency */
:root {
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-gray-100: #f8f8f8;
    --color-gray-200: #eeeeee;
    --color-gray-800: #222222;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --container-width: 1200px;
    --transition-base: all 0.3s ease;
}

/* Base Styles (No * selector allowed) */
.app-html {
    scroll-behavior: smooth;
}

.app-body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

.app-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Loader */
.app-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.loader-bar {
    width: 0;
    height: 4px;
    background: var(--color-white);
    animation: loading 2s infinite ease-in-out;
}

@keyframes loading {
    0% {
        width: 0;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 0;
        right: 0;
    }
}

/* Ad Notes */
.top-ad-note {
    background-color: var(--color-gray-100);
    padding: 10px 0;
    font-size: 0.85rem;
    text-align: center;
    border-bottom: 1px solid var(--color-gray-200);
    color: var(--color-gray-800);
}

/* Header */
.app-header {
    background: var(--color-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-black);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.nav-link:hover {
    opacity: 0.7;
}

.cta-header {
    background: var(--color-black);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 4px;
}

.cta-header:hover {
    background: var(--color-gray-800);
    opacity: 1;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 10px 0 25px;
}

.hero-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gray-800);
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-gray-800);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.app-btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--color-black);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.price-tag {
    font-size: 1.2rem;
    font-weight: 700;
}

.hero-image-wrapper {
    position: relative;
    border: 20px solid var(--color-white);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.08);
}

.hero-img {
    width: 100%;
    display: block;
}

/* Sections Common */
.section-header {
    margin-bottom: 50px;
}

.section-header.centered {
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-tagline {
    color: var(--color-gray-800);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px;
    background: var(--color-gray-100);
    border-radius: 8px;
    transition: var(--transition-base);
}

.feature-card:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.feature-icon {
    margin-bottom: 25px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonial-card {
    background: var(--color-white);
    padding: 40px;
    border-left: 5px solid var(--color-black);
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.stars {
    color: var(--color-black);
    margin-bottom: 15px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-gray-200);
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.show {
    max-height: 200px;
    padding-bottom: 25px;
}

/* Footer */
.app-footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-white);
    text-decoration: none;
}

.footer-desc {
    opacity: 0.6;
    margin-top: 20px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    background: none;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-base);
}

.footer-link:hover {
    color: var(--color-white);
}

.footer-text {
    opacity: 0.6;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
}

.footer-ad-warning {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.copyright {
    opacity: 0.4;
    font-size: 0.8rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: var(--color-white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    padding: 30px;
    z-index: 5000;
    border-radius: 8px;
    display: none;
    max-width: 500px;
}

.cookie-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.cookie-btns {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-black);
    color: var(--color-black);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 6000;
}

.hamburger-box {
    width: 30px;
    height: 20px;
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--color-black);
    position: absolute;
    border-radius: 4px;
    transition: transform 0.15s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: "";
    top: -8px;
    left: 0;
}

.hamburger-inner::after {
    content: "";
    bottom: -8px;
    left: 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    background: var(--color-white);
    z-index: 5000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    padding: 40px;
    display: none;
    /* Hidden by default on desktop */
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
        /* Only show the container on mobile */
    }
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-close {
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 50px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
}

.mobile-nav-item {
    margin-bottom: 25px;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--color-black);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Modals */
.app-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: var(--color-white);
    padding: 60px 40px;
    max-width: 600px;
    width: 100%;
    border-radius: 8px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    border: none;
    background: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 30px;
}

.modal-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.modal-list li {
    margin-bottom: 10px;
    color: var(--color-gray-800);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        margin: 0 auto 40px;
    }

    .hero-cta-wrapper {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}