:root {
    --primary: #f59e0b; /* Amber 500 */
    --primary-bright: #fbbf24;
    --primary-glow: rgba(245, 158, 11, 0.25);
    --secondary: #8b5cf6; /* Violet 500 */
    --secondary-glow: rgba(139, 92, 246, 0.2);
    --accent: #f43f5e; /* Rose 500 */
    --bg-dark: #070512;
    --bg-surface: #0c0a1f;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-header: rgba(255, 255, 255, 0.12);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ═══════ BACKGROUND BLOBS ═══════ */
.background-blob {
    position: fixed;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.3;
    animation: drift 25s infinite alternate ease-in-out;
}

.blob-1 {
    background: radial-gradient(circle, var(--primary), transparent);
    top: -250px;
    left: -250px;
}

.blob-2 {
    background: radial-gradient(circle, var(--secondary), transparent);
    bottom: -250px;
    right: -250px;
    animation-delay: -7s;
}

.blob-3 {
    background: radial-gradient(circle, #7c4dff, transparent);
    top: 50%;
    left: 50%;
    width: 450px;
    height: 450px;
    animation-delay: -13s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(60px, -40px) scale(1.05) rotate(2deg); }
    66% { transform: translate(-30px, 70px) scale(0.97) rotate(-1deg); }
    100% { transform: translate(80px, 30px) scale(1.08) rotate(3deg); }
}

/* ═══════ PARTICLES ═══════ */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 4s infinite ease-in-out;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
    50% { opacity: 0.6; transform: translateY(-60px) scale(1); }
}

/* ═══════ LAYOUT ═══════ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ═══════ HERO ═══════ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 6rem 0;
}

.hero-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-container {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    position: relative;
}

.logo-ring {
    position: absolute;
    inset: -6px;
    border-radius: 24px;
    border: 1.5px solid transparent;
    background: conic-gradient(from 0deg, var(--primary), var(--secondary), var(--primary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin-ring 8s linear infinite;
}

@keyframes spin-ring {
    to { transform: rotate(360deg); }
}

.app-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.4), 0 0 40px var(--primary-glow);
}

.app-name {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 20%, var(--primary) 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px var(--primary-glow));
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.tagline {
    font-size: 1.4rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Hero Preview Image */
.hero-visual {
    position: relative;
    width: 100%;
    perspective: 1000px;
}

.hero-preview-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5), 0 0 60px var(--secondary-glow);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-preview-wrapper:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-preview {
    width: 100%;
    display: block;
    transform: scale(1.05);
}

.visual-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle at center, var(--secondary-glow), transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

/* Scroll Indicator Removed for Minimalism */
.scroll-indicator {
    display: none;
}

/* ═══════ BUTTONS ═══════ */
.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    position: relative;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #d4941e 100%);
    color: #0c0a1a;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 45px var(--primary-glow);
}

.btn-secondary {
    background: var(--card-bg);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ═══════ SECTIONS ═══════ */
.section {
    padding: 7rem 0;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.section-label.center {
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3.5rem;
    font-weight: 700;
}

.section-desc {
    color: var(--text-dim);
    font-size: 1.15rem;
    max-width: 650px;
    margin-bottom: 2rem;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: 0 40px 100px rgba(0,0,0,0.3);
}

h2 {
    font-size: 2.6rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

/* ═══════ FEATURES GRID ═══════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-item {
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border-radius: 24px;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

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

.feature-item h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* ═══════ SCENARIO GRID ═══════ */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.scenario-card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem 2.5rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.scenario-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--primary-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.scenario-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    border-color: var(--glass-header);
}

.scenario-card:hover::after {
    opacity: 1;
}

.scenario-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px var(--primary-glow));
}

.scenario-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.scenario-card p {
    color: var(--text-dim);
    font-size: 1rem;
    margin-bottom: 2rem;
    flex: 1;
}

.scenario-tag {
    align-self: flex-start;
    padding: 0.4rem 1.2rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ═══════ HOW IT WORKS ═══════ */
.steps-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 3rem;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-num {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    color: #0c0a1a;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px var(--primary-glow);
}

.step-card h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

.step-connector {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.step-connector::after {
    content: '';
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
}

/* ═══════ INSTALL ═══════ */
.install-card {
    text-align: center;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2.5rem auto;
    max-width: 480px;
    text-align: left;
}

.step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255,255,255,0.03);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    transition: background 0.3s ease;
}

.step:hover {
    background: rgba(255,255,255,0.06);
}

.install-step-num {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: #0c0a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.badge-container {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.store-badge-placeholder {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border: 2px dashed var(--glass-border);
    border-radius: 12px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ═══════ FOOTER ═══════ */
.footer {
    padding: 4rem 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-link:hover {
    opacity: 0.7;
}

/* ═══════ PRICING ═══════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(245, 158, 11, 0.15);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-name {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
    display: block;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency { font-size: 2rem; font-weight: 300; }
.amount { font-size: 4.5rem; font-weight: 800; line-height: 1; }
.period { font-size: 1.2rem; color: var(--text-dim); }

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-dim);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.w-full { width: 100%; }

/* ═══════ FADE-IN ANIMATION ═══════ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════ INTERACTIVE CHAT ═══════ */
.chat-container {
    max-width: 800px;
    margin: 4rem auto;
    background: rgba(12, 10, 31, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 500px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.chat-header {
    background: var(--glass-header);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
}

.chat-body {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.message {
    max-width: 80%;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.message.visible {
    opacity: 1;
    transform: translateY(0);
}

.msg-coach {
    align-self: flex-start;
    background: var(--bg-surface);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--glass-border);
}

.msg-user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0c0a1a;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.coach-feedback {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--primary);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 1rem 1.5rem;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--text-dim);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 4rem;
        text-align: center;
    }
    .hero-content {
        align-items: center;
        text-align: center;
    }
    .app-name { font-size: 3.5rem; }
    .hero-visual { margin-top: 2rem; }
    .hero-preview-wrapper { transform: none; }
    .tagline { font-size: 1.2rem; margin-bottom: 2rem; }
    .cta-group { flex-direction: column; width: 100%; }
    .btn { width: 100%; text-align: center; }
    .glass-card { padding: 2rem 1.5rem; border-radius: 24px; }
    .background-blob { width: 300px; height: 300px; }
    .section { padding: 4rem 0; }
    .section-title { font-size: 2rem; }
    h2 { font-size: 2rem; }
    .steps-track { flex-direction: column; gap: 0; }
    .step-connector { width: 2px; height: 40px; margin: 0 auto; }
    .step-connector::after { width: 2px; height: 100%; }
    .scenario-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .scroll-indicator { display: none; }
    .chat-container { height: 400px; }
    .message { max-width: 90%; }
}

@media (max-width: 480px) {
    .app-name { font-size: 2.6rem; }
    .container { padding: 0 1.25rem; }
    .glass-card { padding: 1.5rem 1.25rem; }
    .chat-container { height: 360px; }
}

/* ═══════ MODALS ═══════ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-card {
    max-width: 500px;
    width: 100%;
    text-align: center;
    padding: 3rem;
    animation: modal-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-enter {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-family: inherit;
    margin: 1.5rem 0;
    outline: none;
    transition: border-color 0.3s;
}

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

.status-badge {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity 0.5s;
}

.status-badge.visible { opacity: 1; }

/* ═══════ VIDEO SHOWCASE ═══════ */
.video-section {
    padding: 2rem 0;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.video-card {
    padding: 1rem;
    overflow: hidden !important;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}

.hero-video {
    width: 100%;
    border-radius: 24px;
    display: block;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: #000;
}

.video-overlay-ui {
    position: absolute;
    inset: 1rem;
    border-radius: 24px;
    background: linear-gradient(to top, rgba(7, 5, 18, 0.8), transparent 40%);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.video-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid var(--primary-glow);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0c0a1a;
    box-shadow: 0 0 40px var(--primary-glow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
}
