/* Neuralis BookMaker - Home Page Styles */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.gradient-text {
    display: block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

/* Metaphor Section */
.metaphor {
    padding: 8rem 4rem;
    position: relative;
    z-index: 1;
}

.metaphor-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.blueprint-frame {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 184, 184, 0.2);
    padding: 3rem;
    position: relative;
}

.blueprint-frame::before {
    content: 'BLUEPRINT';
    position: absolute;
    top: -0.8rem;
    left: 2rem;
    background: var(--bg-secondary);
    padding: 0 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--accent);
}

.blueprint-content {
    aspect-ratio: 4/3;
    background: 
        linear-gradient(rgba(0, 184, 184, 0.1), rgba(0, 184, 184, 0.05)),
        repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(0, 184, 184, 0.1) 20px, rgba(0, 184, 184, 0.1) 21px),
        repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(0, 184, 184, 0.1) 20px, rgba(0, 184, 184, 0.1) 21px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-icon {
    width: 120px;
    height: 160px;
    border: 2px solid var(--accent);
    position: relative;
    transform: perspective(500px) rotateY(-15deg);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
}

.book-icon::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(to right, var(--accent), rgba(0, 184, 184, 0.5));
    transform: skewY(-5deg);
}

.book-lines {
    position: absolute;
    top: 20%;
    left: 15%;
    right: 15%;
}

.book-lines span {
    display: block;
    height: 2px;
    background: rgba(0, 184, 184, 0.4);
    margin-bottom: 10px;
}

.book-lines span:nth-child(1) { width: 100%; }
.book-lines span:nth-child(2) { width: 80%; }
.book-lines span:nth-child(3) { width: 90%; }
.book-lines span:nth-child(4) { width: 70%; }
.book-lines span:nth-child(5) { width: 85%; }

.metaphor-content h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.metaphor-text {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.role-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.role-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-left: 3px solid var(--accent);
}

.role-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

.role-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.role-card.ai {
    border-left-color: var(--text-secondary);
    opacity: 0.7;
}

/* Process Section */
.process {
    padding: 8rem 4rem;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.process h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 5rem;
}

.process-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.process-step::after {
    content: '→';
    position: absolute;
    right: -1rem;
    top: 3rem;
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.5;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 1rem;
    border-radius: 2px;
}

.step-badge.human {
    background: rgba(0, 184, 184, 0.2);
    color: var(--accent);
}

.step-badge.ai {
    background: rgba(160, 160, 168, 0.2);
    color: var(--text-secondary);
}

/* Gallery Section */
.gallery {
    padding: 8rem 4rem;
    position: relative;
    z-index: 1;
}

.gallery h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.gallery-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

.books-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.book-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.book-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.book-cover {
    aspect-ratio: 2/3;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.4s ease;
}

.book-card:hover .book-cover {
    box-shadow: 0 25px 50px rgba(0, 184, 184, 0.3);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--bg-primary);
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
}

.book-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover .book-title-overlay {
    opacity: 1;
}

.book-title-overlay h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.book-title-overlay span {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.book-cover.placeholder {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-content {
    text-align: center;
}

.placeholder-content .plus {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.placeholder-content .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.coming-soon {
    opacity: 0.5;
}

/* Final CTA */
.final-cta {
    padding: 10rem 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(0, 184, 184, 0.1) 0%, transparent 70%);
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.final-cta p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

/* Responsive */
@media (max-width: 1200px) {
    .books-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .metaphor-container { grid-template-columns: 1fr; gap: 4rem; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step::after { display: none; }
}

@media (max-width: 768px) {
    .metaphor, .process, .gallery, .final-cta { padding: 4rem 2rem; }
    .role-comparison { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .books-grid { grid-template-columns: repeat(2, 1fr); }
}
