/* FlowPass Detail Page - Dark Coffee Theme */

/* Variables */
.fp-detail {
    --fp-bg: #1a1714;
    --fp-bg-light: #2d2926;
    --fp-accent: #a67c52;
    --fp-accent-glow: rgba(166, 124, 82, 0.3);
    --fp-text: #f5f3f0;
    --fp-text-muted: #a39a90;
    --fp-border: rgba(255,255,255,0.1);
}

.fp-detail {
    background: var(--fp-bg);
    color: var(--fp-text);
    font-family: var(--font-sans);
}

/* Hero */
.fp-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fp-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1714 0%, #3d3632 50%, #1a1714 100%);
}

.fp-hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(166, 124, 82, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(111, 78, 55, 0.1) 0%, transparent 50%);
}

.fp-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: fp-float 20s ease-in-out infinite;
}

.fp-hero-orb--1 {
    width: 400px;
    height: 400px;
    background: rgba(166, 124, 82, 0.2);
    top: 10%;
    left: 20%;
}

.fp-hero-orb--2 {
    width: 300px;
    height: 300px;
    background: rgba(111, 78, 55, 0.15);
    bottom: 20%;
    right: 15%;
    animation-delay: -7s;
}

.fp-hero-orb--3 {
    width: 200px;
    height: 200px;
    background: rgba(166, 124, 82, 0.1);
    top: 50%;
    right: 30%;
    animation-delay: -14s;
}

@keyframes fp-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

.fp-hero {
    flex-direction: row;
    justify-content: space-between;
    padding: 4rem;
    gap: 2rem;
}

.fp-hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 550px;
    padding: 2rem 0;
}

.fp-hero-image {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 380px;
    max-height: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.4),
        0 10px 30px rgba(166, 124, 82, 0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.fp-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

@media (max-width: 900px) {
    .fp-hero {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }
    .fp-hero-content {
        text-align: center;
        max-width: 100%;
    }
    .fp-hero-image {
        width: 100%;
        max-width: 320px;
        max-height: 450px;
    }
}

.fp-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--fp-accent);
    color: #0a0e1a;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.fp-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--fp-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fp-tagline {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--fp-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.fp-subtitle {
    font-size: 1.125rem;
    color: var(--fp-text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.fp-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.fp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.fp-btn--primary {
    background: var(--fp-accent);
    color: #0a0e1a;
    box-shadow: 0 0 30px var(--fp-accent-glow);
}

.fp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px var(--fp-accent-glow);
}

.fp-btn--ghost {
    background: transparent;
    color: var(--fp-text);
    border: 1px solid var(--fp-border);
}

.fp-btn--ghost:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--fp-accent);
}

.fp-btn--large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* Sections */
.fp-section {
    padding: 6rem 2rem;
}

.fp-section--dark {
    background: var(--fp-bg-light);
}

.fp-section--accent {
    background: linear-gradient(180deg, var(--fp-bg) 0%, #1e1b4b 100%);
}

.fp-section--cta {
    background: linear-gradient(135deg, #1e1b4b 0%, var(--fp-bg) 100%);
}

.fp-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.fp-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fp-accent);
    margin-bottom: 0.75rem;
}

.fp-section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

/* Problem Grid */
.fp-problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.fp-problem-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--fp-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.fp-problem-card:hover {
    border-color: var(--fp-accent);
    transform: translateY(-4px);
}

.fp-problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.fp-problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.fp-problem-card p {
    color: var(--fp-text-muted);
    line-height: 1.6;
}

/* Flow Steps */
.fp-flow {
    max-width: 700px;
    margin: 0 auto;
}

.fp-flow-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.fp-flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(180deg, var(--fp-accent) 0%, transparent 100%);
}

.fp-flow-number {
    width: 50px;
    height: 50px;
    background: var(--fp-accent);
    color: #0a0e1a;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 30px var(--fp-accent-glow);
}

.fp-flow-content h3 {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

.fp-flow-content p {
    color: var(--fp-text-muted);
    line-height: 1.7;
}

.fp-flow-quote {
    font-style: italic;
    color: var(--fp-accent);
    border-left: 3px solid var(--fp-accent);
    padding-left: 1rem;
    margin: 1rem 0;
}

/* Screens */
.fp-screens {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.fp-screen {
    text-align: center;
}

.fp-screen-mockup {
    background: var(--fp-bg);
    border: 1px solid var(--fp-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.fp-screen:hover .fp-screen-mockup {
    border-color: var(--fp-accent);
    box-shadow: 0 0 30px var(--fp-accent-glow);
}

.fp-screen-header {
    background: rgba(6, 182, 212, 0.1);
    padding: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--fp-accent);
    border-bottom: 1px solid var(--fp-border);
}

.fp-screen-body {
    padding: 1rem;
    min-height: 150px;
}

.fp-mock-input, .fp-mock-slider, .fp-mock-btn, .fp-mock-stop, .fp-mock-alt, .fp-mock-slot, .fp-mock-stat {
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    color: var(--fp-text-muted);
}

.fp-mock-btn {
    background: var(--fp-accent);
    color: #0a0e1a;
    font-weight: 600;
}

.fp-mock-stop--next {
    border: 1px solid var(--fp-accent);
}

.fp-mock-slot--perk {
    border: 1px solid #10b981;
    color: #10b981;
}

.fp-mock-actions {
    font-size: 0.65rem;
    color: var(--fp-accent);
}

.fp-screen h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.fp-screen p {
    font-size: 0.875rem;
    color: var(--fp-text-muted);
}

/* Tech Grid */
.fp-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.fp-tech-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--fp-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.fp-tech-card h4 {
    color: var(--fp-accent);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.fp-tech-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-tech-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--fp-border);
    font-size: 0.9rem;
    color: var(--fp-text-muted);
}

.fp-tech-card li:last-child {
    border-bottom: none;
}

.fp-tech-card code {
    background: rgba(6, 182, 212, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--fp-accent);
}

/* Package Grid */
.fp-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.fp-package-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.fp-package-item:hover {
    background: rgba(6, 182, 212, 0.05);
    transform: translateY(-4px);
}

.fp-package-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.fp-package-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.fp-package-item p {
    font-size: 0.875rem;
    color: var(--fp-text-muted);
}

/* CTA Box */
.fp-cta-box {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid var(--fp-accent);
    border-radius: 24px;
    box-shadow: 0 0 60px var(--fp-accent-glow);
}

.fp-cta-box h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--fp-accent);
    margin-bottom: 0.5rem;
}

.fp-cta-box p {
    color: var(--fp-text-muted);
    margin-bottom: 2rem;
}

/* Back */
.fp-back {
    padding: 2rem;
    text-align: center;
}

.fp-back a {
    color: var(--fp-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.fp-back a:hover {
    color: var(--fp-accent);
}

/* Responsive */
@media (max-width: 768px) {
    .fp-section {
        padding: 4rem 1.5rem;
    }
    
    .fp-flow-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .fp-flow-step::after {
        display: none;
    }
    
    .fp-screens {
        grid-template-columns: repeat(2, 1fr);
    }
}
