/* Strainup Website Styles */
/* Brand Colors: Primary Blue #2375F0, Yellow #FFE920, Orange #F8821A */

:root {
    --primary-blue: #2375F0;
    --medium-blue: #1C5BBA;
    --dark-blue: #0B3E8A;
    --accent-yellow: #FFE920;
    --accent-orange: #F8821A;
    --accent-purple: #5616DE;
    --success-green: #13A42C;
    --error-red: #CD1414;
    --gray-light: #F7F8FA;
    --gray-medium: #ECECEC;
    --gray-dark: #5D5D5D;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--white);
    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);
    letter-spacing: -0.02em;
}

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

h3 {
    font-size: 1.25rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

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

.nav-cta {
    background: var(--text-primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 24px 0 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--text-primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
}

.app-store-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.app-store-btn.large {
    padding: 18px 36px;
}

.testflight-btn {
    display: inline-block;
    transition: var(--transition);
}

.testflight-btn img {
    height: 64px;
    width: auto;
}

.testflight-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.apple-icon {
    width: 28px;
    height: 28px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.btn-large {
    font-size: 1.1rem;
    font-weight: 600;
}

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

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-medium);
}

.badge-icon {
    font-size: 1.1rem;
}

.hero-phone {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    max-width: 400px;
    animation: float 6s ease-in-out infinite;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-gradient {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(35, 117, 240, 0.15) 0%, transparent 70%);
    z-index: 1;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: #F8FAFC;
}

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

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

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

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    border: 1px solid #E5E7EB;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-icon.blue {
    background: rgba(35, 117, 240, 0.1);
    color: var(--primary-blue);
}

.feature-icon.yellow {
    background: rgba(255, 233, 32, 0.2);
    color: #B8A600;
}

.feature-icon.orange {
    background: rgba(248, 130, 26, 0.1);
    color: var(--accent-orange);
}

.feature-icon.purple {
    background: rgba(86, 22, 222, 0.1);
    color: var(--accent-purple);
}

.feature-icon.green {
    background: rgba(19, 164, 44, 0.1);
    color: var(--success-green);
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Screenshots Section */
.screenshots {
    padding: 120px 0;
    background: var(--white);
    border-top: 1px solid #E5E7EB;
}

.screenshots-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    perspective: 1000px;
}

.screenshot-item {
    text-align: center;
    transition: var(--transition);
}

.screenshot-item img {
    max-width: 320px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
}

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

.screenshot-item.featured img {
    max-width: 380px;
}

.screenshot-label {
    margin-top: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
    background: #F1F5F9;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.step-connector {
    width: 80px;
    height: 2px;
    background: var(--gray-medium);
    margin-top: 60px;
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--gray-medium);
    border-top: 2px solid var(--gray-medium);
    transform: rotate(45deg);
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #EEF2FF 100%);
}

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

.cta-text h2 {
    margin-bottom: 20px;
}

.cta-text p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 450px;
}

.cta-phone {
    display: flex;
    justify-content: center;
}

.cta-phone img {
    max-width: 360px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

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

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

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

.footer-brand .logo-text {
    color: var(--white);
}

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

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

    .hero-text {
        order: 1;
    }

    .hero-phone {
        order: 2;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

    .cta-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-phone {
        order: 2;
    }

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

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: 400px;
    }

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-showcase {
        flex-direction: column;
        align-items: center;
    }

    .screenshot-item img,
    .screenshot-item.featured img {
        max-width: 320px;
    }

    .steps {
        flex-direction: column;
        gap: 0;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }

    .step-connector::after {
        right: -4px;
        top: auto;
        bottom: -6px;
        transform: rotate(135deg);
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }

    .phone-mockup {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 12px 16px;
    }

    .nav-cta {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .badge {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .feature-card {
        padding: 24px;
    }

    .features,
    .screenshots,
    .how-it-works,
    .cta {
        padding: 80px 0;
    }
}
