@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #030014;
    --primary: #7000ff;
    --primary-glow: rgba(112, 0, 255, 0.4);
    --secondary: #00f3ff;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(23, 25, 50, 0.4);
    --glass-border: rgba(255, 255, 255, 0.06);
    --gradient-btn: linear-gradient(90deg, #7000ff 0%, #00c6ff 100%);
    --gradient-btn-hover: linear-gradient(90deg, #8a2be2 0%, #00d4ff 100%);
}

body.journal-landing-body {
    background-color: var(--bg-dark);
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Effects */
.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 1;
    pointer-events: none;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.12) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.08) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
}

/* Main Split Layout Container */
.journal-landing-container {
    max-width: 1300px;
    margin: 120px auto 60px; /* Offset for fixed header navigation */
    padding: 0 1.5rem;
    z-index: 2;
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.landing-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    width: 100%;
}

/* Left Pane Details */
.landing-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journal-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(112, 0, 255, 0.12);
    border: 1px solid rgba(112, 0, 255, 0.25);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #c4b5fd;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.landing-title {
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.title-gradient-split {
    background: linear-gradient(135deg, #00f3ff 0%, #b89fff 50%, #f0a8cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
    line-height: 1.6;
}

/* Feature Cards List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item-card {
    display: flex;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item-card:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(112, 0, 255, 0.2);
    box-shadow: 0 10px 30px rgba(112, 0, 255, 0.06);
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    background: radial-gradient(circle, rgba(112,0,255,0.2) 0%, rgba(0,243,255,0.05) 100%);
    border: 1px solid rgba(112,0,255,0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.feature-title-item {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f3f4f6;
    margin-bottom: 0.25rem;
}

.feature-desc-item {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Right Pane - Sleek Auth Panel */
.landing-auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-auth-card {
    width: 100%;
    max-width: 450px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.glass-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    transform: rotate(30deg);
    pointer-events: none;
}

.auth-header {
    margin-bottom: 1.75rem;
    text-align: center;
}

.auth-header h2 {
    font-family: 'Clash Display', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.auth-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.alert-message {
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

/* Form Styles */
.form-input-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form-input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i.input-icon {
    position: absolute;
    left: 14px;
    color: #6b7280;
    font-size: 1rem;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: rgba(3, 0, 20, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(112, 0, 255, 0.2);
    background: rgba(3, 0, 20, 0.6);
}

.input-with-icon i.toggle-password {
    position: absolute;
    right: 14px;
    color: #6b7280;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.input-with-icon i.toggle-password:hover {
    color: var(--text-main);
}

.forgot-pw-link {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.25rem;
}

.forgot-pw-link a {
    color: #a78bfa;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.forgot-pw-link a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

/* Buttons */
.auth-submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--gradient-btn);
    border: none;
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.2);
}

.auth-submit-btn:hover {
    background: var(--gradient-btn-hover);
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.45);
    transform: translateY(-1px);
}

.social-auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0 1.25rem;
    color: #4b5563;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-auth-divider::before,
.social-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.social-auth-divider span {
    padding: 0 10px;
}

.social-auth-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-btn.google {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

.social-btn.google:hover {
    background: #f9fafb;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.social-btn.discord {
    background: #5865F2;
    color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.social-btn.discord:hover {
    background: #4752c4;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.2);
}

.social-btn img {
    width: 18px;
    height: 18px;
}

.social-btn i {
    font-size: 1.15rem;
}

.auth-footer-prompt {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer-prompt a {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-footer-prompt a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 992px) {
    .journal-landing-container {
        margin: 100px auto 40px;
    }
    
    .landing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .landing-info {
        text-align: center;
        align-items: center;
    }
    
    .journal-badge {
        align-self: center;
    }
    
    .landing-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-list {
        width: 100%;
        max-width: 600px;
    }
    
    .feature-item-card {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .glass-auth-card {
        padding: 1.5rem;
    }
    
    .social-auth-options {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Custom Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.container-narrow {
    max-width: 1000px;
}

/* Stats Bar Section */
.journal-stats-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    z-index: 2;
    position: relative;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-bar-number {
    font-family: 'Clash Display', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00f3ff 0%, #b89fff 50%, #f0a8cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.stat-bar-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 768px) {
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Showcase Section */
.journal-showcase-section {
    padding: 6rem 0 4rem;
    z-index: 2;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.showcase-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.showcase-title {
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.showcase-subtitle {
     font-size: 1.05rem;
     color: var(--text-muted);
     max-width: 600px;
     margin: 0 auto;
     line-height: 1.6;
}

.showcase-tabs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.showcase-tab-buttons {
    display: flex;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
}

.showcase-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 24px;
    border-radius: 100px;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-tab-btn i {
    font-size: 0.95rem;
}

.showcase-tab-btn.active {
    background: var(--gradient-btn);
    color: white;
    box-shadow: 0 4px 20px rgba(112, 0, 255, 0.3);
}

.showcase-tab-btn:hover:not(.active) {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Mockup browser frame style */
.showcase-mockup-wrapper {
    width: 100%;
    max-width: 1050px;
    background: #0b081e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(112, 0, 255, 0.12);
}

.mockup-header-bar {
    background: #120f26;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dots {
    display: flex;
    gap: 6px;
    margin-right: 1.5rem;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #eab308; }
.mockup-dots span:nth-child(3) { background: #22c55e; }

.mockup-address {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
    max-width: 450px;
}

.mockup-body {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11.2;
    background: #070514;
}

.mockup-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
}

.mockup-screenshot.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .showcase-tab-buttons {
        flex-direction: column;
        border-radius: 16px;
        width: 100%;
        max-width: 320px;
    }
    
    .showcase-tab-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Details Features Section */
.journal-details-section {
    padding: 6rem 0;
    z-index: 2;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.details-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.details-section-header h2 {
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #00f3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.details-section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.details-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.details-feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.details-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(112, 0, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 15px 40px rgba(112, 0, 255, 0.08);
}

.details-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.details-feature-card:nth-child(even) .details-icon-box {
    background: rgba(112, 0, 255, 0.15);
    border: 1px solid rgba(112, 0, 255, 0.3);
    color: #a78bfa;
}

.details-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

.details-feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .details-features-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.journal-faq-section {
    padding: 6rem 0;
    z-index: 2;
    position: relative;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-header h2 {
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0a8cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.faq-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: #e5e7eb;
    text-align: left;
    gap: 1rem;
    transition: color 0.2s;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.faq-item.active {
    border-color: rgba(112, 0, 255, 0.3);
    background: rgba(112, 0, 255, 0.03);
    box-shadow: 0 4px 20px rgba(112, 0, 255, 0.05);
}

.faq-item.active .faq-question {
    color: white;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--secondary);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
    transition: max-height 0.3s ease-in;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

