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

/* CSS Reset & Variables */
:root {
    --color-bg-dark: #060911;
    --color-bg-card: rgba(10, 15, 30, 0.65);
    --color-accent-green: #00e676; /* The green from the logo */
    --color-accent-glow: rgba(0, 230, 118, 0.4);
    --color-text-primary: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Background Gym Image with Moody Overlays */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background-image: url('assets/gym-bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(0.85);
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    /* Moody gradient with lower opacity to reveal background gym graphic */
    background: linear-gradient(
        135deg, 
        rgba(6, 9, 17, 0.88) 0%, 
        rgba(6, 9, 17, 0.55) 45%, 
        rgba(6, 9, 17, 0.65) 75%, 
        rgba(6, 9, 17, 0.90) 100%
    );
}

/* Accent Ambient Glow in Background */
.ambient-glow {
    position: fixed;
    top: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 3;
    pointer-events: none;
    animation: pulseGlow 10s ease-in-out infinite alternate;
}

/* Main Layout */
.app-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-svg {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}

.logo-wrapper:hover .logo-svg {
    transform: scale(1.02);
}

/* Hero Section */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    z-index: 5;
}

.hero-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    max-width: 720px;
    width: 100%;
    text-align: center;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.05),
        0 0 40px rgba(0, 230, 118, 0.03);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    transition: var(--transition-smooth);
}

.hero-card:hover {
    border-color: rgba(0, 230, 118, 0.15);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 0 50px rgba(0, 230, 118, 0.06);
}

/* Badge / Label */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 230, 118, 0.06);
    border: 1px solid rgba(0, 230, 118, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-green);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent-green);
    box-shadow: 0 0 8px var(--color-accent-green);
    animation: pulseDot 2s infinite;
}

/* Typography */
.hero-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.hero-title span.accent {
    position: relative;
    background: linear-gradient(135deg, #ffffff 30%, #a3f7bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span.highlight {
    position: relative;
    white-space: nowrap;
    background: linear-gradient(135deg, #00ff87 0%, #60efff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 255, 135, 0.15);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    letter-spacing: 0.03em;
    word-spacing: 0.05em;
}

/* Call to Action Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--color-text-primary);
    color: var(--color-bg-dark);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 1.1rem 2.2rem;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.cta-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background: var(--color-accent-green);
    color: var(--color-bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-accent-glow);
}

.cta-button:hover svg {
    transform: translateX(3px);
}

.cta-button:active {
    transform: translateY(0);
}

/* Footer Section */
footer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
}

.footer-divider {
    width: 80px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Keyframes Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-10%, 10%) scale(1.1);
    }
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 230, 118, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    header {
        padding: 2rem 1.5rem 1rem 1.5rem;
    }
    
    .logo-svg {
        height: 38px;
    }

    main {
        padding: 1.5rem;
    }

    .hero-card {
        padding: 3rem 1.5rem 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .badge {
        margin-bottom: 1.5rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        width: 100%;
        padding: 1rem 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}
