/* GEN-Z INTERNET-NATIVE LANDING PAGE STYLES */

.storefront-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fdfdfd;
}

/* Helpers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #111;
}

/* Header */
.store-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.store-logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: #111;
    letter-spacing: -0.05em;
}

.store-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.store-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.store-nav a:hover {
    color: #000;
}

.hamburger-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 768px) {
    .hamburger-menu { display: block; }
    .store-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; left: 0; right: 0;
        background: white;
        padding: 1.5rem 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        gap: 1.5rem;
        z-index: 100;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    .store-nav.active { display: flex; }
}

/* Hero Section */
.hero-section {
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
    line-height: 1;
    color: #000;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: #555;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-visual {
    background: #f4f4f4;
    border-radius: 30px;
    padding: 3rem 2rem;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}

.visual-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
}

.visual-step {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    width: 100%;
}

.visual-btn {
    background: #111;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}
.visual-btn:hover {
    transform: scale(1.05);
}

.visual-arrow {
    color: #999;
}

/* Why Section */
.why-section {
    padding: 6rem 0;
    background: #111;
    color: white;
}

.why-section .section-title {
    color: white;
}

.why-copy p {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases-section {
    padding: 6rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.category-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: #111;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.category-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.category-link {
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Templates Preview */
.templates-preview-section {
    padding: 6rem 0;
    background: #f9f9f9;
    text-align: center;
}

.template-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.template-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.template-visual {
    background: white;
    border-radius: 30px;
    padding: 1rem;
    width: 100%;
    aspect-ratio: 9/16;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.mock-phone {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #fff;
    border: 4px solid #eee;
    overflow: hidden;
}

.template-info {
    font-weight: 700;
    font-size: 1.1rem;
}

/* How It Works */
.how-section {
    padding: 6rem 0;
    background: white;
}

.steps-list {
    text-align: left;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: #fcfcfc;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
}

.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: #ccc;
    font-family: 'Caveat', cursive;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #555;
    line-height: 1.5;
}

/* Share Section */
.share-section {
    padding: 6rem 0;
    background: #eef2ff;
}

.share-mockup {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.share-btn-mock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

/* Pricing Section */
.pricing-section {
    padding: 8rem 0;
    background: #111;
    color: white;
}

.pricing-section .section-title {
    color: white;
}

.price-display {
    margin: 2rem 0;
}

.price-amount {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.price-desc {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.digital-note {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 4rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: white;
}

.faq-item {
    background: #fcfcfc;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #999;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Final CTA */
.final-cta-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, #fff, #f4f4f4);
}

/* Buttons */
.btn-primary {
    background: #000;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #222;
}

.btn-white {
    background: white;
    color: #111;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s;
    border: 1px solid #ddd;
}

.btn-white:hover {
    transform: translateY(-2px);
    border-color: #000;
}

/* Footer overrides */
.store-footer {
    padding: 4rem 2rem 3rem;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.footer-link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}
.footer-link:hover {
    color: #000;
}

/* RESTORED CATEGORY & LEGAL STYLES */
/* Template Storefront (Category Page) */
.category-hero { padding: 4rem 2rem; text-align: center; background: #fff; border-bottom: 1px solid rgba(0,0,0,0.05); }
.templates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto; padding: 4rem 2rem; }
.template-card { background: white; border-radius: 24px; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.06); display: flex; flex-direction: column; position: relative; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; }
.template-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.1); }
.premium-badge { position: absolute; top: 1.25rem; right: 1.25rem; background: rgba(0,0,0,0.04); color: #111; font-size: 0.7rem; font-weight: 700; padding: 0.4rem 0.75rem; border-radius: 12px; border: 1px solid rgba(0,0,0,0.05); z-index: 10; letter-spacing: 0.03em; text-transform: uppercase; backdrop-filter: blur(4px); transition: all 0.2s ease; }
.template-card:hover .premium-badge { background: #111; color: #fff; border-color: #111; }
.free-badge { position: absolute; top: 1.25rem; right: 1.25rem; background: rgba(34, 197, 94, 0.1); color: #166534; font-size: 0.7rem; font-weight: 700; padding: 0.4rem 0.75rem; border-radius: 12px; border: 1px solid rgba(34, 197, 94, 0.2); z-index: 10; letter-spacing: 0.03em; text-transform: uppercase; transition: all 0.2s ease; }
.template-card:hover .free-badge { background: #166534; color: #fff; border-color: #166534; }
.template-badge { background: rgba(0,0,0,0.05); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; align-self: flex-start; margin-bottom: 1rem; }
.template-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.template-desc { color: #666; font-size: 0.95rem; line-height: 1.5; flex-grow: 1; margin-bottom: 1.5rem; }
.template-price { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 1.5rem; }
.price-current { font-size: 1.8rem; font-weight: 700; }
.price-original { color: #999; text-decoration: line-through; font-size: 1rem; }

/* Custom Design Section */
.custom-design-section { background: var(--foreground); color: white; padding: 4rem 2rem; text-align: center; margin-top: auto; }
.custom-design-container { max-width: 800px; margin: 0 auto; }
.custom-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin: 3rem 0; }
.tier-card { background: rgba(255,255,255,0.1); padding: 2rem; border-radius: 15px; border: 1px solid rgba(255,255,255,0.2); }
.tier-time { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: #ccc; }
.tier-price { font-size: 2rem; font-weight: 700; }

/* Modal for Custom Design */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: white; padding: 2rem; border-radius: 20px; max-width: 500px; width: 90%; position: relative; transform: translateY(20px); transition: transform 0.3s ease; color: var(--foreground); }
.modal-overlay.active .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 1rem; right: 1.5rem; font-size: 1.5rem; cursor: pointer; background: none; border: none; }
.modal-content input, .modal-content textarea { width: 100%; padding: 0.8rem; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 8px; font-family: var(--font-main); }

/* Footer & Legal Global Styles */
.legal-container { max-width: 800px; margin: 4rem auto; padding: 2rem; background: white; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.05); }
.legal-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.03em; }
.legal-last-updated { color: #999; font-size: 0.9rem; margin-bottom: 2rem; font-weight: 500; }
.legal-content h2, .legal-content h3 { margin-top: 2rem; margin-bottom: 1rem; font-weight: 700; }
.legal-content p, .legal-content ul, .legal-content li { color: #444; line-height: 1.6; margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; }
