/* ========================================
   BITCOIN LOTUS - STYLES
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors from Bitcoin Lotus iOS app */
    --color-background-black: #0f0f12;
    --color-surface-black: #16161a;
    --color-border: #222222;
    --color-text-primary: #e4e4e4;
    --color-text-secondary: #a1a1a1;
    --color-text-tertiary: #717171;
    --color-lotus-purple: #6e23b4;
    --color-lotus-turquoise: #2e9ca4;
    --color-bitcoin-orange: #f7931a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--color-background-black);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
}


/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background-color: var(--color-background-black);
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-image {
    width: 56px;
    height: 56px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 80px 0 100px;
    background-color: var(--color-background-black);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-text-primary);
}

.hero h2 {
    margin-top: 42px;
    color: var(--color-bitcoin-orange);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    display: inline-block;
    background-color: var(--color-lotus-purple);
    color: var(--color-text-primary);
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-primary:active {
    transform: translateY(0);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 80px 0;
    background-color: var(--color-background-black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background-color: var(--color-surface-black);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-lotus-purple);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-background-black);
    border-radius: 12px;
    color: var(--color-lotus-turquoise);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.feature-card p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    padding: 80px 0 100px;
    background-color: var(--color-surface-black);
}

.faq h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--color-text-primary);
}

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

.faq-item {
    background-color: var(--color-background-black);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    font-family: 'Inter', sans-serif;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--color-lotus-purple);
}

.faq-icon {
    font-size: 30px;
    color: var(--color-lotus-purple);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.faq-answer a {
    color: var(--color-lotus-turquoise);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--color-background-black);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-content > span {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-text-primary);
}

/* ========================================
   LEGAL PAGES STYLES
   ======================================== */
.legal-page {
  max-width: 1170px;
  margin: 0 auto;
  padding: 4rem 1rem;
  line-height: 1.7;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #f9fafb;
}

.legal-page h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #8b5cf6;
}

.legal-page h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #06b6d4;
}

.legal-page p {
  margin-bottom: 1.5rem;
  color: #d1d5db;
}

.legal-page ul, .legal-page ol {
  margin: 1rem 0 1.5rem 2rem;
  color: #d1d5db;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

.legal-page a {
  color: #8b5cf6;
  text-decoration: underline;
}

.legal-page a:hover {
  color: #06b6d4;
}

.notice {
  background-color: #374151;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
  border-left: 4px solid #8b5cf6;
}

.notice strong {
  color: #f59e0b;
}

.sticky-footer {
  margin-top: auto;
}


/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Header */
    .logo-image {
        width: 48px;
        height: 48px;
    }

    .logo-text {
        font-size: 18px;
    }

    /* Hero */
    .hero {
        padding: 60px 0 80px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    /* Hero buttons */
    .hero .btn-primary {
        width: 100%;
    }

    /* Features */
    .features {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 24px;
    }

    /* FAQ */
    .faq {
        padding: 60px 0 80px;
    }

    .faq h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .faq-question {
        font-size: 16px;
        padding: 16px 20px;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 15px;
    }

    /* Footer */
    .footer {
        padding: 32px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 16px;
    }
}

/* ========================================
   RESPONSIVE - SMALL MOBILE
   ======================================== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    /* Hero buttons */
    .hero .btn-primary {
        width: 100%;
    }

    .faq h2 {
        font-size: 24px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}