/* GHOST MVP Theme & Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
    --bg-dark: #07070b;
    --bg-card: rgba(15, 15, 27, 0.65);
    --border-color: rgba(139, 92, 246, 0.25);
    --border-hover: rgba(16, 185, 129, 0.45);
    --primary: #8b5cf6; /* Neon Violet */
    --primary-glow: rgba(139, 92, 246, 0.5);
    --secondary: #10b981; /* Toxic Green */
    --secondary-glow: rgba(16, 185, 129, 0.4);
    --accent: #06b6d4; /* Cyber Blue */
    --accent-glow: rgba(6, 182, 212, 0.4);
    --gold: #f59e0b; /* Golden Badge */
    --gold-glow: rgba(245, 158, 11, 0.4);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Grids & Blobs */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(7, 7, 11, 0.5);
}
::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.6);
}

.landing-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 8px var(--primary-glow));
    animation: floatGhost 3s ease-in-out infinite;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.nav-early-access {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-early-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.7);
}

/* Two Column Layout */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .landing-container {
        padding: 20px;
    }
}

/* Left Side - Brand & Onboarding */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: fit-content;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, #fff 0%, #c084fc 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Early Access Form Widget */
.waitlist-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.waitlist-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.waitlist-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.early-access-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--secondary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
}

.waitlist-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .waitlist-input-group {
        grid-template-columns: 1fr;
    }
}

.input-field-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.input-box:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.phone-wrapper {
    display: flex;
    gap: 8px;
}

.phone-prefix {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    width: 65px;
    text-align: center;
}

.waitlist-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, #059669 100%);
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--secondary-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.waitlist-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.waitlist-social-proof {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.waitlist-social-proof .green-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--secondary);
    animation: pulse 1.5s infinite;
}

.waitlist-social-proof strong {
    color: #fff;
}

/* Phone Mockup Simulator Frame */
.simulator-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 360px;
    height: 700px;
    background: #090911;
    border: 10px solid #1a1a2e;
    border-radius: 44px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Phone Speaker & Camera Notch */
.phone-notch {
    width: 140px;
    height: 25px;
    background: #1a1a2e;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 100;
}

/* App Header inside Phone */
.app-viewport-header {
    background: rgba(13, 13, 24, 0.9);
    padding: 30px 18px 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 90;
}

.app-city-tag {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.app-city-tag::after {
    content: '▼';
    font-size: 0.6rem;
    color: var(--primary);
}

.app-action-icon {
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: transform 0.2s;
}

.app-action-icon:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* App Viewport Body (Feed / Chats) */
.app-viewport-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background-color: #040408;
    padding-bottom: 80px; /* Spacer for bottom navigation */
}

/* Glassmorphic Post Cards */
.post-card {
    background: rgba(17, 17, 33, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.post-card:hover {
    border-color: rgba(139, 92, 246, 0.2);
}

.post-card.champion {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(17, 17, 33, 0.95) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08);
}

.post-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.post-distance {
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-timer {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.post-card.champion .post-timer {
    color: var(--gold);
    background: rgba(245, 158, 11, 0.1);
}

.post-body {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #eaeaea;
    white-space: pre-wrap;
    word-break: break-word;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.post-reactions {
    display: flex;
    gap: 8px;
}

.reaction-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.reaction-pill:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    color: #fff;
    transform: scale(1.05);
}

.reaction-pill.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
    color: #fff;
}

.post-echo-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.post-echo-btn:hover {
    color: var(--secondary);
}

.post-echo-btn.echoed {
    color: var(--secondary);
    animation: scalePop 0.3s ease-out;
}

/* Chat Initiate Icon */
.shadow-message-trigger {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.03);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.8rem;
}

.shadow-message-trigger:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
    color: var(--accent);
}

/* Golden Ghost Badge */
.gold-ghost-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
    border: 1.5px solid #fff;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 900;
    color: #000;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Post Draft Creator Screen */
.create-post-screen {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.post-composer-area {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.composer-textarea {
    width: 100%;
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-body);
    resize: none;
    line-height: 1.5;
}

.composer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.post-submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.post-submit-btn:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.locked-post-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding: 40px 20px;
    height: 100%;
}

.lock-timer {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

/* Leaderboard Page */
.leaderboard-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.streak-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.streak-info h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.streak-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.streak-counter {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: #ff4500;
    display: flex;
    align-items: center;
    gap: 4px;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.2);
}

/* Unlocked Avatars Showcase */
.avatar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.avatar-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.5;
    transition: all 0.3s;
}

.avatar-item.unlocked {
    opacity: 1;
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.03);
}

.avatar-icon {
    font-size: 1.5rem;
}

.avatar-label {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.avatar-item.unlocked .avatar-label {
    color: var(--accent);
    font-weight: 700;
}

/* Chat Views */
.chat-window {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    background: rgba(13, 13, 24, 0.8);
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-title-wrap {
    display: flex;
    flex-direction: column;
}

.chat-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
}

.chat-timer {
    font-size: 0.7rem;
    color: var(--accent);
}

.chat-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.4;
    word-break: break-word;
}

.message-bubble.incoming {
    background: rgba(255, 255, 255, 0.06);
    color: #eaeaea;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message-bubble.outgoing {
    background: var(--primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-input-bar {
    display: flex;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.chat-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 8px 16px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.chat-send-btn:hover {
    transform: scale(1.05);
}

/* Ghost Friends List View */
.friends-list-header {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.friends-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.friend-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s;
    cursor: pointer;
}

.friend-card:hover {
    border-color: rgba(6, 182, 212, 0.2);
}

.friend-identity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.friend-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.friend-nickname {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.friend-status {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.friend-streak {
    font-size: 0.8rem;
    color: #ff4500;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Bottom Tab Navigation inside Phone */
.app-nav-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 24, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 14px 18px 14px;
    display: flex;
    justify-content: space-between;
    z-index: 100;
}

.nav-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    transition: color 0.2s;
}

.nav-tab-item:hover {
    color: #fff;
}

.nav-tab-item.active {
    color: var(--primary);
}

.nav-tab-icon {
    font-size: 1.25rem;
}

/* City Picker Modal overlay */
.city-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 8, 0.85);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.city-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.city-modal-content {
    width: 100%;
    background: #0d0d18;
    border-top: 1px solid var(--border-color);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 24px 18px 30px 18px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.1, 0.76, 0.55, 0.94);
}

.city-modal.active .city-modal-content {
    transform: translateY(0);
}

.city-modal-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.city-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.city-option {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
}

.city-option:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.city-option.active {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--primary);
    font-weight: 700;
}

/* Feature Explainer Slides Section */
.features-section {
    padding: 40px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 40px;
}

/* Beautiful Interactive Slides (Carousel) */
.slides-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .slides-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .slides-carousel {
        grid-template-columns: 1fr;
    }
}

.slide-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.slide-card:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.05);
}

.slide-num {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.slide-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Success State Animations & Modals */
.early-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 8, 0.9);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.early-success-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.early-success-content {
    background: rgba(15, 15, 27, 0.95);
    border: 1px solid var(--border-hover);
    padding: 40px;
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.early-success-modal.active .early-success-content {
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--secondary);
    box-shadow: 0 0 20px var(--secondary-glow);
    animation: successPulse 2s infinite;
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.success-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.success-close-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, #059669 100%);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--secondary-glow);
    transition: all 0.3s;
}

.success-close-btn:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* General Animations */
@keyframes floatGhost {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes successPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes scalePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Floating Particle Animation */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    animation: rise 5s linear infinite;
}

@keyframes rise {
    0% { transform: translateY(0px) translateX(0px); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: translateY(-120px) translateX(15px); opacity: 0; }
}
