:root {
    --dark-grey: #2c3e44;
    --cream: #faf6f0;
    --pastel-green: #a8d5ba;
    --pastel-blue: #a8c5d5;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --accent-gold: #d4a574;

    /* Enhanced spacing system */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Refined typography scale */
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.5rem;
    --text-4xl: 3rem;
    --text-5xl: 4rem;

    /* Professional shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream);
    font-size: var(--text-base);
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    overflow: hidden;
}

.splash-full,
.splash-cutout {
    position: absolute;
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
}

.splash-full {
    opacity: 0;
    animation: fadeInImage 0.5s 0.3s forwards;
}

.splash-cutout {
    opacity: 0;
}

/* Animation Classes */
.splash-full.fade-out {
    animation: fadeOutImage 0.2s forwards;
}

.splash-cutout.show {
    opacity: 1;
}

.splash-cutout.skate-away {
    animation: skateAway 1s cubic-bezier(0.4, 0.0, 0.6, 1) forwards;
}

.splash-screen.fade-out {
    animation: fadeOut 0.2s forwards;
}

/* Keyframes */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

@keyframes fadeOutImage {
    to {
        opacity: 0;
    }
}

@keyframes skateAway {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }

    5% {
        transform: translate(-3%, -1%) rotate(-1deg) scale(1);
    }

    10% {
        transform: translate(-6%, -2%) rotate(-3deg) scale(1);
    }

    20% {
        transform: translate(-8%, -3%) rotate(-5deg) scale(1.05);
        opacity: 1;
    }

    30% {
        transform: translate(-16%, 2%) rotate(-7deg) scale(1)
    }

    40% {
        transform: translate(-20%, 5%) rotate(-10deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-27%, 20%) rotate(-15deg) scale(1)
    }

    60% {
        transform: translate(-35%, 35%) rotate(-20deg) scale(0.9);
        opacity: 1;
    }

    70% {
        transform: translate(-50%, 60%) rotate(-25deg) scale(1)
    }

    80% {
        transform: translate(-70%, 90%) rotate(-30deg) scale(0.7);
        opacity: 0.8;
    }

    90% {
        transform: translate(-100%, 140%) rotate(-35deg) scale(1)
    }

    100% {
        transform: translate(-120%, 180%) rotate(-40deg) scale(0.5);
        opacity: 0;
    }
}

/* Hide body scroll during splash */
body.splash-active {
    overflow: hidden;
}

/* Header */
header {
    background-color: var(--dark-grey);
    color: var(--cream);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-grey) 0%, #3a4f56 100%);
    color: var(--cream);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--pastel-blue) 0%, transparent 70%);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-30px, -30px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero .tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--pastel-green);
}

.hero .credentials {
    font-size: 1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--pastel-green);
    color: var(--dark-grey);
}

.btn-primary:hover {
    background-color: #8dc5a0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 213, 186, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--cream);
    border: 2px solid var(--cream);
}

.btn-secondary:hover {
    background-color: var(--cream);
    color: var(--dark-grey);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-grey);
}

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

/* About Section */
.about {
    background-color: white;
}

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

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark-grey);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.achievements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.achievement {
    padding: 1rem;
    background-color: var(--cream);
    border-radius: 8px;
    text-align: center;
}

.achievement-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-image {
    position: relative;
    padding: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: #000;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    cursor: pointer;
}

/* Custom video controls styling */
.video-container video::-webkit-media-controls-panel {
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.video-container video:focus {
    outline: none;
}

/* Loading state */
.video-container.loading::before {
    content: 'Loading video...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    z-index: 1;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--pastel-green) 0%, var(--pastel-blue) 100%);
    height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

/* Coaching Tiers */
.coaching-tiers {
    background-color: var(--cream);
}

/* Premium Spotlight Section */
.premium-spotlight {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.premium-spotlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
    opacity: 0.03;
    animation: float 30s infinite ease-in-out;
}

.premium-content {
    position: relative;
    z-index: 1;
}

.premium-badge {
    display: inline-block;
    background-color: var(--dark-grey);
    color: var(--accent-gold);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.premium-title {
    font-size: 2.5rem;
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
}

.premium-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Premium Features */
.premium-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 3rem;
}

.premium-feature {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 0.75rem;
    background-color: rgba(250, 246, 240, 0.5);
    border-radius: 8px;
}

.check-icon {
    color: var(--pastel-green);
    font-size: 1.25rem;
    font-weight: bold;
    flex-shrink: 0;
}

.premium-feature strong {
    color: var(--dark-grey);
}

/* Pricing Options */
.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card.featured {
    border: 2px solid var(--pastel-green);
}

.pricing-card.best-value {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-gold);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.pricing-card h4 {
    font-size: 1.25rem;
    color: var(--dark-grey);
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: normal;
}

.price-note {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.total-price {
    font-weight: bold;
    color: var(--pastel-green);
    margin-bottom: 1rem;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.pricing-card.best-value:hover {
    transform: scale(1.05) translateY(-5px);
}

.exclusivity-note {
    text-align: center;
    font-size: 1.125rem;
    color: var(--dark-grey);
    padding: 1.5rem;
    background-color: rgba(212, 165, 116, 0.1);
    border-radius: 10px;
    margin-top: 2rem;
}

/* Community Section */
.community-section {
    margin-top: 4rem;
}

.community-title {
    font-size: 2rem;
    color: var(--dark-grey);
    text-align: center;
    margin-bottom: 0.5rem;
}

.community-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Update existing tier-card styles for community options */
.community-section .tier-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.community-section .tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tier-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-grey);
}

.tier-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--pastel-blue);
    margin-bottom: 0.5rem;
}

.tier-price span {
    font-size: 1rem;
    color: var(--text-light);
}

.tier-features {
    list-style: none;
    margin: 2rem 0;
}

.tier-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.tier-features li:last-child {
    border-bottom: none;
}

/* Video Analysis Section */
.video-analysis {
    background-color: white;
}

.analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.analysis-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.feature-icon {
    background-color: var(--pastel-green);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-grey);
}

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

/* Photo Carousel */
.photo-carousel-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, white 0%, var(--cream) 100%);
    overflow: hidden;
    position: relative;
}

.carousel-container {
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Fade edges for seamless look */
.photo-carousel-section::before,
.photo-carousel-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.photo-carousel-section::before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.photo-carousel-section::after {
    right: 0;
    background: linear-gradient(to left, var(--cream) 0%, transparent 100%);
}

/* Testimonials */
.testimonials {
    background-color: var(--cream);
}

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

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--pastel-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-grey) 0%, #3a4f56 100%);
    color: var(--cream);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.exclusive-note {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--pastel-green);
}

/* Footer */
footer {
    background-color: var(--dark-grey);
    color: var(--cream);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--cream);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--pastel-green);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .about-content,
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
    }

    /* Premium section mobile adjustments */
    .premium-spotlight {
        padding: 2rem 1.5rem;
    }

    .premium-title {
        font-size: 2rem;
    }

    .pricing-options {
        grid-template-columns: 1fr;
    }

    .pricing-card.best-value {
        transform: scale(1);
    }

    .pricing-card.best-value:hover {
        transform: translateY(-5px);
    }

    .premium-feature {
        font-size: 0.95rem;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    /* Splash screen mobile adjustments */
    .splash-full,
    .splash-cutout {
        max-width: 80%;
        max-height: 70%;
    }

    @keyframes skateAway {
        0% {
            transform: translate(0, 0) rotate(0deg) scale(1);
            opacity: 1;
        }

        5% {
            transform: translate(-3%, -1%) rotate(-1deg) scale(1);
        }

        10% {
            transform: translate(-6%, -2%) rotate(-3deg) scale(1);
        }

        20% {
            transform: translate(-8%, -3%) rotate(-5deg) scale(1.05);
            opacity: 1;
        }

        30% {
            transform: translate(-16%, 2%) rotate(-7deg) scale(1)
        }

        40% {
            transform: translate(-20%, 5%) rotate(-10deg) scale(1);
            opacity: 1;
        }

        50% {
            transform: translate(-27%, 20%) rotate(-15deg) scale(1)
        }

        60% {
            transform: translate(-35%, 35%) rotate(-20deg) scale(0.9);
            opacity: 1;
        }

        70% {
            transform: translate(-50%, 60%) rotate(-25deg) scale(1)
        }

        80% {
            transform: translate(-70%, 90%) rotate(-30deg) scale(0.7);
            opacity: 0.8;
        }

        90% {
            transform: translate(-100%, 140%) rotate(-35deg) scale(1)
        }

        100% {
            transform: translate(-120%, 180%) rotate(-40deg) scale(0.5);
            opacity: 0;
        }
    }
}

/* Loading state */
.video-container.loading::before {
    content: 'Loading video...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    z-index: 1;
}

/* Video Credit */
.video-credit {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.video-credit a {
    color: var(--pastel-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.video-credit a:hover {
    color: var(--dark-grey);
    text-decoration: underline;
}