/* Base styles with FlexFitness-inspired dark theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --card-bg: #1a1a1a;
    --accent-color: #E5F825;
    --accent-dark: #D5E820;
    --text-primary: #FFFFFF;
    --text-secondary: #AAAAAA;
    --gradient-1: linear-gradient(135deg, rgba(229, 248, 37, 0.7), rgba(87, 255, 87, 0.4));
    --gradient-2: linear-gradient(135deg, rgba(229, 248, 37, 0.4), rgba(229, 248, 37, 0.1));
    --border-radius: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: var(--primary-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Noise overlay for texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFEmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly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/X11JGq1msuXTqcRj8dd/c1m01USzvlisYjRaGSX8HQ6hTHGvrPZLE73yji9uMDu9naYrxHfpCaXy6FcLkMp5VLH+XyOWq3md4lL9ViWhUqlglQqhf39fSilYFkW+v0+ut0uZ7N/ufrvt0bJfnhVkJHuijLJH1F4+/0J+87UEpHvHKGXyF9RO+JDikYSzAAAAABJRU5ErkJggg==');
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 {
    font-size: 80px;
    letter-spacing: -1px;
}

h2 {
    font-size: 50px;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.accent {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.accent::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--accent-color);
    opacity: 0.3;
    z-index: -1;
}

/* Custom Font Styles for American Captain */
.hero-title,
#features-heading, 
#showcase-heading, 
#waitlist-heading {
    font-family: 'American Captain', 'Inter', sans-serif;
    letter-spacing: 0.5px;
    font-weight: normal; /* Verhindert zusätzliche Fettung */
}

/* Speziell für die Hero-Überschrift etwas mehr Abstand */
.hero-title {
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000000;
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 248, 37, 0.15);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 104; /* Higher than mobile nav */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-img {
    height: 36px;
    width: auto;
    border-radius: 8px;
}

nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Hamburger Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 103; /* Higher than mobile nav */
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 70px; /* Below header to not cover hamburger */
    left: 0;
    right: 0;
    height: 380px; /* Fixed height instead of bottom: 0 */
    background-color: var(--primary-bg);
    padding: 40px 20px;
    z-index: 99; /* Below header and hamburger */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.mobile-nav.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Comfortable gap */
}

.mobile-nav-link {
    display: block;
    padding: 15px 0; /* Comfortable padding */
    color: var(--text-primary);
    font-size: 20px; /* Back to larger font */
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover {
    color: var(--accent-color);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-cta {
    text-align: center;
    background-color: var(--accent-color);
    color: #000 !important;
    border-radius: 25px;
    padding: 14px 32px;
    font-weight: 600;
    border: none !important;
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    transition: all 0.3s ease;
}

.mobile-nav-cta:hover {
    transform: scale(1.05);
    color: #000 !important;
}

/* Hero Section */
.hero {
    padding: 80px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    min-height: 600px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-content {
    flex: 0 0 auto;
    margin-right: 40px;
}

.hero-title {
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title .title-line {
    display: block;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
}

.hero-cta {
    margin-top: 40px;
}


.hero-image {
    width: 280px;
    height: 560px;
    object-fit: contain;
    border-radius: 16px;
    transform: translateY(-50px);
}

/* Gradient circles */
.gradient-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.circle-1 {
    background: var(--gradient-1);
    width: 400px;
    height: 400px;
    top: -100px;
    right: -150px;
    opacity: 0.3;
}

.circle-2 {
    background: var(--gradient-2);
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -100px;
    opacity: 0.2;
}

.circle-3 {
    background: var(--gradient-1);
    width: 500px;
    height: 500px;
    top: 50%;
    left: -200px;
    opacity: 0.2;
    z-index: 0;
}

.circle-4 {
    background: var(--gradient-2);
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: -100px;
    opacity: 0.15;
    z-index: 0;
}

/* Section styling */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Features section */
.features {
    background-color: var(--secondary-bg);
    position: relative;
    z-index: 2;
}

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

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px 20px 0 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(229, 248, 37, 0.2);
}

.feature-title {
    margin-top: 20px;
    margin-bottom: 0;
    text-align: center;
    font-size: 20px;
}


.coming-soon-tag {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--accent-color);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-screenshot {
    height: 280px;
    width: auto;
    display: block;
}

.feature-screenshot img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: 0 0 16px 16px;
}

/* App Showcase Section */
.app-showcase {
    padding: 120px 0;
}

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

.showcase-item {
    position: relative;
}

.number {
    font-size: 64px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -30px;
    left: -10px;
    z-index: -1;
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-bg);
    padding: 120px 0;
    position: relative;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.signup-form {
    margin-top: 40px;
}

.form-group {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.form-input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 56px;
    padding: 0 24px;
    border-radius: 28px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(229, 248, 37, 0.2);
}

#confirmation-message {
    margin-top: 16px;
    color: var(--accent-color);
    font-weight: 500;
}

/* App Store Section */
.app-store-section {
    padding: 80px 0;
    text-align: center;
}

.app-store-section p {
    font-size: 18px;
    margin-bottom: 20px;
}

.app-store-badge {
    display: inline-flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    gap: 8px;
    transition: all 0.3s ease;
}

.app-store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.app-store-logo {
    height: 24px;
    width: auto;
}

/* Updated Footer Styles */
footer {
    background-color: var(--secondary-bg);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    align-items: flex-start;
}

.footer-brand {
    flex: 0 0 auto;
}

.footer-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: auto;
}

.footer-section-titles {
    display: flex;
    gap: 15px;
}

.footer-section-content {
    display: flex;
    gap: 15px;
}

.footer-section-titles h4 {
    min-width: 120px;
}

.footer-section {
    min-width: 120px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 0;
    opacity: 0.8;
}

.footer-section-titles h4 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section {
    margin-bottom: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--accent-color);
    transform: translateX(2px);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    margin: 20px 0 30px;
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive adjustments for footer */
@media (max-width: 576px) {
    .footer-sections {
        gap: 25px;
    }
    
    .footer-section h4 {
        margin-bottom: 16px;
    }
    
    .footer-section h4::after {
        width: 20px;
    }
}

/* Animations - removed float animation */

/* Responsive design */
@media (max-width: 992px) {
    h1 {
        font-size: 42px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .hero-wrapper {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-image {
        width: 220px;
        height: 440px;
    }
}

@media (max-width: 768px) {
    /* Navigation Mobile Styles */
    header {
        padding: 15px 0;
        position: fixed; /* Make header fixed on mobile */
        width: 100%;
    }
    
    /* Show hamburger menu */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Mobile nav will be controlled by JavaScript */
    
    /* Hide desktop navigation */
    .desktop-nav {
        display: none;
    }
    
    /* Add padding to body to account for fixed header */
    body {
        padding-top: 70px;
    }
    
    /* Hero Mobile Styles */
    section {
        padding: 80px 0;
    }
    
    .hero {
        padding: 40px 0 60px;
    }
    
    .hero-wrapper {
        gap: 30px;
        min-height: auto;
        padding: 0;
    }
    
    .hero-content {
        margin-right: 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 42px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .hero-image {
        width: 200px;
        height: 400px;
        border-radius: 12px;
        transform: translateY(0);
        margin: 0 auto;
    }
    
    .hero-cta {
        margin-top: 30px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .form-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-input {
        width: 100% !important;
        height: 56px !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 0 20px !important;
        border-radius: 28px !important;
        box-sizing: border-box !important;
        min-height: 56px !important;
    }
    
    .form-group .btn {
        width: 100%;
        height: 56px;
        padding: 0 32px;
        font-size: 16px;
        line-height: 56px;
        box-sizing: border-box;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    /* Navigation for very small screens */
    .logo-img {
        height: 30px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    /* Hero adjustments for small screens */
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero {
        padding: 30px 0 50px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .hero-image {
        width: 160px;
        height: 320px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%; /* Full width button on very small screens */
        max-width: 200px;
    }
    
    /* Email form styles for small screens */
    .form-input {
        border-radius: 24px; /* Slightly smaller radius */
    }
    
    .form-group .btn {
        border-radius: 24px;
        font-weight: 600;
    }
    
    #confirmation-message {
        font-size: 14px;
        padding: 0 10px;
    }
}