/* style.css - Alejandro Sosa 2026 — Tech E-commerce Specialist */

/* ============================
   BASE
   ============================ */
body {
    background-color: #0a0a0a;
    color: #e5e5e5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: #ffffff;
    color: #000000;
}

/* ============================
   SCROLLBAR
   ============================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* ============================
   GRID BACKGROUND
   ============================ */
.grid-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* ============================
   REVEAL ANIMATIONS
   ============================ */
.reveal-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   NAVBAR
   ============================ */
nav {
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 50rem;
    height: 64px;
    border-radius: 9999px;
    background-color: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
nav.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(10, 10, 10, 0.85);
}

/* ============================
   BUSINESS TYPE CARDS
   ============================ */
.biz-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
    cursor: default;
}
.biz-card:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
    transform: translateY(-3px);
}
.biz-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1rem;
    color: #e5e5e5;
}

/* ============================
   PRICING CARDS
   ============================ */
.pricing-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover {
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.pricing-card.featured {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 0 40px rgba(255,255,255,0.04);
}
.pricing-card.featured:hover {
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 20px 60px rgba(255,255,255,0.06);
}
.badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #000000;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 9999px;
    white-space: nowrap;
    letter-spacing: 0.07em;
}
.price-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #8a8a8a;
    line-height: 1.5;
}
.price-feature .chk {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    color: #e5e5e5;
}

/* ============================
   ADDON CARDS
   ============================ */
.addon-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.3s, transform 0.3s;
}
.addon-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}
.addon-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1rem;
    color: #e5e5e5;
}

/* ============================
   HOW IT WORKS — STEPS
   ============================ */
.step-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover {
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-3px);
}
.step-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    margin-bottom: 1rem;
}
.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    margin: 0 auto 1rem;
    color: #e5e5e5;
}

/* ============================
   PROJECT CARDS
   ============================ */
.project-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}
.project-card:hover {
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-3px);
}
.project-img-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.15);
}

/* ============================
   FAQ ACCORDION
   ============================ */
.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.open {
    border-color: rgba(255,255,255,0.2);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 500;
    font-size: 0.95rem;
    color: #e5e5e5;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    gap: 1rem;
    font-family: 'Inter', sans-serif;
}
.faq-question:hover { color: #ffffff; }
.faq-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #555;
    flex-shrink: 0;
}
.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: #e5e5e5;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.875rem;
    color: #8a8a8a;
    line-height: 1.75;
}
.faq-item.open .faq-answer {
    max-height: 400px;
}

/* ============================
   TEMPLATE CARDS PREMIUM
   ============================ */
.template-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.template-card:hover {
    transform: translateY(-4px);
}
.template-preview {
    position: relative;
    border-radius: 12px;
    border-width: 1px;
    border-style: solid;
    overflow: hidden;
    margin-bottom: 1.25rem;
    height: 240px;
    display: flex;
    flex-direction: column;
}
.template-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.template-demo-btn {
    padding: 0.6rem 1.5rem;
    background: #fff;
    color: #000;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 8px;
    text-decoration: none;
    transform: translateY(8px);
    transition: transform 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.template-card:hover .template-demo-btn {
    transform: translateY(0);
}
.template-badge {
    font-size: 0.71rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
}
.template-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.t-tag {
    font-size: 0.72rem;
    padding: 0.22rem 0.6rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    color: #8a8a8a;
    font-family: 'Inter', sans-serif;
}

/* --- Simulated UI elements --- */
.sim-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    height: 32px;
    flex-shrink: 0;
}
.sim-logo {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: 'Poppins', sans-serif;
}
.sim-nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
}
.sim-nav-links span {
    width: 22px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.12);
}
.sim-cta {
    width: 36px;
    height: 14px;
    border-radius: 4px;
}
.sim-hero {
    flex: 1;
    padding: 10px 14px;
    display: flex;
    align-items: flex-start;
}
.sim-hero-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}
.sim-badge {
    font-size: 7px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    border: 1px solid;
    padding: 2px 6px;
    border-radius: 9999px;
    width: fit-content;
}
.sim-h1 {
    height: 10px;
    border-radius: 4px;
    width: 75%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* fallback visual bar */
    background-size: 200% 100%;
}
.sim-h1.short { width: 50%; height: 8px; }
.sim-btns {
    display: flex;
    gap: 5px;
    margin-top: 2px;
}
.sim-btn-p {
    width: 50px;
    height: 14px;
    border-radius: 4px;
}
.sim-btn-s {
    width: 44px;
    height: 14px;
    border-radius: 4px;
}
.sim-cards {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
    flex-shrink: 0;
}
.sim-card {
    flex: 1;
    border-radius: 6px;
    overflow: hidden;
}
.sim-card-img {
    height: 36px;
}
.sim-card-body {
    padding: 4px 5px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.sim-text-l {
    height: 5px;
    border-radius: 2px;
    width: 80%;
}
.sim-text-s {
    height: 4px;
    border-radius: 2px;
    width: 55%;
}
.sim-price {
    height: 6px;
    border-radius: 2px;
    width: 45%;
    margin-top: 2px;
}

/* ============================
   SELECTED PLAN BANNER
   ============================ */
#selected-plan-row:not(.hidden) {
    display: flex;
}

/* ============================
   CONTACT FORM
   ============================ */
.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.75rem 0;
    color: #e5e5e5;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
    font-family: 'Inter', sans-serif;
}
.form-input::placeholder { color: rgba(138,138,138,0.5); }
.form-input:focus {
    border-bottom-color: #ffffff;
}
.form-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23555'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 1rem;
    padding-right: 1.5rem;
}
.form-select option { background: #0a0a0a; color: #e5e5e5; }

/* ============================
   TEMPLATE CARD HOVER
   ============================ */
#templates .group:hover .aspect-\[4\/3\] {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* ============================
   MARQUEE (legacy, kept)
   ============================ */
.animate-marquee { animation: marquee 15s linear infinite; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.pause { animation-play-state: paused; }
