/* AXELON Promo Site - True Design System */

:root {
    /* AXELON Brand Colors */
    --background: #0a0a0a;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --primary: #CCFF00; /* Electric Lime */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-tech: 'Share Tech Mono', 'Courier New', monospace;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background - Premium & Subtle */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--background);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: moveOrb 30s infinite alternate ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204, 255, 0, 0.15), transparent 70%);
    top: -10%;
    left: -5%;
    animation-duration: 35s;
}

.orb-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(204, 255, 0, 0.08), transparent 70%);
    bottom: -20%;
    right: -10%;
    animation-delay: -8s;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s forwards 0.2s;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(204, 255, 0, 0.4));
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.nav-links {
    opacity: 0;
    animation: fadeIn 1s forwards 0.4s;
}

.nav-links a {
    margin-left: 3rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Hero Section - Generous Whitespace */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 5%;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 8rem;
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, #888, #fff, #888);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 8s linear infinite;
    opacity: 0;
    animation: fadeIn 1.2s forwards 0.3s, shine 8s linear infinite;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 1.2s forwards 0.6s;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1.2s forwards 0.9s;
}

.cta-badge {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0.8;
}

/* Premium CTA - Lime Glow with Breathing Effect */
.btn-cta {
    padding: 1.5rem 5rem;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    cursor: pointer;
    border-radius: 100px;
    box-shadow: 0 0 40px rgba(204, 255, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: ctaBreathe 3s ease-in-out infinite 2s;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(204, 255, 0, 0.6), 0 15px 40px rgba(0, 0, 0, 0.4);
    animation: none; /* Stop breathing on hover */
}

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

/* Coaches Section - AXELON Style */
.coaches-section {
    padding: 10rem 5%;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 8rem;
    opacity: 0;
    transition: all 1s ease-out;
}

.section-header.visible {
    opacity: 1;
}

.section-label {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
}

.coach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

/* Coach Card - Glass Morphism with Avatar Glow */
.coach-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: visible;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.coach-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.coach-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.08);
}

.coach-card:active {
    transform: translateY(-2px) scale(0.98);
}

.coach-card:nth-child(1) { transition-delay: 0.1s; }
.coach-card:nth-child(2) { transition-delay: 0.15s; }
.coach-card:nth-child(3) { transition-delay: 0.2s; }
.coach-card:nth-child(4) { transition-delay: 0.25s; }
.coach-card:nth-child(5) { transition-delay: 0.3s; }
.coach-card:nth-child(6) { transition-delay: 0.35s; }

/* Avatar with Glow Effect */
.coach-avatar-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem;
}

.coach-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(204, 255, 0, 0.3), transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.8;
    animation: glow 3s ease-in-out infinite;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.coach-avatar {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(204, 255, 0, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.archetype-label {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

.coach-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.coach-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
}

.match-score {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--primary);
    background: rgba(204, 255, 0, 0.1);
    border: 1px solid rgba(204, 255, 0, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

/* Bio-Data Section */
.bio-section {
    padding: 10rem 5%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.bio-visuals {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Phone Mockup Container with 3D Effect */
.phone-mockup {
    position: relative;
    width: 340px;
    height: 694px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 50px;
    padding: 12px;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.1),
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(204, 255, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: phoneFloat3D 6s ease-in-out infinite;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: skewX(-15deg);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 42px;
    overflow: hidden;
    background: var(--background);
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.bio-content h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-box {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-label {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.8rem;
    letter-spacing: 0.1em;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-value.highlight {
    color: var(--primary);
}

.bio-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Features Grid - Glass Cards */
.features {
    padding: 10rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 4rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary);
    filter: drop-shadow(0 0 20px rgba(204, 255, 0, 0.4));
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Showcase Section */
.showcase {
    padding: 10rem 5%;
    position: relative;
    z-index: 1;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 12rem;
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-2.visible {
    opacity: 1;
    transform: translateY(0);
}

.grid-2.alt {
    grid-template-columns: 1.2fr 1fr;
}

.showcase-text h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.showcase-text p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 500px;
}

.app-preview {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-tech);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.app-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 40%, rgba(204, 255, 0, 0.05) 50%, transparent 60%);
    animation: shine 6s infinite;
}

/* Social Proof Section */
.social-proof {
    padding: 10rem 5%;
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    position: relative;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.testimonial-card:nth-child(3) { transition-delay: 0.3s; }

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Footer */
footer {
    padding: 6rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: var(--font-tech);
}

footer a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Animations */
@keyframes shine {
    to { background-position: 200% center; }
}

@keyframes moveOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.08); }
}

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

@keyframes glow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes ctaBreathe {
    0%, 100% {
        box-shadow: 0 0 40px rgba(204, 255, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 55px rgba(204, 255, 0, 0.6), 0 12px 35px rgba(0, 0, 0, 0.35);
    }
}

@keyframes phoneFloat3D {
    0%, 100% {
        transform: translateY(0) rotateY(-2deg) rotateX(2deg);
    }
    25% {
        transform: translateY(-8px) rotateY(1deg) rotateX(1deg);
    }
    50% {
        transform: translateY(-12px) rotateY(2deg) rotateX(-1deg);
    }
    75% {
        transform: translateY(-8px) rotateY(-1deg) rotateX(1deg);
    }
}

/* Desktop-specific styles */
@media (min-width: 901px) {
    /* Disable float animation on desktop (tilt effect takes over) */
    .phone-mockup {
        animation: none;
    }
}

/* Responsive - Mobile First */
@media (max-width: 900px) {
    .hero h1 { font-size: 4rem; }
    .hero p { font-size: 1.2rem; }

    .section-header h2 { font-size: 2.5rem; }
    .bio-content h2 { font-size: 2.5rem; }

    .coach-grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .bio-section { grid-template-columns: 1fr; gap: 4rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 4rem; }
    .grid-2.alt { grid-template-columns: 1fr; }

    .nav-links { display: none; }

    .btn-cta { padding: 1.2rem 3rem; font-size: 0.8rem; }

    /* Scale down phone mockup on mobile */
    .phone-mockup {
        width: 280px;
        height: 572px;
    }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 3rem; }
    .coach-avatar-container { width: 120px; height: 120px; }
    .coach-avatar { width: 120px; height: 120px; }
    .match-score { top: 1rem; right: 1rem; font-size: 0.7rem; }
}
