/* MacTransfer — Landing page styles
   Single CSS file, no framework. Designed to be readable and easy to tweak. */

:root {
    --color-primary: #1A73E8;
    --color-primary-dark: #1557B0;
    --color-accent: #10B981;
    --color-text: #111827;
    --color-text-muted: #4B5563;
    --color-text-subtle: #6B7280;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F9FAFB;
    --color-border: #E5E7EB;
    --color-card: #FFFFFF;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 30px -10px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);

    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

ul, ol { list-style: none; }

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

/* ---------- Promo banner ---------- */

.promo-banner {
    background: linear-gradient(90deg, #1A73E8 0%, #0F4FBF 100%);
    color: white;
    font-size: 14px;
    text-align: center;
    padding: 10px 0;
}
.promo-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.promo-badge {
    background: rgba(255,255,255,0.18);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.promo-banner s { color: rgba(255,255,255,0.6); margin-left: 4px; }
.promo-banner a {
    color: white;
    font-weight: 600;
    border-bottom: 1px dotted rgba(255,255,255,0.5);
    padding-bottom: 1px;
}
.promo-banner a:hover { color: white; border-bottom-color: white; }

/* ---------- Nav ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 17px;
    color: var(--color-text);
}

.logo-mark {
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 700;
}

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--color-text-muted); font-weight: 500; font-size: 14px; }
.nav-links a:hover { color: var(--color-text); }
.nav-cta {
    background: var(--color-primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}
.nav-cta:hover { background: var(--color-primary-dark); }

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

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white !important;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--color-text) !important;
    border: 1px solid var(--color-border);
}
.btn-secondary:hover {
    background: var(--color-bg-alt);
    border-color: #D1D5DB;
}

.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    text-align: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-accent { color: var(--color-primary); }

.hero-subtitle {
    font-size: 19px;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.55;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hero-meta {
    color: var(--color-text-subtle);
    font-size: 13px;
    margin-bottom: 60px;
}

/* ---------- Hero screenshot ---------- */

.hero-screenshot {
    max-width: 920px;
    margin: 0 auto;
}

.screenshot-frame {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.screenshot-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }

.screenshot-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-left: auto;
    margin-right: auto;
}

.screenshot-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    min-height: 280px;
}

.screenshot-pane {
    padding: 18px;
}

.screenshot-pane:first-child {
    border-right: 1px solid var(--color-border);
}

.pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.pane-meta {
    color: var(--color-text-subtle);
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, monospace;
}

.pane-badge {
    background: rgba(26,115,232,0.1);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.pane-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-bg-alt);
}

.screenshot-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 28px;
    padding: 0 8px;
    border-right: 1px solid var(--color-border);
}

@media (max-width: 640px) {
    .screenshot-body { grid-template-columns: 1fr; }
    .screenshot-pane:first-child { border-right: none; border-bottom: 1px solid var(--color-border); }
    .screenshot-arrow { transform: rotate(90deg); padding: 8px 0; border-right: none; border-bottom: 1px solid var(--color-border); }
}

/* ---------- Sections ---------- */

.section {
    padding: 80px 0;
}
.section-alt { background: var(--color-bg-alt); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 17px;
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Features grid ---------- */

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

.feature {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(26,115,232,0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.feature p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- Steps ---------- */

.steps {
    max-width: 720px;
    margin: 0 auto;
    counter-reset: step;
}

.step {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}
.step:last-child { border-bottom: none; }

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 17px;
}

.step h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.step p {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* ---------- Pricing ---------- */

.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

.plan {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-featured {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    letter-spacing: 0.02em;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.plan-price .price { color: var(--color-text); }
.plan-price .price-strike {
    font-size: 22px;
    color: var(--color-text-subtle);
    text-decoration: line-through;
    font-weight: 500;
    margin-right: 6px;
}
.plan-price .price-period {
    font-size: 15px;
    color: var(--color-text-subtle);
    font-weight: 500;
}
.plan-promo {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.plan-tagline {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.plan-features {
    margin-bottom: 28px;
    flex-grow: 1;
}

.plan-features li {
    padding: 8px 0;
    color: var(--color-text);
    font-size: 14px;
    display: flex;
    align-items: center;
}
.plan-features li::before {
    content: "✓";
    color: var(--color-accent);
    font-weight: 700;
    margin-right: 10px;
}

.pricing-note {
    text-align: center;
    color: var(--color-text-subtle);
    font-size: 13px;
    margin-top: 32px;
}

/* ---------- Download ---------- */

.downloads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}

.download-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.download-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}
.download-platform svg { width: 32px; height: 32px; color: var(--color-text); }
.download-platform h3 { font-size: 17px; font-weight: 600; }

.download-card p {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.download-version {
    color: var(--color-text-subtle);
    font-size: 12px;
    margin-top: 12px;
    margin-bottom: 0 !important;
}

.download-note {
    text-align: center;
    color: var(--color-text-subtle);
    font-size: 13px;
    max-width: 600px;
    margin: 32px auto 0;
}

/* ---------- FAQ ---------- */

.faqs {
    max-width: 720px;
    margin: 0 auto;
}

.faq {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    list-style: none;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--color-text-subtle);
    transition: transform 0.15s ease;
}
.faq[open] summary::after {
    content: "−";
}

.faq p {
    padding: 0 20px 20px;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- Footer ---------- */

.footer {
    background: var(--color-text);
    color: #D1D5DB;
    padding: 60px 0 30px;
}

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

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

.footer-brand .logo-mark { color: white; }
.footer-brand .logo-text { color: white; font-weight: 600; font-size: 17px; margin-left: 8px; }
.footer-tagline { color: #9CA3AF; font-size: 14px; margin-top: 12px; max-width: 280px; }

.footer-links h4 {
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    color: #9CA3AF;
    padding: 4px 0;
    font-size: 14px;
}
.footer-links a:hover { color: white; }

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    color: #6B7280;
    font-size: 13px;
}
