/* Bitcoin Church South Africa - Main Stylesheet */
/* Color Palette: Deep Protea Pink (#D14474), Gold (#D4AF37), Charcoal Slate (#1A1A1A) */

:root {
    --protea-pink: #D14474;
    --protea-pink-light: #E85A8A;
    --protea-pink-dark: #B0355E;
    --gold: #D4AF37;
    --gold-light: #E8C84A;
    --gold-dark: #B8962F;
    --charcoal: #1A1A1A;
    --charcoal-light: #2D2D2D;
    --charcoal-lighter: #3D3D3D;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --gray: #888888;
    --light-gray: #CCCCCC;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--charcoal);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--white);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--gold);
}

p {
    margin-bottom: 1rem;
    color: var(--light-gray);
    font-size: 1.1rem;
}

a {
    color: var(--protea-pink-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--charcoal-lighter);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--protea-pink);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--light-gray);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--protea-pink);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--white);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 4rem;
    background: 
        radial-gradient(ellipse at top right, rgba(209, 68, 116, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        var(--charcoal);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D14474' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(209, 68, 116, 0.2);
    border: 1px solid var(--protea-pink);
    color: var(--protea-pink-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--light-gray);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--protea-pink) 0%, var(--protea-pink-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(209, 68, 116, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(209, 68, 116, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--charcoal);
    transform: translateY(-3px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--charcoal);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    color: var(--charcoal);
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 5rem 1.5rem;
}

.section-alt {
    background: var(--charcoal-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--charcoal-light);
    border: 1px solid var(--charcoal-lighter);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--protea-pink), var(--gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--protea-pink);
    box-shadow: 0 10px 40px rgba(209, 68, 116, 0.2);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--protea-pink) 0%, var(--protea-pink-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--light-gray);
}

.feature-list li::before {
    content: '✓';
    color: var(--gold);
    font-weight: bold;
    flex-shrink: 0;
}

/* Warning Box */
.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.warning-box h4 {
    color: var(--danger);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Info Box */
.info-box {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--success);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h4 {
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Tip Box */
.tip-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.tip-box h4 {
    color: var(--warning);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Affiliate Links */
.affiliate-card {
    background: linear-gradient(135deg, var(--charcoal-light) 0%, var(--charcoal-lighter) 100%);
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.affiliate-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.affiliate-card .logo-placeholder {
    width: 80px;
    height: 80px;
    background: var(--charcoal);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid var(--gold);
}

.affiliate-card h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.affiliate-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* FAQ */
.faq-item {
    background: var(--charcoal-light);
    border: 1px solid var(--charcoal-lighter);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--white);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--charcoal-lighter);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-question::after {
    content: '▼';
    color: var(--protea-pink);
    transition: transform 0.3s ease;
}

/* Footer */
.footer {
    background: var(--charcoal-light);
    border-top: 1px solid var(--charcoal-lighter);
    padding: 4rem 1.5rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--gray);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--protea-pink-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--charcoal-lighter);
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-disclaimer {
    background: rgba(239, 68, 68, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1.5rem;
    background: var(--charcoal-light);
    border-bottom: 1px solid var(--charcoal-lighter);
}

.breadcrumbs-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.breadcrumbs a {
    color: var(--light-gray);
}

.breadcrumbs a:hover {
    color: var(--protea-pink-light);
}

.breadcrumbs .current {
    color: var(--gold);
}

/* Page Header */
.page-header {
    padding: 10rem 1.5rem 4rem;
    background: 
        radial-gradient(ellipse at top right, rgba(209, 68, 116, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        var(--charcoal);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--charcoal-light);
    border-radius: 12px;
    border: 1px solid var(--charcoal-lighter);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Steps */
.steps {
    counter-reset: step;
    margin: 3rem 0;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--charcoal-light);
    border-radius: 12px;
    border: 1px solid var(--charcoal-lighter);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--protea-pink) 0%, var(--protea-pink-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--gray);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 7rem 1rem 3rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--charcoal);
}

::-webkit-scrollbar-thumb {
    background: var(--charcoal-lighter);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--protea-pink);
}

/* Selection */
::selection {
    background: var(--protea-pink);
    color: var(--white);
}

/* Highlight Text */
.highlight {
    color: var(--protea-pink-light);
    font-weight: 600;
}

.highlight-gold {
    color: var(--gold);
    font-weight: 600;
}

/* Local Context Badges */
.local-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Quote */
.quote {
    border-left: 4px solid var(--protea-pink);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--light-gray);
}

.quote-author {
    display: block;
    margin-top: 1rem;
    color: var(--gold);
    font-style: normal;
    font-weight: 600;
}

/* Table */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--charcoal-light);
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--charcoal-lighter);
}

th {
    background: var(--charcoal-lighter);
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

tr:hover {
    background: rgba(209, 68, 116, 0.05);
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.comparison-card {
    background: var(--charcoal-light);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.comparison-card.recommended {
    border-color: var(--gold);
    position: relative;
}

.comparison-card.recommended::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--charcoal);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.comparison-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.comparison-card .price {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Trust Indicators */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.trust-badge svg {
    color: var(--success);
}
