/* Import Space Grotesk Font */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --accent: #AD8330;
    --accent-light: #c49544;
    --accent-dark: #8b6a28;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --bg-light: #fafafa;
    --border-light: #e5e5e5;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
}

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

/* Typography - Using Space Grotesk */
body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary-black);
    background: var(--primary-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
    color: var(--primary-black);
    margin: 0;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

h4 {
    font-size: 1.125rem;
    font-weight: 500;
}

p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-muted);
}

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

/* App Store Banner */
.app-store-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 12px 0;
    z-index: 1001;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(0);
}

.app-store-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.banner-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.banner-link {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.banner-link:hover {
    color: #ffffff;
    text-decoration-color: #ffffff;
}

.banner-close {
    position: absolute;
    right: 24px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.banner-close:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.banner-close svg {
    width: 18px;
    height: 18px;
}

/* Navigation - Adjusted for banner */
.navbar {
    position: fixed;
    top: 44px;
    width: 100%;
    background: var(--accent);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(173, 131, 48, 0.2);
    transition: top 0.3s ease;
}

.navbar.no-banner {
    top: 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 110px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-white);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--primary-white) !important;
    color: var(--accent) !important;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-nav:hover {
    background: transparent !important;
    color: var(--primary-white) !important;
    border-color: var(--primary-white);
    transform: translateY(-2px);
}

.btn-nav::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 184px 0 100px;
    background: var(--primary-white);
    text-align: center;
    position: relative;
    transition: padding-top 0.3s ease;
}

.hero.no-banner {
    padding-top: 140px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-image {
    margin-bottom: 32px;
}

.hero-logo {
    height: 80px;
    width: auto;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-black);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .coaches-carousel-container {
    margin: 48px 0;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary-black);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: var(--primary-white);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent);
}

.feature-icon {
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-black);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Coaches Section */
.coaches-preview {
    padding: 100px 0;
    background: var(--primary-white);
}

.coaches-carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 32px 0;
}

.coaches-gallery {
    display: flex;
    gap: 24px;
    padding: 0 24px;
    transition: transform 0.5s ease;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.coaches-gallery::-webkit-scrollbar {
    display: none;
}

.coach-item {
    flex: 0 0 200px;
    text-align: center;
    padding: 32px 24px;
    background: var(--primary-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.coach-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent);
}

.coach-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-light);
    transition: border-color 0.3s ease;
}

.coach-item:hover .coach-image {
    border-color: var(--accent);
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-black);
}

.coach-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    font-weight: 400;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.carousel-btn {
    background: var(--accent);
    color: var(--primary-white);
    border: 2px solid var(--accent);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(173, 131, 48, 0.3);
}

.carousel-btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(173, 131, 48, 0.4);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 64px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--accent);
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-light);
}

.step h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-black);
}

.step p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--primary-white);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-black);
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
}

.form-group input,
.form-group textarea {
    padding: 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--primary-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(173, 131, 48, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--accent);
    color: var(--primary-white);
    padding: 16px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.form-status {
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    background: #e8f5e9;
    color: #2e7d2e;
    border: 1px solid #a5d6a7;
    display: block;
}

.form-status.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    display: block;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--bg-light);
    text-align: center;
}

.download-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.download-buttons {
    margin: 40px 0;
}

.app-store-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.app-store-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.app-store-badge {
    height: 60px;
    width: auto;
}

.trial-info {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Technology Section */
.technology-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-white) 100%);
}

.technology-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.technology-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 60px;
    font-weight: 500;
}

.technology-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

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

.tech-feature svg {
    color: var(--accent);
    margin-bottom: 16px;
}

.tech-feature h4 {
    color: var(--primary-black);
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.tech-feature p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Coaches Section */
.coaches-section {
    padding: 100px 0;
    background: var(--primary-white);
}

.coaches-categories {
    margin-top: 60px;
}

.coach-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.coach-card {
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.coach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-light);
}

.coach-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 16px;
    object-fit: cover;
    border: 3px solid var(--accent-light);
}

.coach-card h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--primary-black);
}

.coach-title {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.coach-bio {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.coaches-cta {
    text-align: center;
    margin-top: 60px;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-white);
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-dark);
}

/* Footer */
.footer {
    background: var(--accent);
    color: var(--primary-white);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 110px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-white);
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background: var(--accent);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        gap: 24px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding: 164px 0 80px;
    }
    
    .hero.no-banner {
        padding-top: 120px;
    }
    
    /* App Store Banner Mobile Adjustments */
    .app-store-banner {
        padding: 10px 0;
    }
    
    .banner-content {
        padding: 0 16px;
        gap: 12px;
    }
    
    .banner-text {
        font-size: 12px;
    }
    
    .banner-link {
        font-size: 12px;
    }
    
    .banner-close {
        right: 16px;
    }
    
    .banner-close svg {
        width: 16px;
        height: 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
        margin-bottom: 48px;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .coaches-preview,
    .how-it-works,
    .contact-section,
    .download {
        padding: 80px 0;
    }
    
    .coach-item {
        flex: 0 0 180px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 48px;
    }
    
    .footer {
        padding: 60px 0 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
        margin-bottom: 32px;
    }
    
    .footer-logo {
        margin: 0 auto 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
    
    .coach-item {
        flex: 0 0 160px;
        padding: 24px 16px;
    }
}