/* CSS Variables */
:root {
    --primary: #FF5722;
    --primary-dark: #E64A19;
    --primary-light: #FF8A65;
    --secondary: #FF9800;
    --gradient: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
    --gradient-dark: linear-gradient(135deg, #E64A19 0%, #F57C00 100%);
    --text: #1a1a2e;
    --text-light: #4a4a68;
    --text-muted: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f8f9fc;
    --bg-dark: #1a1a2e;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.25rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.4);
}

.btn-primary:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fff5f2 0%, #fff 50%, #fff8f5 100%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 87, 34, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-top: 20px;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--bg-dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    color: white;
    font-weight: 600;
}

.app-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.strike-indicator {
    text-align: center;
    margin-bottom: 20px;
}

.strike-type {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(255, 87, 34, 0.5);
}

.strike-score {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.pose-visualization {
    width: 150px;
    height: 200px;
    margin: 20px 0;
}

.pose-svg {
    width: 100%;
    height: 100%;
}

.pose-head {
    fill: var(--primary);
}

.pose-body, .pose-arm, .pose-leg {
    stroke: var(--primary-light);
    stroke-width: 4;
    stroke-linecap: round;
}

.pose-arm.punch {
    stroke: var(--primary);
    stroke-width: 5;
    animation: punch 1s ease-in-out infinite;
}

@keyframes punch {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.combo-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    background: rgba(255, 87, 34, 0.2);
    padding: 12px 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 87, 34, 0.3);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: 16px;
}

/* Features */
.features {
    background: var(--bg);
}

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

.feature-card {
    padding: 32px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 87, 34, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 12px;
}

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

/* How It Works */
.how-it-works {
    background: var(--bg-alt);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 32px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-light);
}

.step-visual {
    width: 200px;
}

.device-icons {
    display: flex;
    gap: 12px;
}

.device-icon {
    padding: 12px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
}

.device-icon.garmin {
    color: #007dcd;
}

.device-icon.strava {
    color: #fc4c02;
}

.training-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-score-badge, .combo-badge {
    padding: 10px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
}

.form-score-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.combo-badge {
    background: rgba(255, 87, 34, 0.1);
    color: var(--primary);
}

.chat-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    max-width: 180px;
}

.chat-bubble.ai {
    background: var(--bg-alt);
    color: var(--text);
    align-self: flex-start;
}

.chat-bubble.user {
    background: var(--gradient);
    color: white;
    align-self: flex-end;
}

/* Integrations */
.integrations {
    background: var(--bg);
}

.integration-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.integration-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.integration-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-logo svg {
    width: 48px;
    height: 48px;
}

.garmin-logo {
    color: #007dcd;
}

.strava-logo {
    color: #fc4c02;
}

.fit-logo {
    color: var(--primary);
}

.integration-card h3 {
    margin-bottom: 8px;
}

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

/* Strike Types */
.strike-types {
    background: var(--bg-dark);
    color: white;
}

.strike-types .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.strikes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.strike-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.strike-card:hover {
    background: rgba(255, 87, 34, 0.2);
    border-color: var(--primary);
    transform: scale(1.05);
}

.strike-num {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
}

.strike-card span {
    font-weight: 600;
}

.strike-card.kick .strike-num {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Pricing */
.pricing {
    background: var(--bg-alt);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.pricing-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
}

.pricing-card .btn {
    width: 100%;
}

/* Waitlist */
.waitlist {
    background: var(--gradient);
    color: white;
    text-align: center;
}

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

.waitlist h2 {
    color: white;
}

.waitlist .gradient-text {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.waitlist p {
    margin-top: 16px;
    opacity: 0.9;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    outline: none;
}

.waitlist-form .btn {
    background: var(--bg-dark);
    box-shadow: none;
}

.waitlist-form .btn:hover {
    background: var(--text);
}

.waitlist-note {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 16px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 40px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

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

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

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

.footer-links a:hover {
    color: white;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        transform: none;
        width: 260px;
        height: 520px;
    }

    .features-grid,
    .integration-cards,
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }

    .strikes-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    section {
        padding: 60px 0;
    }

    .features-grid,
    .integration-cards,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .strikes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-visual {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .waitlist-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}
