/* Custom Styling for Pip's Journey Premium Landing Page */

:root {
    --bg-color: #060913;
    --card-bg: rgba(30, 41, 59, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary-color: #58CC02;       /* Duolingo Green */
    --primary-glow: rgba(88, 204, 2, 0.25);
    --secondary-color: #00bfa5;     /* Turquoise */
    --accent-gold: #ffd700;          /* Magical Gold */
    --accent-glow: rgba(0, 191, 165, 0.2);
    --firefly-color: #ffd600;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

button {
    outline: none !important;
    border: none;
    background: none;
    -webkit-tap-highlight-color: transparent;
}

button::-moz-focus-inner {
    border: 0;
}

body {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Selection */
::selection {
    background-color: var(--primary-color);
    color: #000;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #080c14;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 2px solid #080c14;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Magic Firefly Cursor */
#magicCursor {
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, rgba(255, 214, 0, 0.8) 0%, rgba(255, 214, 0, 0) 70%);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Canvas background */
#firefliesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Header & Nav */
.navbar, .hero, .features-section, .showcase-section, .guides-section, .stats-section, .trailer-section, .faq-section, .main-footer {
    position: relative;
    z-index: 1;
}

.navbar {
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: rgba(6, 9, 19, 0.85);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

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

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.08) rotate(4deg);
}

.logo-text {
    font-weight: 800;
    font-size: 24px;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a.nav-item::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a.nav-item:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links .nav-link-secondary {
    font-weight: 400;
    font-size: 14px;
    opacity: 0.7;
}

.nav-links .nav-link-secondary:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Sections Global Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-tag {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
    background: rgba(88, 204, 2, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(88, 204, 2, 0.15);
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 40%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 77px);
    align-items: center;
    justify-content: space-between;
    padding: 80px 24px;
    gap: 60px;
}

.hero-content {
    flex: 1.2;
    max-width: 640px;
}

.badge {
    background-color: rgba(88, 204, 2, 0.08);
    border: 1px solid rgba(88, 204, 2, 0.2);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(88, 204, 2, 0.05);
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 40%, #a7f3d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h1 span {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 30%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #05080e;
    box-shadow: 0 8px 30px rgba(88, 204, 2, 0.3);
}

.btn-primary:hover {
    background-color: #6ee7b7;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(88, 204, 2, 0.4);
}

.btn-secondary {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-frame {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

.glow-ring {
    position: absolute;
    width: 310px;
    height: 310px;
    border: 1.5px dashed rgba(88, 204, 2, 0.2);
    border-radius: 50%;
    z-index: 1;
    animation: rotate 24s linear infinite;
}

.firefly-glow {
    position: absolute;
    width: 290px;
    height: 290px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0, 191, 165, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(30px);
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes glow-pulse {
    0%, 100% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Features Section */
.features-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 32px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(400px circle at var(--x, 0px) var(--y, 0px), rgba(255, 255, 255, 0.05), transparent 45%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.feature-icon-wrapper span {
    display: block;
    line-height: 1;
}

.feature-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15.5px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Feature Glow Colors */
.f-blue:hover { border-color: rgba(99, 102, 241, 0.4); box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15); transform: translateY(-6px); }
.f-blue:hover .feature-icon-wrapper { background: rgba(99, 102, 241, 0.15); border-color: rgba(99, 102, 241, 0.3); box-shadow: 0 0 25px rgba(99, 102, 241, 0.35); }

.f-green:hover { border-color: rgba(88, 204, 2, 0.4); box-shadow: 0 15px 35px rgba(88, 204, 2, 0.15); transform: translateY(-6px); }
.f-green:hover .feature-icon-wrapper { background: rgba(88, 204, 2, 0.15); border-color: rgba(88, 204, 2, 0.3); box-shadow: 0 0 25px rgba(88, 204, 2, 0.35); }

.f-yellow:hover { border-color: rgba(234, 179, 8, 0.4); box-shadow: 0 15px 35px rgba(234, 179, 8, 0.15); transform: translateY(-6px); }
.f-yellow:hover .feature-icon-wrapper { background: rgba(234, 179, 8, 0.15); border-color: rgba(234, 179, 8, 0.3); box-shadow: 0 0 25px rgba(234, 179, 8, 0.35); }

.f-purple:hover { border-color: rgba(168, 85, 247, 0.4); box-shadow: 0 15px 35px rgba(168, 85, 247, 0.15); transform: translateY(-6px); }
.f-purple:hover .feature-icon-wrapper { background: rgba(168, 85, 247, 0.15); border-color: rgba(168, 85, 247, 0.3); box-shadow: 0 0 25px rgba(168, 85, 247, 0.35); }

.f-gold:hover { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 15px 35px rgba(245, 158, 11, 0.15); transform: translateY(-6px); }
.f-gold:hover .feature-icon-wrapper { background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.3); box-shadow: 0 0 25px rgba(245, 158, 11, 0.35); }

.f-cyan:hover { border-color: rgba(6, 182, 212, 0.4); box-shadow: 0 15px 35px rgba(6, 182, 212, 0.15); transform: translateY(-6px); }
.f-cyan:hover .feature-icon-wrapper { background: rgba(6, 182, 212, 0.15); border-color: rgba(6, 182, 212, 0.3); box-shadow: 0 0 25px rgba(6, 182, 212, 0.35); }

/* Play Zone (Demo Games) Section */
.playzone-section {
    max-width: 1200px;
    margin: 140px auto;
    padding: 0 24px;
}

.playzone-container {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.playzone-tabs {
    display: flex;
    background: rgba(8, 12, 24, 0.5);
    border-bottom: 1px solid var(--card-border);
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    min-width: 160px;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(88, 204, 2, 0.05);
}

.playzone-game-content {
    padding: 40px;
}

.game-wrapper {
    display: none;
}

.game-wrapper.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.game-instructions {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
}

.game-feedback {
    min-height: 40px;
    margin-top: 25px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.feedback-correct {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.feedback-wrong {
    color: #f87171;
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.3);
}

/* Match Game Styles */
.match-game-board {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.match-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.match-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.match-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.match-card.selected {
    border-color: var(--primary-color);
    background: rgba(88, 204, 2, 0.08);
    box-shadow: 0 0 15px rgba(88, 204, 2, 0.2);
}

.match-card.matched {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.3);
    color: #a7f3d0;
    cursor: default;
    pointer-events: none;
    transform: none !important;
}

/* Unscramble Game Styles */
.unscramble-board {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.unscramble-sentence {
    min-height: 80px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.15);
}

.unscramble-pool {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 10px 0;
}

.word-block {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.word-block:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.word-block.used {
    opacity: 0.25;
    pointer-events: none;
    transform: scale(0.95);
}

.game-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

/* Countdown Game Styles */
.countdown-dashboard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: 18px;
    color: var(--text-primary);
}

.countdown-progress-bar {
    width: 100%;
    max-width: 600px;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin: 0 auto 30px;
    overflow: hidden;
}

.countdown-progress-bar .progress {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f87171 0%, #facc15 50%, #4ade80 100%);
    border-radius: 10px;
    transition: width 0.1s linear;
}

.countdown-play-area {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.countdown-play-area.hidden {
    display: none;
}

.cd-start-message {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 450px;
}

.countdown-question-word {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.1);
    animation: pulseWord 2s infinite alternate;
}

@keyframes pulseWord {
    from { transform: scale(0.98); }
    to { transform: scale(1.02); }
}

.countdown-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    width: 100%;
}

.cd-option-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cd-option-btn:hover {
    background: rgba(88, 204, 2, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(88, 204, 2, 0.2);
    transform: translateY(-2px);
}

/* Showcase Section */
.showcase-section {
    max-width: 1200px;
    margin: 140px auto;
    padding: 0 24px;
}

.showcase-vertical-container {
    display: flex;
    flex-direction: column;
    gap: 180px;
    margin-top: 100px;
    position: relative;
}

.showcase-vertical-container::before {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(88, 204, 2, 0.3) 0%, rgba(0, 191, 165, 0.3) 50%, transparent 100%);
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.showcase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-row.active {
    opacity: 1;
    transform: translateY(0);
}

.showcase-row.row-reverse {
    flex-direction: row-reverse;
}

.showcase-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.showcase-visual img {
    max-width: 310px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.showcase-row:hover .showcase-visual img {
    transform: scale(1.04) translateY(-8px) rotate(1deg);
    box-shadow: 0 35px 70px rgba(88, 204, 2, 0.22);
    border-color: rgba(88, 204, 2, 0.45);
}

.showcase-row.row-reverse:hover .showcase-visual img {
    transform: scale(1.04) translateY(-8px) rotate(-1deg);
}

/* Silhouette peek - Removido por glitch estético */
.showcase-silhouette {
    display: none;
}

.showcase-text {
    flex: 1.2;
    max-width: 520px;
}

.showcase-step {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
    background: rgba(88, 204, 2, 0.08);
    border: 1px solid rgba(88, 204, 2, 0.2);
    padding: 5px 14px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 22px;
    box-shadow: 0 0 10px rgba(88, 204, 2, 0.03);
}

.showcase-text h3 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.showcase-text p {
    font-size: 16.5px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Meet The Guides Section */
.guides-section {
    max-width: 1200px;
    margin: 140px auto;
    padding: 0 24px;
}

.guides-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.guide-profile {
    flex: 1;
    min-width: 320px;
    max-width: 550px;
    background: rgba(15, 23, 42, 0.25);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: 28px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    transition: all 0.4s ease;
}

.guide-profile:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.02);
}

.g-left:hover {
    border-color: rgba(88, 204, 2, 0.3);
    box-shadow: 0 15px 40px rgba(88, 204, 2, 0.1);
}

.g-right:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.1);
}

.avatar-holder {
    position: relative;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.avatar-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed;
    animation: rotate 20s linear infinite;
}

.color-green {
    border-color: rgba(88, 204, 2, 0.4);
}

.color-indigo {
    border-color: rgba(99, 102, 241, 0.4);
}

.avatar-svg-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 46px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-info h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.guide-role {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 16px;
}

.guide-info p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 80px 24px;
    background: radial-gradient(circle at center, rgba(88, 204, 2, 0.06) 0%, transparent 60%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-number {
    font-size: 64px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-feature-settings: "tnum";
}

.stat-plus {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-color);
    margin-left: 2px;
}

.stat-item p {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Audio Player Section */
.trailer-section {
    background-color: rgba(255, 255, 255, 0.005);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 100px 24px;
}

.trailer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.trailer-text {
    flex: 1.2;
    max-width: 550px;
}

.trailer-text h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trailer-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.audio-player-wrapper {
    flex: 1;
    max-width: 500px;
    width: 100%;
}

.custom-player {
    background-color: rgba(8, 12, 24, 0.85);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    padding: 30px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-color);
    color: #05080e;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(88, 204, 2, 0.35);
    flex-shrink: 0;
}

.play-button:hover {
    transform: scale(1.08);
    background-color: #6ee7b7;
    box-shadow: 0 10px 30px rgba(88, 204, 2, 0.45);
}

.player-info {
    flex: 1;
}

.player-title {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 12px;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.1s linear;
}

/* Audio Wave Spectrograph Simulator */
.audio-wave-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    width: 48px;
    flex-shrink: 0;
}

.wave-bar {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: height 0.15s ease, background-color 0.3s ease;
}

/* Animations for Visualizer when playing */
.custom-player.playing .wave-bar {
    background-color: var(--primary-color);
    animation: bounce 1.2s ease-in-out infinite alternate;
}

.custom-player.playing .wb1 { animation-delay: 0.1s; }
.custom-player.playing .wb2 { animation-delay: 0.3s; height: 16px; }
.custom-player.playing .wb3 { animation-delay: 0.5s; height: 24px; }
.custom-player.playing .wb4 { animation-delay: 0.2s; height: 32px; }
.custom-player.playing .wb5 { animation-delay: 0.4s; height: 18px; }
.custom-player.playing .wb6 { animation-delay: 0.6s; }

@keyframes bounce {
    0% { height: 6px; }
    100% { height: 36px; }
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 140px auto;
    padding: 0 24px;
}

.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}

.faq-item {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-trigger {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-icon {
    font-size: 22px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-content {
    padding-bottom: 24px;
}

.faq-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* Footer */
.main-footer {
    background-color: #03050a;
    border-top: 1px solid var(--card-border);
    padding: 80px 24px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    font-weight: 900;
    font-size: 26px;
    color: #fff;
    display: block;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 14.5px;
    color: var(--text-secondary);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.25);
}

/* Balloon Pop Game Styles */
.balloon-game-container {
    max-width: 650px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 24px;
    overflow: hidden;
    position: relative;
}

.balloon-sky {
    position: relative;
    height: 250px;
    width: 100%;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at bottom, rgba(88, 204, 2, 0.06) 0%, transparent 70%);
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.balloon-targets {
    display: flex;
    justify-content: space-around;
    gap: 16px;
    margin-top: 24px;
}

/* Individual Balloon */
.balloon {
    position: absolute;
    width: 64px;
    height: 80px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    cursor: pointer;
    box-shadow: inset -8px -8px 0 rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0,0,0,0.3);
    animation: bob 4s ease-in-out infinite alternate;
    transition: transform 0.1s ease;
}

.balloon::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 28px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid currentColor;
    transform: rotate(180deg);
}

.balloon-string {
    position: absolute;
    width: 2px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.15);
    bottom: -51px;
    left: 31px;
}

@keyframes bob {
    0% { transform: translateY(0px) rotate(-1deg); }
    100% { transform: translateY(-18px) rotate(2deg); }
}

.balloon-color-1 { background-color: #f43f5e; color: #f43f5e; border: 1.5px solid rgba(255,255,255,0.1); } /* Rose */
.balloon-color-2 { background-color: #3b82f6; color: #3b82f6; border: 1.5px solid rgba(255,255,255,0.1); } /* Blue */
.balloon-color-3 { background-color: #eab308; color: #eab308; border: 1.5px solid rgba(255,255,255,0.1); } /* Yellow */

/* Word Bubble from Popped Balloon */
.balloon-word {
    position: absolute;
    background: #0f172a;
    border: 2px solid var(--primary-color);
    color: #fff;
    padding: 10px 18px;
    border-radius: 14px;
    font-weight: 700;
    cursor: grab;
    user-select: none;
    box-shadow: 0 5px 15px rgba(88, 204, 2, 0.2);
    z-index: 10;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.balloon-word:active {
    cursor: grabbing;
}

.balloon-word.dragging {
    opacity: 0.5;
    transform: scale(1.05);
}

.balloon-word.selected {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Target Drop Zone */
.balloon-target-bin {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 22px 10px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.balloon-target-bin:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
}

.balloon-target-bin.drag-over {
    background: rgba(88, 204, 2, 0.08);
    border-color: var(--primary-color);
    color: #fff;
    transform: scale(1.03);
}

.balloon-target-bin.correct {
    background: rgba(74, 222, 128, 0.1);
    border-color: #22c55e;
    color: #4ade80;
    border-style: solid;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
}

.balloon-target-bin.wrong {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #f87171;
    border-style: solid;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* Particle Explosion effect */
.pop-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    animation: particleFly 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes particleFly {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

.ios-tagline {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.85;
}

/* Modal Glassmorphism Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(6, 9, 19, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-content {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(88, 204, 2, 0.12);
    border-radius: 28px;
    padding: 40px;
    max-width: 460px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-header-icon {
    font-size: 54px;
    margin-bottom: 18px;
    display: inline-block;
    animation: wave 2.5s infinite;
}

.modal-content h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.modal-highlight {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.modal-btn {
    width: 100%;
    padding: 14px 28px;
    border-radius: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        gap: 50px;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content h1 {
        font-size: 46px;
    }
    .hero-actions {
        width: 100%;
        justify-content: center;
    }
    .trailer-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .audio-player-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .showcase-row, .showcase-row.row-reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .showcase-text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .showcase-silhouette {
        display: none;
    }
    .guides-container {
        flex-direction: column;
        align-items: center;
    }
    .guide-profile {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .nav-container {
        flex-direction: column;
        gap: 16px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    .guide-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   Estilos Ultra-Premium Adicionales (smartphone mockups, avatares WebP, etc.)
   ========================================================================== */

/* Ajuste de los Nuevos Avatares WebP reales de la app */
.guide-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: #060913;
    z-index: 2;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
}

.guide-profile:hover .guide-avatar-img {
    transform: scale(1.06) rotate(-2deg);
}

/* Smartphone Mockup en Puro CSS */
.phone-mockup {
    position: relative;
    width: 290px;
    height: 590px;
    background-color: #080c14;
    border: 11px solid #1e293b; /* Chasis del teléfono */
    border-radius: 38px;
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.6),
        inset 0 0 12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    z-index: 2;
}

/* Reflejo metálico del borde */
.phone-body-frame {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 27px;
    pointer-events: none;
    z-index: 10;
}

/* Isla Dinámica (iOS-like) */
.phone-dynamic-island {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background-color: #000;
    border-radius: 12px;
    z-index: 15;
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Pantalla interna */
.phone-screen-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background-color: #04060a;
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Indicador de barra de inicio en la parte inferior */
.phone-home-indicator-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.45);
    border-radius: 2px;
    z-index: 15;
}

/* Efecto Hover 3D para Mockups */
.showcase-row:hover .phone-mockup {
    transform: perspective(800px) rotateY(-11deg) rotateX(3deg) scale(1.02);
    box-shadow: 
        -25px 25px 50px rgba(0, 0, 0, 0.65),
        5px 5px 30px rgba(88, 204, 2, 0.12),
        inset 0 0 10px rgba(0, 0, 0, 0.8);
    border-color: #2e3b52;
}

.showcase-row.row-reverse:hover .phone-mockup {
    transform: perspective(800px) rotateY(11deg) rotateX(3deg) scale(1.02);
    box-shadow: 
        25px 25px 50px rgba(0, 0, 0, 0.65),
        -5px 5px 30px rgba(88, 204, 2, 0.12),
        inset 0 0 10px rgba(0, 0, 0, 0.8);
    border-color: #2e3b52;
}

.showcase-row:hover .phone-screen-img {
    transform: scale(1.03);
}

/* Estela del Cursor Trail (Partículas) */
.cursor-particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9998;
    mix-blend-mode: screen;
    background: radial-gradient(circle, rgba(255, 214, 0, 0.9) 0%, rgba(255, 214, 0, 0) 80%);
    transform: translate(-50%, -50%);
}

/* Micro-animación de Pulso de Resplandor en Botón de Descarga */
.btn-primary {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 0 rgba(88, 204, 2, 0.5);
    animation: glow-pulse-button 3s infinite;
}

@keyframes glow-pulse-button {
    0% {
        box-shadow: 0 0 0 0 rgba(88, 204, 2, 0.4), 0 8px 30px rgba(88, 204, 2, 0.25);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(88, 204, 2, 0), 0 8px 30px rgba(88, 204, 2, 0.25);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(88, 204, 2, 0), 0 8px 30px rgba(88, 204, 2, 0.25);
    }
}

/* Mejoras en el Glassmorphism y Bordes Reactivos */
.feature-card {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Fondo difuso Bokeh adicional */
.stats-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(88, 204, 2, 0.08) 0%, rgba(0, 191, 165, 0.03) 50%, transparent 70%);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    pointer-events: none;
}

