/* --- GOOGLE FONT IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* --- CSS CUSTOM PROPERTIES (STYLE GUIDE) --- */
:root {
    --c-background-dark: #0D0D1A;
    --c-primary-accent: #4785cc;
    --c-card-bg-darker: #121212;
    --c-card-bg: #1A1A1A;
    --c-text-primary: #FFFFFF;
    --c-text-secondary: rgba(255, 255, 255, 0.7);
    --c-perf-up: #34D399;
    --c-perf-down: #F87171;
    --c-border-color: rgba(255, 255, 255, 0.15);
    --c-gauge-red: #F87171;
    --c-gauge-yellow: #FBBF24;
    --c-gauge-green: #34D399;

    --ff-primary: 'Poppins', sans-serif;
    --fs-headline: clamp(2.5rem, 5vw, 4rem);
    --fs-body: clamp(1rem, 2vw, 1.125rem);
    --fs-card-kol-name: 15.5px;
    --fs-card-kol-handle: 12.5px;

    --radius-card: 16px;
    --radius-button: 8px;

    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
}

/* --- GLOBAL RESETS & STYLES --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--c-background-dark);
    color: var(--c-text-primary);
    font-family: var(--ff-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.page-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-xl);
}

/* --- HEADER --- */
.main-header {
    margin-bottom: var(--spacing-xl);
}
.logo { height: 40px; }

/* --- HERO LAYOUT --- */
.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: var(--spacing-xl);
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 70vh;
    animation: fadeIn 0.8s ease-out;
}

.text-wrapper h1 {
    font-size: var(--fs-headline);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}
.text-wrapper p {
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--c-text-secondary);
    max-width: 500px;
}
.text-wrapper h1, .text-wrapper p {
    transition: opacity 0.4s ease-in-out;
}

.slide-navigation {
    margin-top: calc(var(--spacing-xl) * 2);
}

/* --- CTA BUTTONS --- */
.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.cta-button {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-button);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--c-border-color);
    cursor: pointer;
    text-align: center;
}
.google-play { background-color: var(--c-primary-accent); color: white; border-color: var(--c-primary-accent); }
.app-store { background-color: transparent; color: white; }
.cta-button:hover { transform: translateY(-3px); filter: brightness(1.1); }


/* --- VISUAL CONTENT & PHONE MOCK --- */
.visual-content {
    display: flex;
    justify-content: center;
    align-items: center;
}
.phone-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 428 / 886;
}
.phone-frame {
    position: absolute;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}
.phone-screen {
    position: absolute;
    top: 1.5%; left: 3.5%;
    width: 93%; height: 97%;
    border-radius: 40px;
    overflow: hidden;
    background-color: var(--c-card-bg-darker);
}

/* --- SWIPER STYLES --- */
.swiper { width: 100%; height: 100%; }
.swiper-slide { font-size: 1rem; }

.swiper-pagination {
    position: static;
    width: auto;
    text-align: left;
}
.swiper-pagination-bullet { background-color: var(--c-text-secondary); opacity: 0.5; }
.swiper-pagination-bullet-active { background-color: var(--c-text-primary); opacity: 1; }

/* --- MOCK COMPONENT STYLES (INSIDE PHONE) --- */
.mock-card {
    background-color: #1D1D1D;
    border-radius: var(--radius-card);
    padding: 12px;
    margin: 0 16px 12px;
}
.mock-card.highlighted { border: 1px solid rgba(255,255,255,0.2); }
.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-avatar { width: 40px; height: 40px; border-radius: 50%; background-color: #333; }
.card-author-info { display: flex; flex-direction: column; }
.card-author-name { font-weight: 600; font-size: var(--fs-card-kol-name); }
.card-author-handle { color: var(--c-text-secondary); font-size: var(--fs-card-kol-handle); }
.card-text { color: #E0E0E0; font-size: 14px; line-height: 1.5; }
.card-text .ticker { color: var(--c-primary-accent); font-weight: 600; }

/* 2. App Feed Mock */
.card-divider { height: 1px; background: #2C2C2E; margin: 0 var(--spacing-md); }
.feed-card { margin: 0; border-radius: 0; padding: var(--spacing-md); }
.perf-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.perf-tag {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.perf-tag.up { background-color: rgba(52, 211, 153, 0.1); color: var(--c-perf-up); }
.perf-tag.down { background-color: rgba(248, 113, 113, 0.1); color: var(--c-perf-down); }

/* 3. KOL Profile Mock */
.kol-profile-slide { background: var(--c-card-bg); padding: 24px 0; }
.kol-profile-header { padding: 0 24px; margin-bottom: 24px; }
.kol-profile-header .card-avatar { width: 48px; height: 48px; }
.gauge-container {
    position: relative; width: 150px; height: 150px;
    border-radius: 50%; margin: 0 auto 24px;
    display: flex; justify-content: center; align-items: center;
    background: conic-gradient(var(--c-gauge-red) 0deg 90deg, var(--c-gauge-yellow) 90deg 210deg, var(--c-gauge-green) 210deg 360deg);
}
.gauge-inner {
    width: 85%; height: 85%;
    background-color: var(--c-card-bg);
    border-radius: 50%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.gauge-score { font-size: 2.5rem; font-weight: 700; }
.gauge-label { font-size: 0.8rem; color: var(--c-text-secondary); text-transform: uppercase; }
.small-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 24px; }
.small-gauge { text-align: center; }
.small-gauge-circle {
    width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 4px;
    display: flex; justify-content: center; align-items: center; font-weight: 600; font-size: 14px;
}
.small-gauge-label { font-size: 11px; color: var(--c-text-secondary); }

/* 4. Top List Mock */
.top-list-slide { background: var(--c-card-bg); padding-top: 24px; }
.top-list-item {
    display: flex; align-items: center; gap: 16px;
    background: transparent; margin: 0; padding: 12px 24px;
}
.top-list-rank { font-size: 1.1rem; font-weight: 600; color: var(--c-text-secondary); width: 20px; text-align: center; }
.top-list-info { flex-grow: 1; }
.top-list-performance { font-size: 1.1rem; font-weight: 700; color: var(--c-perf-up); }

/* 5. New Calls Mock */
.new-call-slide { background: var(--c-card-bg); padding: 24px 12px; }
.new-call-card { background-color: var(--c-card-bg-darker); margin: 0 0 12px; }
.new-call-header { padding: 12px; }
.new-call-info { display: flex; gap: 12px; align-items: center; }
.new-call-title { flex-grow: 1; }
.new-call-title .coin-name { font-size: 1rem; font-weight: 600; }
.new-call-title .first-mention { font-size: 0.75rem; color: var(--c-text-secondary); }
.new-call-price { text-align: right; }
.new-call-price .price-label { font-size: 0.7rem; color: var(--c-text-secondary); }
.new-call-price .price-value { font-size: 1rem; font-weight: 600; }
.new-call-evals { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--c-border-color); }
.new-call-eval-item { padding: 8px; text-align: center; }
.new-call-eval-item:first-child { border-right: 1px solid var(--c-border-color); }
.new-call-eval-label { font-size: 0.8rem; }
.new-call-eval-value { font-size: 1.1rem; font-weight: 600; }
.new-call-eval-value.up { color: var(--c-perf-up); }
.new-call-eval-value.down { color: var(--c-perf-down); }


/* --- ANIMATIONS & RESPONSIVE --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; }
    .text-content { order: 2; text-align: center; min-height: auto; }
    .visual-content { order: 1; margin-bottom: var(--spacing-xl); }
    .text-wrapper { text-align: center; }
    .text-wrapper p { margin: 0 auto; }
    .slide-navigation, .cta-buttons { justify-content: center; }
    .swiper-pagination { text-align: center; }
}