/* tanso.club - Styles */
/* Colors: #1a1a2e (deep base), #4a90d9 (primary blue), #f5f0e8 (warm off-white), #e8b84b (accent gold), #6c757d (muted gray) */
/* Fonts: Bebas Neue (headings), Inter (body), Space Grotesk (accent) */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a2e;
    color: #f5f0e8;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   CANVAS - Generative Art Background
   ============================================ */

#waveCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   ETHEREAL LIGHT EFFECTS
   ============================================ */

.ethereal-light {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(120px);
}

.ethereal-light-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 184, 75, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: floatLight1 20s ease-in-out infinite;
}

.ethereal-light-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.1) 0%, transparent 70%);
    bottom: 20%;
    left: -150px;
    animation: floatLight2 25s ease-in-out infinite;
}

.ethereal-light-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 184, 75, 0.08) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation: floatLight3 18s ease-in-out infinite;
}

@keyframes floatLight1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 80px) scale(1.1); }
    66% { transform: translate(30px, -40px) scale(0.95); }
}

@keyframes floatLight2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(60px, -50px) scale(1.15); }
    70% { transform: translate(-30px, 30px) scale(0.9); }
}

@keyframes floatLight3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -60px) scale(1.1); }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 40px;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0) 100%);
    transition: background 0.4s ease;
}

.site-header.scrolled {
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    letter-spacing: 0.15em;
    color: #e8b84b;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #f5f0e8;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #e8b84b;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #e8b84b;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #e8b84b;
    color: #e8b84b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #e8b84b;
    color: #1a1a2e;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 40px 80px;
}

.hero-content {
    max-width: 900px;
}

.hero-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #e8b84b;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(5rem, 15vw, 14rem);
    line-height: 0.9;
    letter-spacing: 0.05em;
    color: #f5f0e8;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-title-accent {
    color: #e8b84b;
    display: block;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.7;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.btn-primary {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 16px 40px;
    background: #e8b84b;
    color: #1a1a2e;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #f5f0e8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 184, 75, 0.3);
}

.btn-secondary {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 16px 40px;
    background: transparent;
    color: #f5f0e8;
    border: 1px solid rgba(245, 240, 232, 0.3);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.hero-wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
}

.hero-wave {
    width: 100%;
    height: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */

.section-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #e8b84b;
    margin-bottom: 16px;
}

.section-heading {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: 0.03em;
    color: #f5f0e8;
}

.decorative-line {
    width: 60px;
    height: 2px;
    background: #e8b84b;
    margin-top: 32px;
}

/* ============================================
   ABOUT SECTION - Magazine Spread
   ============================================ */

.about-section {
    position: relative;
    z-index: 2;
    padding: 120px 40px;
}

.magazine-spread {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.spread-left {
    position: sticky;
    top: 140px;
}

.editorial-text {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(245, 240, 232, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: #e8b84b;
    line-height: 1;
}

.stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6c757d;
    margin-top: 8px;
}

/* ============================================
   METRICS SECTION
   ============================================ */

.metrics-section {
    position: relative;
    z-index: 2;
    padding: 120px 40px;
}

.metrics-header {
    max-width: 1200px;
    margin: 0 auto 60px;
}

.wave-visualization {
    width: 100%;
    height: 300px;
    margin-bottom: 80px;
    position: relative;
}

.metrics-wave-svg {
    width: 100%;
    height: 100%;
}

.metrics-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.metric-card {
    background: rgba(245, 240, 232, 0.03);
    border: 1px solid rgba(245, 240, 232, 0.08);
    padding: 40px 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #e8b84b, #4a90d9);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.metric-card:hover {
    transform: scale(1.03);
    background: rgba(245, 240, 232, 0.06);
    border-color: rgba(232, 184, 75, 0.2);
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-card-icon {
    margin-bottom: 24px;
}

.metric-card-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #f5f0e8;
    margin-bottom: 12px;
}

.metric-card-desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 24px;
}

.metric-card-value {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: #e8b84b;
}

.metric-card-value small {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6c757d;
}

/* ============================================
   MEMBERSHIP SECTION
   ============================================ */

.membership-section {
    position: relative;
    z-index: 2;
    padding: 120px 40px;
}

.membership-header {
    max-width: 1200px;
    margin: 0 auto 80px;
    text-align: center;
}

.membership-intro {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: #6c757d;
    max-width: 600px;
    margin: 24px auto 0;
}

.membership-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.tier-card {
    background: rgba(245, 240, 232, 0.03);
    border: 1px solid rgba(245, 240, 232, 0.08);
    padding: 48px 36px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.tier-card:hover {
    transform: scale(1.04);
    border-color: rgba(232, 184, 75, 0.3);
}

.tier-featured {
    border-color: rgba(232, 184, 75, 0.4);
    background: rgba(232, 184, 75, 0.05);
    transform: scale(1.02);
}

.tier-featured:hover {
    transform: scale(1.06);
}

.tier-badge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #e8b84b;
    margin-bottom: 16px;
}

.tier-name {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.2rem;
    letter-spacing: 0.08em;
    color: #f5f0e8;
    margin-bottom: 20px;
}

.tier-price {
    margin-bottom: 32px;
}

.price-amount {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: #e8b84b;
}

.price-period {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: #6c757d;
}

.tier-features {
    list-style: none;
    text-align: left;
    margin-bottom: 36px;
}

.tier-features li {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(245, 240, 232, 0.7);
    padding: 10px 0;
    border-bottom: 1px solid rgba(245, 240, 232, 0.06);
    position: relative;
    padding-left: 20px;
}

.tier-features li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #e8b84b;
    font-weight: 500;
}

.tier-cta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 14px 36px;
    background: transparent;
    border: 1px solid rgba(245, 240, 232, 0.2);
    color: #f5f0e8;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.tier-cta:hover {
    border-color: #e8b84b;
    color: #e8b84b;
}

.tier-cta-featured {
    background: #e8b84b;
    border-color: #e8b84b;
    color: #1a1a2e;
}

.tier-cta-featured:hover {
    background: #f5f0e8;
    border-color: #f5f0e8;
    color: #1a1a2e;
}

/* ============================================
   JOURNAL SECTION
   ============================================ */

.journal-section {
    position: relative;
    z-index: 2;
    padding: 120px 40px;
}

.journal-header {
    max-width: 1200px;
    margin: 0 auto 60px;
}

.journal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.journal-card {
    background: rgba(245, 240, 232, 0.03);
    border: 1px solid rgba(245, 240, 232, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.journal-card:hover {
    transform: scale(1.02);
    border-color: rgba(232, 184, 75, 0.3);
}

.journal-card-large {
    grid-row: span 2;
}

.journal-card-inner {
    padding: 40px 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.journal-category {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #e8b84b;
    margin-bottom: 16px;
}

.journal-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    letter-spacing: 0.03em;
    color: #f5f0e8;
    margin-bottom: 16px;
    line-height: 1.1;
}

.journal-card-large .journal-title {
    font-size: 2.5rem;
}

.journal-excerpt {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: #6c757d;
    flex: 1;
}

.journal-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 240, 232, 0.08);
}

.journal-date,
.journal-read {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    position: relative;
    z-index: 2;
    padding: 120px 40px;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: #6c757d;
    margin: 24px 0 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-input {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    padding: 16px 20px;
    background: rgba(245, 240, 232, 0.05);
    border: 1px solid rgba(245, 240, 232, 0.1);
    color: #f5f0e8;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: #6c757d;
}

.form-input:focus {
    outline: none;
    border-color: #e8b84b;
}

.form-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c757d' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-select option {
    background: #1a1a2e;
    color: #f5f0e8;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    align-self: flex-start;
    margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    position: relative;
    z-index: 2;
    padding: 80px 40px 40px;
    border-top: 1px solid rgba(245, 240, 232, 0.06);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.footer-logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    color: #e8b84b;
}

.footer-tagline {
    font-size: 0.85rem;
    font-weight: 300;
    color: #6c757d;
    margin-top: 8px;
}

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

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

.footer-col-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #f5f0e8;
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 0.85rem;
    font-weight: 300;
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #e8b84b;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(245, 240, 232, 0.06);
    text-align: center;
}

.footer-bottom span {
    font-size: 0.75rem;
    font-weight: 300;
    color: #6c757d;
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1024px) {
    .magazine-spread {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .spread-left {
        position: static;
    }

    .metrics-cards,
    .membership-tiers {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .tier-featured {
        transform: none;
    }

    .journal-grid {
        grid-template-columns: 1fr;
    }

    .journal-card-large {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .about-section,
    .metrics-section,
    .membership-section,
    .journal-section,
    .contact-section {
        padding: 80px 24px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 48px;
    }

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