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

:root {
    --primary-color: #001F66;
    --primary-dark: #001A55;
    --secondary-color: #001F66;
    --text-primary: #001F66;
    --text-secondary: #001F66;
    --background: #ffffff;
    --surface: #f8fafc;
    --border: #e5e7eb;
    --gradient: linear-gradient(135deg, #001F66 0%, #001F66 100%);
    --app-blue: #001F66;
    --app-blue-light: #001F66;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    background-image: url('jazzx%20bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #001F66;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05) translateZ(0);
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    font-size: 2.5rem;
    line-height: 40px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}

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

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

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: rgba(248, 250, 252, 0.3);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: center;
    justify-content: flex-start;
}

/* Ensure all buttons have consistent height on desktop */
@media (min-width: 481px) {
    .hero-buttons > * {
        height: px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.app-store-badge,
.google-play-badge {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Apple badge has less internal padding, so make it smaller */
.app-store-badge img {
    height: 48px;
    width: auto;
    max-width: 170px;
}

/* Google Play badge has more internal padding, so make it larger */
.google-play-badge img {
    height: 70px;
    width: auto;
    max-width: 190px;
}

.app-store-badge:hover,
.google-play-badge:hover {
    transform: scale(1.05) translateZ(0);
    opacity: 0.9;
}

/* Hero secondary styles removed - now part of hero-buttons */

.preview-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-link:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.preview-link .material-icons {
    font-size: 1rem;
}

/* Social Proof Section */
.social-proof {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.4);
}

.social-proof h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.testimonial {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    margin-bottom: 1.5rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.author-info strong {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.author-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Beta Testimonial Overlay */
.beta-testimonial {
    position: relative;
}

.beta-testimonial .testimonial-content,
.beta-testimonial .testimonial-author {
    opacity: 0.2;
}

.beta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
}

.beta-message {
    text-align: center;
    color: white;
}

.beta-message h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.beta-message p {
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

/* Beta Buttons - Unified Style */
.beta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #001F66;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    text-shadow: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.beta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 31, 102, 0.4);
    color: white;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: #001A55;
}

.beta-button .material-icons {
    font-size: 1.2rem;
}

/* Explicitly remove any margin-left from beta button */
.beta-button,
.hero-secondary .beta-button,
.hero-buttons .beta-button {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin: 0 !important;
}

/* Hero section beta button positioning - removed, now in flex container */
/* Cache bust: Force browser to reload CSS and remove any cached margin-left styles */

.download-beta {
    margin-top: 2rem;
    text-align: center;
}

.download-beta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Beta Page Styles */
.beta-hero {
    padding: 120px 0 80px;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
}

.beta-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.beta-hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.beta-hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.beta-details-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.98);
}

.beta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.beta-benefits h2,
.beta-criteria h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.benefit-list,
.criteria-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item,
.criteria-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover,
.criteria-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item .material-icons,
.criteria-item .material-icons {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.beta-benefits .benefit-item h3,
.beta-criteria .criteria-item h3 {
    color: #001f66 !important;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefit-item h3,
.criteria-item h3 {
    color: #001f66 !important;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefit-item p,
.criteria-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.beta-form-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.4);
}

.beta-form-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.beta-form-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.beta-form-content > p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.beta-form-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.beta-form-container iframe {
    border-radius: 8px;
    border: none;
    overflow: hidden;
}

/* Beta Page Responsive Design */
@media (max-width: 768px) {
    .beta-hero-content h1 {
        font-size: 2.5rem;
    }

    .beta-hero-subtitle {
        font-size: 1.25rem;
    }

    .beta-hero-description {
        font-size: 1.1rem;
    }

    .beta-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .beta-benefits h2,
    .beta-criteria h2 {
        font-size: 2rem;
    }

    .beta-form-content h2 {
        font-size: 2rem;
    }

    .beta-form-container {
        padding: 1rem;
    }
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.98);
}

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

.mission h2 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.mission-text {
    text-align: left;
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.mission-text p:last-child {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.mission-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Beta Tester Section */
.beta-tester {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.4);
}

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

.beta-tester h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.beta-intro {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.beta-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.beta-benefits,
.beta-criteria {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
}

/* Removed - this was overriding the specific benefit/criteria item styles */

.beta-benefits ul,
.beta-criteria ul {
    list-style: none;
    padding: 0;
}

.beta-benefits li,
.beta-criteria li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    padding-left: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Duplicate styles removed - using the main .beta-form-container styles above */

/* Press Kit Styles */
.press-header {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.press-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.press-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.press-content {
    padding: 4rem 0;
}

.press-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.press-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.press-section h2 {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.press-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-item strong {
    color: var(--primary-color);
    margin-right: 1rem;
}

.download-item a {
    color: var(--text-primary);
    text-decoration: none;
}

.download-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.logo-downloads {
    margin-bottom: 2rem;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.press-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.logo-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.logo-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.download-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.download-link:hover {
    background: var(--secondary-color);
}

.brand-guidelines {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-guidelines h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.brand-guidelines p {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    text-align: center;
}

.press-screenshot {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.screenshot-item p {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.contact-info,
.company-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p,
.company-info p {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-info a,
.company-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover,
.company-info a:hover {
    text-decoration: underline;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1f2937;
    border-radius: 30px;
    padding: 20px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

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

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 1;
    will-change: opacity;
    transform: translateZ(0); /* Force hardware acceleration */
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
}

.practice-session {
    background: var(--gradient);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 200px;
}

.practice-session h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.timer {
    font-size: 3rem;
    font-weight: 700;
    margin: 20px 0;
}

.song {
    font-size: 1.2rem;
    margin: 15px 0;
    opacity: 0.9;
}

.category {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
}

/* App Showcase Section */
.app-showcase {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.98);
}

.app-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.app-showcase > .container > p {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}



/* Screenshots Gallery */
.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.screenshot-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 280px;
}

.screenshot-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
}

.screenshot-item {
    position: relative;
}



.screenshot-caption {
    padding: 1.5rem;
    text-align: center;
}

.screenshot-caption h4 {
    color: var(--app-blue);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.screenshot-caption p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.98);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: #001F66;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.feature-icon .material-icons {
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.4);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-intro {
    text-align: center;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.step {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.step-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: #001F66;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.step-icon .material-icons {
    font-size: 2.5rem;
    color: white;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.step p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Download Section */
.download {
    padding: 80px 0;
    background: rgba(31, 41, 55, 0.65);
    color: white;
    text-align: center;
}

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

.download p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.download-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

/* Ensure all buttons have consistent height on desktop in download section */
@media (min-width: 481px) {
    .download-content > * {
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}





/* Footer */
.footer {
    background: rgba(248, 250, 252, 0.98);
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 32px;
    width: auto;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 0;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Legal Pages Styles */
.legal-page {
    padding: 120px 0 80px;
    background: rgba(248, 250, 252, 0.3);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.last-updated {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.legal-content h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 600;
}

.legal-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.7;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* About Page Styles */
.about-page {
    padding: 120px 0 80px;
    background: rgba(248, 250, 252, 0.3);
}

.about-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.about-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-subtitle {
    font-size: 1.3rem;
    color: white;
    font-weight: 500;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-section p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-item .feature-icon .material-icons {
    color: white;
    font-size: 1.8rem;
}

.feature-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.7;
    color: var(--text-primary);
}

.values-list li:last-child {
    border-bottom: none;
}

.contact-info {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .logo-img {
        height: 35px;
    }

    .nav-logo {
        gap: 0.5rem;
    }

    .nav-logo h2 {
        font-size: 2.2rem;
        line-height: 35px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .phone-mockup {
        width: 80%;
        max-width: 350px;
        height: auto;
        aspect-ratio: 9/16;
    }

    .hero-video {
        border-radius: 15px;
    }



    .screenshots-gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .screenshot-item {
        max-width: 350px;
    }

    .screenshot-item img {
        max-height: 500px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }

    .beta-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .beta-form-container iframe {
        height: 1000px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-section {
        padding: 2rem;
        margin: 0 1rem 2rem 1rem;
    }
}

@media (max-width: 480px) {
    body {
        background-attachment: scroll;
        background-size: cover;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        justify-content: center;
    }

    .download-content {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }



    /* Make all buttons consistent on mobile */
    .app-store-badge,
    .google-play-badge,
    .preview-link,
    .beta-button {
        width: 250px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 8px;
        transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    }

    /* App Store and Google Play badges with adjusted padding */
    .app-store-badge {
        background: transparent;
        padding: 0;
        border-radius: 0;
    }

    .google-play-badge {
        background: transparent;
        padding: 0;
        border-radius: 0;
    }

    /* Adjust for different internal padding on mobile */
    .app-store-badge img {
        width: 100%;
        height: 50px;
        max-width: 250px;
        object-fit: contain;
    }

    .google-play-badge img {
        width: 100%;
        height: 70px;
        max-width: 250px;
        object-fit: contain;
    }

    /* Preview link styling to match other buttons */
    .preview-link {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        text-decoration: none;
        font-size: 0.85rem;
        border: 2px solid rgba(255, 255, 255, 0.2);

    }

    .preview-link:hover {
        background: rgba(255, 255, 255, 0.2);
        text-decoration: none;
    }

    /* Beta button consistent sizing */
    .beta-button {
        font-size: 0.85rem;
        padding: 0;
    }
    
    .phone-mockup {
        width: 90%;
        max-width: 380px;
        height: auto;
        aspect-ratio: 9/16;
    }

    .hero-video {
        border-radius: 12px;
    }

    .practice-session {
        padding: 20px;
        max-width: 150px;
    }

    .timer {
        font-size: 2rem !important;
    }

    .app-showcase h2 {
        font-size: 2rem;
    }

    .app-showcase > .container > p {
        font-size: 1rem;
    }

    .screenshots-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .screenshot-item {
        max-width: 90%;
        margin: 0 auto;
    }

    .screenshot-item img {
        max-height: 600px;
    }

    .logo-img {
        height: 30px;
    }

    .nav-logo {
        gap: 0.4rem;
    }

    .nav-logo h2 {
        font-size: 1.9rem;
        line-height: 30px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo-img {
        height: 28px;
    }
}