/*
Theme Name: BlankSlate Child
Template: blankslate
Version: 1.0
*/

/* ===================================
   HEADER STYLES
   =================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    z-index: 9999;
    background: #ffffff;
    border-bottom: 1px solid #000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    /* Hidden if using image logo, visible if text only */
}

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

.site-nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: opacity 0.2s;
    line-height: 1;
}

.site-nav a:hover {
    opacity: 0.6;
}

/* Add padding to body to account for fixed header */
body {
    padding-top: 100px !important;
    margin: 0;
}

/* ===================================
   BUY PAGE STYLES
   =================================== */

.buy-page {
    background: #fff;
    color: #000;
}

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

/* Hero Section */
.hero-section {
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 600;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin: 0;
}

/* Product Section */
.product-section {
    padding: 4rem 0;
}

.product-card {
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2.5rem;
    background: #fff;
}

.product-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.product-description {
    color: #666;
    margin: 0 0 2rem;
}

.product-pricing {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    font-weight: 500;
}

.amount {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.period {
    font-size: 1.25rem;
    color: #666;
    margin-left: 0.25rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.product-features li {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid #f5f5f5;
}

.product-features li:last-child {
    border-bottom: none;
}

/* How It Works Section */
.how-it-works-section {
    padding: 4rem 0;
    background: #fafafa;
}

.how-it-works-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.step p {
    color: #666;
    margin: 0;
}

/* FAQ Section (on Buy Page) */
.faq-section {
    padding: 4rem 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 2rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   BTCPAY PAYMENT BUTTONS
   =================================== */

.btcpay-payment-section {
    margin-top: 2rem;
}

.payment-label {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.btcpay-button-wrapper {
    margin-bottom: 1rem;
}

/* Style the BTCPay buttons that will be inserted */
.btcpay-bitcoin-wrapper form button,
.btcpay-bitcoin-wrapper button[type="submit"],
.btcpay-bitcoin-wrapper .btcpay-button {
    width: 100% !important;
    padding: 1.25rem !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: opacity 0.2s, transform 0.1s !important;
    color: #fff !important;
    background: linear-gradient(135deg, #f7931a 0%, #ff8c00 100%) !important;
    box-shadow: 0 4px 12px rgba(247, 147, 26, 0.3) !important;
}

.btcpay-bitcoin-wrapper form button:hover,
.btcpay-bitcoin-wrapper button[type="submit"]:hover,
.btcpay-bitcoin-wrapper .btcpay-button:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(247, 147, 26, 0.4) !important;
}

.btcpay-lightning-wrapper form button,
.btcpay-lightning-wrapper button[type="submit"],
.btcpay-lightning-wrapper .btcpay-button {
    width: 100% !important;
    padding: 1.25rem !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: opacity 0.2s, transform 0.1s !important;
    color: #fff !important;
    background: linear-gradient(135deg, #792de4 0%, #a855f7 100%) !important;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3) !important;
}

.btcpay-lightning-wrapper form button:hover,
.btcpay-lightning-wrapper button[type="submit"]:hover,
.btcpay-lightning-wrapper .btcpay-button:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4) !important;
}

/* Hide BTCPay default logos/icons if they interfere */
.btcpay-bitcoin-wrapper img,
.btcpay-lightning-wrapper img {
    display: inline-block;
    max-height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.payment-note {
    text-align: center;
    font-size: 0.875rem;
    color: #999;
    margin-top: 1rem;
    font-style: italic;
}

/* Placeholder styling (remove after you paste real buttons) */
.placeholder-button {
    width: 100%;
    padding: 1.25rem;
    background: #f0f0f0;
    color: #999;
    border: 2px dashed #ccc;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* Ensure BTCPay forms don't have weird spacing */
.btcpay-button-wrapper form {
    margin: 0;
}

/* Remove old payment methods styles */
.payment-methods,
.payment-icons,
.payment-option,
.buy-button {
    display: none;
}

/* ===================================
   FAQ PAGE STYLES
   =================================== */

.faq-page {
    background: #fff;
    color: #000;
}

/* FAQ Hero Section */
.faq-hero-section {
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.faq-hero-section h1 {
    font-size: 3rem;
    font-weight: 600;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.faq-hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin: 0;
}

/* FAQ Main Section */
.faq-main-section {
    padding: 4rem 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Accordion Items */
.faq-accordion-item {
    border-bottom: 1px solid #e5e5e5;
}

.faq-accordion-item:first-child {
    border-top: 1px solid #e5e5e5;
}

.faq-accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #000;
    transition: color 0.2s;
}

.faq-accordion-header:hover {
    color: #666;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    min-width: 24px;
    text-align: center;
    transition: transform 0.3s;
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0;
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 500px;
    padding: 0 0 1.5rem 0;
}

.faq-accordion-content p {
    color: #666;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.faq-accordion-content p:last-child {
    margin-bottom: 0;
}

/* FAQ Contact Section */
.faq-contact-section {
    padding: 4rem 0;
    text-align: center;
    background: #fafafa;
}

.faq-contact-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.faq-contact-section p {
    color: #666;
    font-size: 1.125rem;
    margin: 0 0 2rem;
}

.contact-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.contact-button:hover {
    opacity: 0.8;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */

@media (max-width: 768px) {
    /* Hero sections */
    .hero-section h1,
    .faq-hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle,
    .faq-hero-subtitle {
        font-size: 1rem;
    }
    
    /* Product pricing */
    .amount {
        font-size: 3rem;
    }
    
    .product-card {
        padding: 2rem;
    }
    
    /* Steps */
    .steps {
        grid-template-columns: 1fr;
    }
    
    /* FAQ */
    .faq-accordion-header {
        font-size: 1rem;
        padding: 1.25rem 0;
    }
    
    .faq-contact-section h2 {
        font-size: 1.5rem;
    }
    
    /* BTCPay buttons */
    .btcpay-bitcoin-wrapper button,
    .btcpay-lightning-wrapper button {
        padding: 1rem !important;
        font-size: 0.9rem !important;
    }
}