:root {
    --bg-dark: #09090b;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --primary: #8b5cf6;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ambient glow background */
.glow-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15), rgba(9, 9, 11, 0) 50%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: #fca5a5;
    /* Light red/pink */
    filter: drop-shadow(0 0 10px rgba(252, 165, 165, 0.5));
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn {
    text-decoration: none;
    font-weight: 600;
    border-radius: 999px;
    transition: transform 0.2s;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid var(--border);
}

.btn-sm:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    color: #c4b5fd;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-gray);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.store-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--text-white);
    color: var(--bg-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.store-btn i {
    font-size: 1.75rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-text span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-text strong {
    font-size: 1.1rem;
}

.stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

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

.stat-item strong {
    font-size: 2rem;
    font-weight: 800;
}

.stat-item span {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    border: 12px solid #2d2d30;
    border-radius: 40px;
    background: #000;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 2px #404040;
    overflow: hidden;
    z-index: 2;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #2d2d30;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    background: #18181b;
    padding: 3rem 1.5rem 1.5rem;
    position: relative;
}

/* Abstract UI */
.app-header {
    display: flex;
    justify-content: space-between;
    color: white;
    margin-bottom: 2rem;
    font-weight: 600;
}

.app-hero-card {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    padding: 1.5rem;
    border-radius: 20px;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.card-chip {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.app-hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.fill {
    width: 60%;
    height: 100%;
    background: white;
    border-radius: 3px;
}

.app-stats-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.app-stat {
    flex: 1;
    background: #27272a;
    padding: 0.75rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #a1a1aa;
}

.app-stat i {
    color: #ec4899;
    font-size: 1.1rem;
}

.app-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-item {
    background: #27272a;
    padding: 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.c1 {
    background: #fee2e2;
}

.c2 {
    background: #e0e7ff;
}

.c3 {
    background: #dcfce7;
}

.list-text .bar {
    height: 6px;
    background: #52525b;
    border-radius: 3px;
    margin-bottom: 6px;
}

.w-80 {
    width: 100px;
}

.w-40 {
    width: 40px;
}

.w-60 {
    width: 80px;
}

.w-30 {
    width: 30px;
}

.w-70 {
    width: 90px;
}

.w-50 {
    width: 50px;
}

.fab-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #06b6d4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: #27272a;
    border: 1px solid #3f3f46;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 3;
    animation: float 5s ease-in-out infinite;
}

.card-heart {
    top: 100px;
    left: -40px;
    animation-delay: 0s;
}

.card-heart i {
    color: #ef4444;
}

.card-cal {
    bottom: 120px;
    right: -40px;
    animation-delay: 2.5s;
}

.card-cal i {
    color: #f97316;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Footer Link */
.bottom-bar {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.bottom-bar a {
    color: var(--text-white);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        margin: 0 auto 1.5rem;
    }

    .store-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .nav-links {
        display: none;
    }
}

/* Sections */
.section {
    padding: 6rem 0;
}

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

.section-header {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin: 1rem 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 20px;
    transition: 0.3s;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-box h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-box p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Trainers Section */
.alt-bg {
    background: rgba(255, 255, 255, 0.02);
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.check-list {
    margin: 2rem 0;
    font-size: 1.1rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.check-list li i {
    color: var(--secondary);
}

.btn-primary {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.margin-top {
    margin-top: 2rem;
}

/* Trainer Card Stack */
.trainer-card-stack {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trainer-card {
    position: absolute;
    width: 260px;
    height: 320px;
    background: #18181b;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    transition: 0.5s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.t-img {
    flex: 1;
    background-color: #27272a;
    border-radius: 14px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

/* Simulated images */
.color-1 {
    background: radial-gradient(circle at center, #8b5cf6, #27272a);
}

.color-2 {
    background: radial-gradient(circle at center, #ec4899, #27272a);
}

.color-3 {
    background: radial-gradient(circle at center, #06b6d4, #27272a);
}

.t-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.t-info span {
    font-size: 0.85rem;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 600;
}

/* Stack Positioning */
.c-1 {
    transform: rotate(-10deg) translateX(-40px);
    z-index: 1;
    opacity: 0.6;
}

.c-2 {
    transform: rotate(10deg) translateX(40px);
    z-index: 1;
    opacity: 0.6;
}

.c-3 {
    transform: rotate(0) translateY(-20px) scale(1.1);
    z-index: 2;
}

.trainer-card-stack:hover .c-1 {
    transform: rotate(-15deg) translateX(-80px);
}

.trainer-card-stack:hover .c-2 {
    transform: rotate(15deg) translateX(80px);
}

/* Reviews */
.reviews-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.review-card {
    background: #18181b;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    flex: 1;
    min-width: 300px;
}

.stars {
    color: #f59e0b;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.r-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #27272a;
}

.a1 {
    background: repeating-linear-gradient(45deg, #3f3f46, #3f3f46 10px, #27272a 10px, #27272a 20px);
}

.a2 {
    background: repeating-linear-gradient(135deg, #3f3f46, #3f3f46 10px, #27272a 10px, #27272a 20px);
}

.a3 {
    background: repeating-linear-gradient(90deg, #3f3f46, #3f3f46 10px, #27272a 10px, #27272a 20px);
}

.r-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.verified {
    color: #10b981;
    margin-left: 0.25rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.justify-center {
    justify-content: center;
}

@media (max-width: 768px) {
    .split-section {
        grid-template-columns: 1fr;
    }

    .trainer-card-stack {
        height: 350px;
        margin-top: 2rem;
    }

    .c-1,
    .c-2 {
        display: none;
    }

    /* Simplify stack on mobile */
    .c-3 {
        transform: none;
    }

    .cta-box h2 {
        font-size: 2rem;
    }
}