/* SmileWay public landing page styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top left, #f3f7ff 0, #eef6ff 34%, #f6fbff 65%, #f5fbff 100%);
    color: #0f172a;
}

body {
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sw-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.86), rgba(248, 253, 255, 0.92));
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.sw-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sw-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Outer soft blue halo + inner white disc (matches brand circle lockup) */
.sw-logo-mark-frame {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 5px;
    box-sizing: border-box;
    background: radial-gradient(
        circle at 32% 28%,
        rgba(219, 234, 254, 0.95) 0%,
        rgba(191, 219, 254, 0.55) 45%,
        rgba(147, 197, 253, 0.4) 100%
    );
    box-shadow:
        0 12px 28px rgba(37, 99, 235, 0.22),
        0 4px 12px rgba(15, 23, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sw-logo-mark {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.85);
}

.sw-logo-text-primary {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
    color: #1d4ed8;
}

.sw-logo-text-secondary {
    font-size: 13px;
    color: #64748b;
}

.sw-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    color: #64748b;
    margin-left: auto;
}

.sw-nav-link {
    position: relative;
    padding: 6px 0;
}

.sw-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    transition: width 0.18s ease-out;
}

.sw-nav-link:hover::after {
    width: 100%;
}

.sw-nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 12px;
}

.sw-btn {
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.14s ease-out, box-shadow 0.14s ease-out, background 0.14s ease-out, border-color 0.14s ease-out, color 0.14s ease-out;
}

.sw-btn-primary {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: white;
    box-shadow: 0 8px 18px rgba(15, 118, 228, 0.3);
}

.sw-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 118, 228, 0.42);
}

.sw-btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    border-color: rgba(148, 163, 184, 0.35);
}

.sw-btn-outline:hover {
    background: white;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

.sw-main {
    flex: 1;
}

.hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px 72px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero.hero-landing {
    padding-top: 54px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 228, 0.06);
    border: 1px solid rgba(129, 140, 248, 0.25);
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.4);
}

.hero-eyebrow {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 6px;
}

.hero-title {
    font-size: clamp(36px, 4.4vw, 52px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.045em;
    margin-bottom: 18px;
}

.hero-title span.accent {
    color: #2563eb;
}

.hero-title-split {
    font-size: clamp(42px, 5vw, 62px);
    line-height: 0.98;
    margin-bottom: 14px;
}

.hero-title-split .period {
    color: #0f172a;
}

.hero-subtitle {
    font-size: 15px;
    color: #6b7280;
    max-width: 32rem;
    line-height: 1.6;
    margin-bottom: 22px;
}

.hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    font-size: 12px;
}

.hero-pill {
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #4b5563;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.hero-caption {
    font-size: 12px;
    color: #9ca3af;
}

.hero-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slideshow {
    width: 100%;
    max-width: 430px;
    margin-left: auto;
    border-radius: 20px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.hero-slides {
    border-radius: 16px;
    overflow: hidden;
    background: #e5e7eb;
    aspect-ratio: 4 / 5;
    min-height: 340px;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-photo-card {
    width: 100%;
    max-width: 420px;
    border-radius: 28px;
    padding: 18px;
    background: radial-gradient(circle at top left, #ffffff 0, #f8fafc 45%, #eff6ff 100%);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.26),
        0 0 0 1px rgba(148, 163, 184, 0.28);
}

.hero-photo {
    border-radius: 22px;
    overflow: hidden;
    background: #e5e7eb;
    height: 260px;
}

.hero-photo.hero-photo-placeholder {
    background:
        radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.18) 0, rgba(37, 99, 235, 0) 45%),
        radial-gradient(circle at 70% 30%, rgba(14, 165, 233, 0.18) 0, rgba(14, 165, 233, 0) 50%),
        linear-gradient(135deg, #e5ecff 0, #f9fafb 45%, #eef6ff 100%);
    box-shadow: inset 0 0 30px rgba(15, 23, 42, 0.12);
    position: relative;
}

.hero-photo.hero-photo-placeholder::after {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-photo-stat {
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.hero-photo-stat.hero-photo-stat-overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

.hero-photo-stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.12);
}

.hero-dots {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(148, 163, 184, 0.6);
    cursor: pointer;
    padding: 0;
}

.hero-dot.is-active {
    width: 18px;
    background: rgba(37, 99, 235, 0.95);
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}

.hero-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    border-radius: 28px;
    background: radial-gradient(circle at 0 0, #e0f2fe 0, #eff6ff 40%, #f8fafc 100%);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.26),
        0 0 0 1px rgba(148, 163, 184, 0.3);
    padding: 18px 18px 20px;
}

.hero-room {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #e5ecff, #f9fafb);
    height: 215px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-room-inner {
    width: 90%;
    height: 80%;
    border-radius: 18px;
    background: radial-gradient(circle at top, #dbeafe 0, #e5e7eb 50%, #e5e7eb 100%);
    box-shadow: inset 0 0 30px rgba(15, 23, 42, 0.16);
}

.hero-stat {
    margin-top: 12px;
    border-radius: 18px;
    background: white;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.hero-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 2px;
}

.hero-stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.hero-stat-pill {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
    font-size: 11px;
    font-weight: 600;
}

.hero-floating-pill {
    position: absolute;
    right: -18px;
    top: 26%;
    padding: 10px 14px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
    font-size: 11px;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-floating-pill span.label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-floating-pill span.value {
    font-weight: 600;
}

.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 72px;
}

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

.section-eyebrow {
    font-size: 12px;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 6px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 6px;
}

.section-subtitle {
    font-size: 14px;
    color: #6b7280;
    max-width: 34rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 16px;
}

.feature-card-large {
    border-radius: 22px;
    background: white;
    padding: 22px 22px 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.feature-card-large-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
}

.feature-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(219, 234, 254, 0.9);
    color: #1d4ed8;
    font-weight: 500;
}

.feature-body {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 14px;
}

.feature-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #9ca3af;
}

.feature-link {
    font-size: 12px;
    color: #2563eb;
    font-weight: 500;
}

.feature-side-column {
    display: grid;
    gap: 12px;
}

.feature-card-small {
    border-radius: 18px;
    padding: 16px 18px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-card-small.primary {
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
}

.feature-card-small.muted {
    background: #0f172a;
}

.feature-card-small-title {
    font-size: 14px;
    font-weight: 600;
}

.feature-card-small-body {
    font-size: 12px;
    opacity: 0.9;
}

.feature-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.feature-chip {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.4);
}

.plans-header {
    text-align: center;
    margin-bottom: 24px;
}

.plans-title {
    margin: 0 0 8px;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #111827;
}

.plans-subtitle {
    margin: 0 auto;
    max-width: 620px;
    font-size: 14px;
    color: #6b7280;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.plan-card {
    position: relative;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.plan-card-featured {
    background: linear-gradient(165deg, #0f2d64 0, #0b3f8a 100%);
    border-color: #0d3f8d;
    color: #f8fbff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.3);
}

.plan-pill {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #1d4ed8;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 4px 10px;
}

.plan-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 8px;
}

.plan-card-featured .plan-label {
    color: rgba(219, 234, 254, 0.9);
}

.plan-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.plan-term {
    font-size: 12px;
    color: #64748b;
}

.plan-card-featured .plan-term {
    color: rgba(219, 234, 254, 0.8);
}

.plan-tagline {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
}

.plan-card-featured .plan-tagline {
    color: rgba(226, 232, 240, 0.92);
}

.plan-price-alt-line {
    margin: -6px 0 10px;
    font-size: 13px;
    line-height: 1.35;
    color: #475569;
}

.plan-price-alt-num {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.03em;
    color: #111827;
}

.plan-term-muted {
    font-size: 12px;
    color: #64748b;
}

.plan-billed-note {
    display: inline-block;
    margin-left: 2px;
    font-size: 12px;
    color: #64748b;
}

.plan-features {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    color: #334155;
}

.plan-features li {
    position: relative;
    padding-left: 16px;
}

.plan-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #2563eb;
    font-weight: 700;
}

.plan-card-featured .plan-features {
    color: rgba(241, 245, 249, 0.94);
}

.plan-card-featured .plan-features li::before {
    color: #7dd3fc;
}

.plan-btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.network-section {
    margin-top: 24px;
    border-radius: 26px;
    background: radial-gradient(circle at top, #0f172a 0, #020617 52%, #020617 100%);
    color: white;
    padding: 28px 24px 26px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.9);
}

.network-heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
}

.network-body {
    font-size: 13px;
    color: #cbd5f5;
    max-width: 28rem;
}

.network-tagline {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: #60a5fa;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.network-card {
    border-radius: 20px;
    background: radial-gradient(circle at top, #020617 0, #020617 70%, #020617 100%);
    border: 1px solid rgba(51, 65, 85, 0.9);
    padding: 18px 18px 16px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.6);
}

.network-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.network-card-title {
    font-size: 13px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.network-card-logo {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 0, #38bdf8 0, #2563eb 40%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.network-card-body {
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.8);
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.network-field-label {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.network-field-value {
    font-size: 13px;
    font-weight: 500;
}

.network-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.network-status-pill {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    color: #4ade80;
}

.network-footer-copy {
    font-size: 13px;
    color: #0f172a;
    text-align: center;
    padding: 20px 20px 28px;
    font-weight: 500;
}

.network-footer-copy a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
}

/* —— Site footer (global) —— */
.lp-site-footer {
    margin-top: auto;
    border-top: 1px solid rgba(203, 213, 225, 0.85);
    background: #f3f5f8;
}

.lp-site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 20px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
}

.lp-site-footer-copy {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: #94a3b8;
    letter-spacing: 0.01em;
}

.lp-site-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
}

.lp-site-footer-links a {
    font-size: 13px;
    font-weight: 600;
    color: #1e3a5f;
    text-decoration: none;
    transition: color 0.15s ease;
}

.lp-site-footer-links a:hover {
    color: #0f172a;
    text-decoration: underline;
}

.lp-site-footer-links a:focus-visible {
    outline: 2px solid rgba(30, 58, 95, 0.45);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .hero-media {
        order: -1;
    }

    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .plans-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .network-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .sw-nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 28px;
        padding-bottom: 56px;
    }

    .section {
        padding-bottom: 56px;
    }

    .sw-nav-inner {
        padding-inline: 16px;
    }

    .lp-site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 16px 22px;
    }
}

