/* ============================================
   PrintBridge — Landing Page Styles
   Apple-inspired: clean, minimal, lots of space
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1d1d1f;
    line-height: 1.6;
    background: #fff;
}

a {
    color: #0071e3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #1d1d1f;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #1d1d1f;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

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

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.nav-logo:hover {
    text-decoration: none;
    color: #1d1d1f;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.875rem;
    color: #1d1d1f;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #0071e3;
    text-decoration: none;
}

.nav-cta {
    background: #0071e3;
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 980px;
    font-weight: 500;
}

.nav-cta:hover {
    background: #0077ed;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: #0071e3;
    color: #fff;
}

.btn-primary:hover {
    background: #0077ed;
}

.btn-secondary {
    background: transparent;
    color: #0071e3;
    border: 1px solid #0071e3;
}

.btn-secondary:hover {
    background: #0071e3;
    color: #fff;
}

.btn-large {
    padding: 18px 44px;
    font-size: 1.125rem;
}

.btn-full {
    display: block;
    width: 100%;
}

.btn-disabled {
    background: #86868b;
    color: #fff;
    cursor: default;
    pointer-events: none;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #fbfbfd 0%, #fff 100%);
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-video {
    display: none;
    flex-shrink: 0;
}

.hero-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #86868b;
    background: #f5f5f7;
    padding: 6px 16px;
    border-radius: 980px;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    color: #424245;
    max-width: 640px;
    margin: 24px 0 40px;
    line-height: 1.5;
}

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

.hero-note {
    margin-top: 20px;
    font-size: 0.8125rem;
    color: #86868b;
}

/* Mobile-only section */
.mobile-only {
    display: block;
}

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

.section-gray {
    background: #f5f5f7;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #424245;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.55;
}

/* Phone Frame */
.phone-frame {
    display: inline-block;
    background: #1d1d1f;
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 20px 60px rgba(0, 0, 0, 0.15);
}

.phone-video {
    display: block;
    width: 280px;
    border-radius: 28px;
}

/* ============================================
   Steps (How It Works)
   ============================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 56px;
}

.step {
    text-align: center;
    padding: 0 16px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0071e3;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.step p {
    color: #424245;
    font-size: 1rem;
    line-height: 1.5;
}

/* ============================================
   Screenshot
   ============================================ */
.screenshot-wrapper {
    margin-top: 48px;
    perspective: 1000px;
}

/* Screenshot Tabs */
.screenshot-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.tab-btn {
    padding: 8px 24px;
    border: 1px solid #d2d2d7;
    border-radius: 980px;
    background: #fff;
    color: #1d1d1f;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.tab-btn:hover {
    border-color: #0071e3;
    color: #0071e3;
}

.tab-btn.active {
    background: #0071e3;
    border-color: #0071e3;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    margin: 0 auto;
}

.screenshot {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ============================================
   Features
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 56px;
}

.feature {
    text-align: center;
    padding: 32px 20px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.feature h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.feature p {
    color: #424245;
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 760px;
    margin: 48px auto 0;
}

.pricing-single {
    max-width: 420px;
    margin: 48px auto 0;
}

.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid #e5e5e5;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card-featured {
    border-color: #0071e3;
    box-shadow: 0 4px 24px rgba(0, 113, 227, 0.12);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0071e3;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 980px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pricing-header {
    margin-bottom: 28px;
}

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

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-period {
    font-size: 0.875rem;
    color: #86868b;
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 0.9375rem;
    color: #1d1d1f;
    border-bottom: 1px solid #f0f0f0;
    padding-left: 28px;
    position: relative;
}

.pricing-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #34c759;
    font-weight: 600;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ============================================
   Download / CTA
   ============================================ */
.system-req {
    margin-top: 40px;
    padding: 24px;
    background: #f5f5f7;
    border-radius: 12px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.system-req p {
    font-size: 0.875rem;
    color: #86868b;
    line-height: 1.6;
}

.system-req strong {
    color: #1d1d1f;
}

.install-note {
    margin-top: 20px;
    padding: 16px 24px;
    background: #f5f5f7;
    border-radius: 12px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.install-note p {
    font-size: 0.8125rem;
    color: #86868b;
    line-height: 1.6;
}

.install-note strong {
    color: #1d1d1f;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid #e5e5e5;
    background: #f5f5f7;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.footer-text {
    font-size: 0.875rem;
    color: #86868b;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.footer-links a {
    font-size: 0.8125rem;
    color: #86868b;
}

.footer-links a:hover {
    color: #0071e3;
}

.footer-trademark {
    margin-top: 16px;
    font-size: 0.75rem;
    color: #a1a1a6;
}

/* ============================================
   Responsive
   ============================================ */

/* Desktop: show video in hero, hide mobile section */
@media (min-width: 769px) {
    .hero-video {
        display: block;
    }

    .mobile-only {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature {
        padding: 24px 16px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

    .hero-grid {
        flex-direction: column;
    }

    .hero-text {
        text-align: center;
    }

    .hero-subtitle {
        margin: 24px auto 40px;
    }

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

    .hero-video {
        display: none;
    }

    .section {
        padding: 72px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .nav-links a:not(.nav-cta) {
        display: none;
    }

    h1 {
        font-size: 2rem;
    }

    .system-req {
        display: block;
    }
}
