/* ============================================================
   PixPull — main.css
   Mobile-first responsive site styles
   Brand: #1F80FF blue · #1A1A2E navy · #F5A623 amber
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px; line-height: 1.6;
    color: #333; background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
::selection { background: #1F80FF; color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: #1F80FF; text-decoration: none; transition: color .2s; }
a:hover { color: #0d5bbf; }
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em; color: #1A1A2E;
    font-weight: 700; line-height: 1.25;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea {
    font-family: inherit; font-size: inherit; color: inherit;
}
button { cursor: pointer; }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding: 48px 0; }
.section-title {
    text-align: center; font-size: 28px; color: #1A1A2E;
    margin-bottom: 12px;
}
.section-subtitle {
    text-align: center; color: #666; font-size: 17px;
    max-width: 600px; margin: 0 auto 40px;
}

/* --- Navigation --- */
.main-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    height: 64px;
}
.main-nav .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav-logo {
    display: flex; align-items: center; gap: 8px;
    font-size: 22px; font-weight: 700; color: #1F80FF;
    text-decoration: none;
}
.nav-logo-img { width: 32px; height: 32px; }
.nav-links {
    display: none; /* mobile hidden */
    align-items: center; gap: 24px;
}
.nav-links a {
    font-size: 15px; font-weight: 500; color: #444;
    text-decoration: none; transition: color .2s;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: #1F80FF; }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 2px; background: #1F80FF; border-radius: 1px;
}
.nav-login {
    font-weight: 600 !important; color: #1F80FF !important;
}
.nav-cta {
    background: #1F80FF !important; color: #fff !important;
    padding: 8px 20px !important; border-radius: 8px;
    font-weight: 600 !important;
    transition: background .2s, transform .2s !important;
}
.nav-cta:hover {
    background: #0d5bbf !important;
    transform: translateY(-1px);
}

/* Hamburger */
.mobile-menu-toggle {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 32px; height: 32px;
    background: none; border: none; padding: 4px; cursor: pointer;
}
.mobile-menu-toggle span {
    display: block; width: 24px; height: 2px;
    background: #333; border-radius: 2px;
    transition: transform .25s, opacity .2s;
}
.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-down nav */
.nav-links.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; padding: 20px 16px; gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    animation: slideDown .25s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Body offset for fixed nav */
body { padding-top: 64px; }

/* --- Hero --- */
.hero {
    min-height: 60vh; display: flex; align-items: center;
    justify-content: center; text-align: center;
    background: linear-gradient(135deg, #1A1A2E 0%, #16213e 30%, #1F80FF 70%, #5ba4ff 100%);
    padding: 60px 16px 80px; color: #fff;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(245,166,35,.15) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content { position: relative; max-width: 720px; z-index: 1; }
.hero h1 {
    font-size: 32px; font-weight: 800; color: #fff;
    margin-bottom: 16px; line-height: 1.2;
    letter-spacing: -.02em;
}
.hero p {
    font-size: 17px; color: rgba(255,255,255,.88);
    margin-bottom: 32px; line-height: 1.5;
}
.hero .btn-amber { font-size: 17px; padding: 16px 36px; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 28px;
    font-size: 15px; font-weight: 600; line-height: 1.3;
    border: 2px solid transparent; border-radius: 10px;
    text-decoration: none; cursor: pointer;
    transition: all .2s ease;
}
.btn:focus-visible {
    outline: 3px solid #1F80FF; outline-offset: 2px;
}
.btn-primary {
    background: #1F80FF; color: #fff; border-color: #1F80FF;
}
.btn-primary:hover {
    background: #0d5bbf; border-color: #0d5bbf; color: #fff;
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(31,128,255,.3);
}
.btn-secondary {
    background: transparent; color: #1F80FF; border-color: #1F80FF;
}
.btn-secondary:hover {
    background: #1F80FF; color: #fff;
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(31,128,255,.2);
}
.btn-amber {
    background: #F5A623; color: #1A1A2E; border-color: #F5A623;
}
.btn-amber:hover {
    background: #e09510; border-color: #e09510;
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,166,35,.35);
}
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: 12px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-white {
    background: #fff; color: #1F80FF; border-color: #fff;
}
.btn-white:hover {
    background: #f0f6ff; transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,.3);
}
.btn-danger { background: #dc3545; color: #fff; border-color: #dc3545; }
.btn-danger:hover { background: #b02a37; border-color: #b02a37; }
.btn:disabled, .btn.disabled {
    opacity: .5; cursor: not-allowed; pointer-events: none;
}
.btn-block { display: flex; width: 100%; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Cards --- */
.card {
    background: #fff; border-radius: 12px; padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
.card-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}

/* --- Tier / Pricing Cards --- */
.tier-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
    max-width: 1000px; margin: 0 auto;
}
.tier-card {
    background: #fff; border-radius: 16px; padding: 36px 28px;
    text-align: center; border: 2px solid #e8ecf0;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    display: flex; flex-direction: column;
}
.tier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
.tier-popular {
    border-color: #1F80FF; position: relative;
    box-shadow: 0 4px 24px rgba(31,128,255,.15);
}
.tier-popular-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: #1F80FF; color: #fff;
    padding: 4px 20px; border-radius: 20px;
    font-size: 13px; font-weight: 700; letter-spacing: .02em;
    white-space: nowrap;
}
.tier-name { font-size: 22px; font-weight: 700; color: #1A1A2E; margin-bottom: 8px; }
.tier-price { margin: 16px 0; }
.tier-price .amount {
    font-size: 48px; font-weight: 800; color: #1A1A2E;
    line-height: 1;
}
.tier-price .currency { font-size: 24px; vertical-align: super; font-weight: 600; }
.tier-desc { color: #666; font-size: 15px; margin-bottom: 24px; }
.tier-features {
    text-align: left; margin-bottom: 28px;
    flex-grow: 1;
}
.tier-features li {
    padding: 8px 0 8px 28px; font-size: 15px; color: #444;
    position: relative; border-bottom: 1px solid #f0f2f5;
}
.tier-features li:last-child { border-bottom: none; }
.tier-features li::before {
    content: '✓'; position: absolute; left: 0; color: #1F80FF;
    font-weight: 700; font-size: 16px;
}
.tier-card .btn { margin-top: auto; }

/* Comparison table */
.comparison-table-wrap { overflow-x: auto; margin: 40px 0; }
.comparison-table {
    width: 100%; border-collapse: collapse; min-width: 600px;
}
.comparison-table th, .comparison-table td {
    padding: 14px 16px; text-align: center;
    border-bottom: 1px solid #e8ecf0; font-size: 15px;
}
.comparison-table th {
    background: #f7f8fa; font-weight: 700; color: #1A1A2E;
}
.comparison-table td:first-child {
    text-align: left; font-weight: 500; color: #444;
}
.comparison-table .check { color: #1F80FF; font-weight: 700; font-size: 18px; }
.comparison-table .dash { color: #ccc; }

/* --- Icon Strip (How It Works) --- */
.icon-strip {
    display: grid; grid-template-columns: 1fr; gap: 32px;
    text-align: center; max-width: 900px; margin: 0 auto;
}
.icon-strip-item { padding: 12px; }
.icon-circle {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, #1F80FF, #5ba4ff);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(31,128,255,.25);
}
.icon-circle img, .icon-circle svg {
    width: 36px; height: 36px; filter: brightness(0) invert(1);
}
.icon-strip-item h3 {
    font-size: 20px; margin-bottom: 8px;
}
.icon-strip-item p {
    color: #666; font-size: 15px; max-width: 280px; margin: 0 auto;
}
.icon-strip-connector {
    display: none; /* shown on desktop */
}

/* --- Vignette Cards (Social Proof) --- */
.vignette-grid {
    display: grid; grid-template-columns: 1fr; gap: 20px;
}
.vignette-card {
    background: #fef9f0; border-radius: 12px; padding: 28px;
    border: 1px solid #f5eadb;
}
.vignette-card .story {
    font-style: italic; font-size: 16px; color: #555;
    margin-bottom: 12px; line-height: 1.6;
}
.vignette-card .attribution {
    font-size: 14px; color: #999; font-weight: 600;
}

/* --- Trust Bar --- */
.trust-bar {
    background: #f7f8fa; padding: 32px 0;
}
.trust-items {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 24px 40px;
}
.trust-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 600; color: #555;
}
.trust-item svg, .trust-item img {
    width: 24px; height: 24px; opacity: .6;
}

/* --- Timeline (Order Tracking) --- */
.timeline { position: relative; padding-left: 40px; margin: 40px 0; }
.timeline::before {
    content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
    width: 2px; background: #e0e0e0;
}
.timeline-step {
    position: relative; padding: 0 0 36px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute; left: -40px; top: 2px;
    width: 32px; height: 32px; border-radius: 50%;
    background: #e0e0e0; border: 3px solid #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #fff;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.timeline-step.timeline-complete .timeline-dot {
    background: #22c55e;
}
.timeline-step.timeline-complete .timeline-dot::after {
    content: '✓'; font-size: 14px;
}
.timeline-step.timeline-active .timeline-dot {
    background: #1F80FF;
    animation: timelinePulse 2s infinite;
}
.timeline-step.timeline-future .timeline-dot { background: #d0d5dc; }
.timeline-step h4 { font-size: 17px; margin-bottom: 4px; }
.timeline-step p { font-size: 14px; color: #777; margin: 0; }
.timeline-step .timeline-meta {
    font-size: 13px; color: #999; margin-top: 4px;
}

@keyframes timelinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(31,128,255,.4); }
    50% { box-shadow: 0 0 0 10px rgba(31,128,255,0); }
}

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block; margin-bottom: 6px;
    font-size: 14px; font-weight: 600; color: #444;
}
.form-input {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid #d0d5dc; border-radius: 8px;
    background: #fff; font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}
.form-input:focus {
    outline: none; border-color: #1F80FF;
    box-shadow: 0 0 0 3px rgba(31,128,255,.12);
}
.form-input::placeholder { color: #aaa; }
.form-input:disabled { background: #f7f8fa; cursor: not-allowed; }
textarea.form-input { resize: vertical; min-height: 100px; }
select.form-input { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 36px;
}
.form-row {
    display: grid; grid-template-columns: 1fr; gap: 16px;
}
.form-error { color: #dc3545; font-size: 13px; margin-top: 4px; }
.form-help { color: #999; font-size: 13px; margin-top: 4px; }
.form-check {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; cursor: pointer;
}
.form-check input[type="checkbox"] {
    width: 18px; height: 18px; margin-top: 2px;
    accent-color: #1F80FF;
}

/* Radio cards */
.radio-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.radio-card {
    border: 2px solid #e0e4ea; border-radius: 12px;
    padding: 20px; cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
    display: flex; align-items: flex-start; gap: 14px;
}
.radio-card:hover { border-color: #b0c4ff; }
.radio-card.selected {
    border-color: #1F80FF; background: #f0f6ff;
    box-shadow: 0 0 0 3px rgba(31,128,255,.1);
}
.radio-card input[type="radio"] {
    width: 20px; height: 20px; margin-top: 2px;
    accent-color: #1F80FF; flex-shrink: 0;
}
.radio-card-body h4 { font-size: 16px; margin-bottom: 4px; }
.radio-card-body p { font-size: 14px; color: #666; margin: 0; }

/* --- Cloud Wizard --- */
.cloud-wizard { max-width: 800px; margin: 0 auto; }
.wizard-tabs {
    display: flex; gap: 8px; margin-bottom: 32px;
    flex-wrap: wrap;
}
.wizard-tab {
    padding: 10px 24px; border-radius: 8px;
    border: 2px solid #e0e4ea; background: #fff;
    font-weight: 600; color: #666; cursor: pointer;
    transition: all .2s;
}
.wizard-tab:hover { border-color: #1F80FF; color: #1F80FF; }
.wizard-tab.active {
    background: #1F80FF; color: #fff; border-color: #1F80FF;
}
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-step {
    display: flex; gap: 20px; padding: 20px;
    background: #f7f8fa; border-radius: 12px;
    margin-bottom: 16px;
}
.wizard-step-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: #1F80FF; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.wizard-step-body h4 { font-size: 16px; margin-bottom: 4px; }
.wizard-step-body p { font-size: 14px; color: #555; margin: 0; }
.wizard-step-img {
    margin-top: 12px; border-radius: 8px; border: 1px solid #ddd;
    background: #eee; min-height: 120px;
    display: flex; align-items: center; justify-content: center;
    color: #999; font-size: 14px;
}

/* --- Accordion (FAQ) --- */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
    border-bottom: 1px solid #e8ecf0;
}
.accordion-trigger {
    width: 100%; padding: 20px 0;
    background: none; border: none; text-align: left;
    font-size: 17px; font-weight: 600; color: #1A1A2E;
    cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; gap: 16px;
    transition: color .2s;
}
.accordion-trigger:hover { color: #1F80FF; }
.accordion-icon {
    width: 24px; height: 24px; flex-shrink: 0;
    position: relative;
}
.accordion-icon::before, .accordion-icon::after {
    content: ''; position: absolute;
    background: currentColor; border-radius: 1px;
    transition: transform .25s;
}
.accordion-icon::before {
    width: 16px; height: 2px; top: 11px; left: 4px;
}
.accordion-icon::after {
    width: 2px; height: 16px; top: 4px; left: 11px;
}
.accordion-item.is-open .accordion-icon::after {
    transform: rotate(90deg);
}
.accordion-content {
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
}
.accordion-content-inner {
    padding: 0 0 20px;
    font-size: 15px; color: #555; line-height: 1.7;
}

/* --- Order Flow Steps --- */
.order-steps-indicator {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin: 32px 0 40px; padding: 0 16px;
}
.order-step-dot {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 15px;
    background: #e0e4ea; color: #999;
    flex-shrink: 0;
    transition: background .3s, color .3s;
}
.order-step-dot.active {
    background: #1F80FF; color: #fff;
    box-shadow: 0 2px 12px rgba(31,128,255,.3);
}
.order-step-dot.completed {
    background: #22c55e; color: #fff;
}
.order-step-connector {
    height: 2px; flex-grow: 1; max-width: 80px;
    background: #e0e4ea;
}
.order-step-connector.completed { background: #22c55e; }

.order-section { display: none; }
.order-section.active { display: block; }

/* Order summary */
.order-summary {
    background: #f7f8fa; border-radius: 12px; padding: 24px;
}
.order-line {
    display: flex; justify-content: space-between;
    padding: 8px 0; font-size: 15px;
}
.order-line.total {
    border-top: 2px solid #ddd; margin-top: 8px; padding-top: 16px;
    font-weight: 700; font-size: 18px; color: #1A1A2E;
}

/* --- Add-on section --- */
.addons-grid {
    display: grid; grid-template-columns: 1fr; gap: 16px;
}
.addon-card {
    border: 1.5px solid #e0e4ea; border-radius: 12px; padding: 20px;
    display: flex; align-items: center; gap: 16px;
}
.addon-card h4 { font-size: 15px; margin-bottom: 2px; }
.addon-card p { font-size: 14px; color: #666; margin: 0; }
.addon-price { font-weight: 700; color: #1A1A2E; white-space: nowrap; margin-left: auto; }

/* --- Contact form --- */
.contact-form { max-width: 600px; margin: 0 auto; }

/* --- Footer --- */
.site-footer {
    background: #1A1A2E; color: rgba(255,255,255,.7);
    padding: 60px 0 32px;
}
.footer-grid {
    display: grid; grid-template-columns: 1fr; gap: 32px;
    margin-bottom: 40px;
}
.footer-logo {
    font-size: 22px; font-weight: 700; color: #fff;
    text-decoration: none; display: block; margin-bottom: 8px;
}
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.5); }
.footer-col h4 {
    color: #fff; font-size: 14px; font-weight: 700;
    margin-bottom: 16px; text-transform: uppercase;
    letter-spacing: .06em;
}
.footer-col a {
    display: block; color: rgba(255,255,255,.6);
    font-size: 14px; padding: 4px 0;
    transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px; text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); margin: 0; }

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, #1A1A2E, #1F80FF);
    text-align: center; padding: 60px 16px;
    color: #fff;
}
.cta-banner h2 { color: #fff; font-size: 28px; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 17px; }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-muted { color: #999; }
.text-sm { font-size: 14px; }
.text-lg { font-size: 18px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.hidden { display: none !important; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Alert / Flash --- */
.alert {
    padding: 14px 18px; border-radius: 8px;
    font-size: 15px; margin-bottom: 20px;
}
.alert-success { background: #ecfdf5; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* --- Badge / Pill --- */
.badge {
    display: inline-flex; align-items: center;
    padding: 3px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
    line-height: 1.3;
}
.badge-blue { background: #e8f0ff; color: #1F80FF; }
.badge-green { background: #ecfdf5; color: #15803d; }
.badge-amber { background: #fef9ec; color: #b45309; }
.badge-red { background: #fef2f2; color: #dc2626; }
.badge-gray { background: #f3f4f6; color: #6b7280; }

/* --- Stripe Elements container --- */
#card-element {
    padding: 14px; border: 1.5px solid #d0d5dc; border-radius: 8px;
    background: #fff; transition: border-color .2s;
}
#card-element.StripeElement--focus { border-color: #1F80FF; }
#card-errors { color: #dc3545; font-size: 13px; margin-top: 8px; }

/* --- Loading spinner --- */
.spinner {
    width: 24px; height: 24px; border-radius: 50%;
    border: 3px solid #e0e4ea; border-top-color: #1F80FF;
    animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Fade-in on scroll --- */
.fade-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-in.is-visible {
    opacity: 1; transform: translateY(0);
}

/* --- Section Variants --- */
.section-light { background: #f7f8fa; }
.section-warm { background: #fef9f0; }
.section-cta {
    background: linear-gradient(135deg, #1A1A2E, #1F80FF);
    text-align: center; padding: 60px 16px; color: #fff;
}
.section-cta h2 { color: #fff; font-size: 28px; margin-bottom: 16px; }
.section-cta p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 17px; }
.section-cta-sub { text-align: center; margin-top: 24px; font-size: 15px; }

/* --- Hero Extras --- */
.hero-title { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.2; letter-spacing: -.02em; }
.hero-subtitle { font-size: 17px; color: rgba(255,255,255,.88); margin-bottom: 32px; line-height: 1.5; }
.hero-note { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 16px; }

/* --- Card Grid Variants --- */
.card-grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }

/* --- Tier Badge --- */
.tier-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: #1F80FF; color: #fff;
    padding: 4px 20px; border-radius: 20px;
    font-size: 13px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}

/* --- Price Display --- */
.price-dollar { font-size: 24px; vertical-align: super; font-weight: 600; }
.tier-price { font-size: 48px; font-weight: 800; color: #1A1A2E; line-height: 1; margin: 16px 0; }

/* --- CTA Block --- */
.cta-block { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-block h2 { color: #fff; font-size: 32px; margin-bottom: 16px; }
.cta-block p { color: rgba(255,255,255,.8); font-size: 17px; margin-bottom: 28px; }

/* --- Vignette Cards --- */
.vignette-card {
    background: #fef9f0; border-radius: 12px; padding: 28px;
    border: 1px solid #fce8c8; text-align: center;
}
.vignette-icon { margin-bottom: 16px; }
.vignette-story { font-size: 15px; color: #555; line-height: 1.6; font-style: italic; margin: 0; }
.vignette-story strong { color: #1A1A2E; font-style: normal; }

/* --- About page --- */
.about-content { max-width: 720px; margin: 0 auto; }
.about-content p { font-size: 17px; line-height: 1.7; color: #444; }

/* --- Estate quote form --- */
.estate-form {
    max-width: 600px; margin: 40px auto 0;
    background: #f7f8fa; border-radius: 16px; padding: 32px;
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */
@media (min-width: 480px) {
    .form-row { grid-template-columns: 1fr 1fr; }
    .radio-cards { grid-template-columns: 1fr 1fr; }
    .vignette-grid { grid-template-columns: 1fr 1fr; }
    .card-grid-4 { grid-template-columns: 1fr 1fr; }
    .addons-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .section { padding: 72px 0; }
    .section-title { font-size: 36px; }
    .hero { min-height: 65vh; padding: 80px 16px 100px; }
    .hero h1 { font-size: 42px; }
    .hero p { font-size: 19px; }
    .icon-strip { grid-template-columns: repeat(3, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .tier-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
    .hero-title { font-size: 42px; }
    .hero-subtitle { font-size: 19px; }
}

@media (min-width: 1024px) {
    .section { padding: 88px 0; }
    .hero { min-height: 70vh; padding: 100px 16px 120px; }
    .hero h1 { font-size: 48px; }

    /* Desktop nav */
    .nav-links { display: flex !important; }
    .mobile-menu-toggle { display: none; }

    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
    .vignette-grid { grid-template-columns: repeat(4, 1fr); }
    .hero-title { font-size: 48px; }
    .cta-banner h2 { font-size: 36px; }
    .section-cta h2 { font-size: 36px; }
}

@media (min-width: 1280px) {
    .container { max-width: 1200px; }
}

/* Print */
@media print {
    .main-nav, .site-footer, .btn, .mobile-menu-toggle { display: none; }
    body { padding-top: 0; font-size: 12pt; color: #000; }
    .hero { min-height: auto; padding: 24px; background: #eee; }
}
