:root {
    --brand-color: #0f3b73;
    --brand-light: #1a5ba8;
    --accent-blue: #2563eb;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8fafc;
}

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

html {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.hidden { display: none; }

/* Hero Section */
.hero {
    background-color: var(--brand-color);
    color: white;
    padding: 80px 20px;
}

.logo-circle {
    width: 160px;
    height: 160px;
    margin: 0 auto 30px auto;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-circle img {
    max-width: 75%;
    height: auto;
    display: block;
}

.subpage-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 14px 28px;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.subpage-logo img {
    height: 75px;
    width: auto;
    max-width: 100%;
    display: block;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero .subtitle { font-size: 1.2rem; color: #dbeafe; max-width: 700px; margin: 0 auto 40px auto; }

/* Forms */
.form-inline {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}
.form-inline input {
    flex: 1;
    min-width: 0;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}
.btn {
    background-color: white;
    color: var(--brand-color);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn:hover { background-color: #f1f5f9; }
.small-text { font-size: 0.85rem; color: #bfdbfe; margin-top: 10px; }

.msg { margin-top: 20px; padding: 10px; border-radius: 8px; font-weight: bold; }
.msg.success { background-color: #dcfce7; color: #166534; }
.msg.error { background-color: #fee2e2; color: #991b1b; }

/* Features - Zick-Zack-Layout */
.features { padding: 80px 20px; }
.feature-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 90px;
    width: 100%;
}
.feature-row.reverse {
    flex-direction: row-reverse;
}
.feature-text {
    flex: 1;
    min-width: 0;
    width: 100%;
}
.feature-text h3 {
    color: var(--brand-color);
    font-size: clamp(1.35rem, 4.8vw, 1.8rem);
    margin-bottom: 20px;
    line-height: 1.25;
}
.feature-text ul { list-style: none; padding: 0; margin: 0; }
.feature-text li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: var(--text-light);
    overflow-wrap: break-word;
}
.feature-text li::before {
    content: "✓";
    color: var(--brand-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Feature UI Mockup Stage */
.feature-image {
    flex: 1.08;
    min-width: 0;
    width: 100%;
    background: linear-gradient(145deg, #eef4fb 0%, #dbeafe 100%);
    padding: 22px;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(15, 59, 115, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid #dbe7f5;
    user-select: none;
}

.ui-window {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    text-align: left;
    font-size: 0.85rem;
    color: #1e293b;
    width: 100%;
}

.ui-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.ui-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    color: var(--brand-color);
    font-size: 0.9rem;
    min-width: 0;
}

.ui-brand img {
    height: 22px;
    width: auto;
    flex-shrink: 0;
}

.ui-topbar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.ui-pack-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 0.72rem;
    color: #475569;
    flex-shrink: 0;
}

.ui-avatar-sm {
    width: 26px;
    height: 26px;
    min-width: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #dbeafe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 1px solid #bfdbfe;
}

.ui-body {
    padding: 14px;
    background: #f8fafc;
}

.ui-section-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

/* Month Filter Pills (Feature 1) */
.ui-month-pills {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ui-month-pill {
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 600;
    background: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.ui-month-pill.active {
    background: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
}

/* Calendar Event Cards (Feature 1 & 3) */
.ui-cal-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ui-cal-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #ffffff;
    border-radius: 12px;
    padding: 9px 11px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--accent-blue);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.ui-cal-card.booked {
    border-left-color: #f59e0b;
}

.ui-cal-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.ui-date-badge {
    width: 42px;
    min-width: 42px;
    flex-shrink: 0;
    border-radius: 9px;
    background: #f1f5f9;
    overflow: hidden;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.ui-date-badge-top {
    background: #9333ea;
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 2px 0;
    text-transform: uppercase;
}

.ui-date-badge-day {
    font-size: 0.58rem;
    color: #64748b;
    font-weight: 600;
    padding-top: 1px;
    line-height: 1.1;
}

.ui-date-badge-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    padding-bottom: 3px;
}

.ui-cal-info {
    min-width: 0;
    flex: 1;
}

.ui-cal-title {
    font-weight: 700;
    font-size: 0.81rem;
    color: #1e293b;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.ui-cal-sub {
    font-size: 0.71rem;
    color: #64748b;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.ui-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--accent-blue);
    max-width: 100%;
}

.ui-status-tag.waitlist {
    background: #fef3c7;
    color: #b45309;
}

.ui-status-tag.green {
    background: #dcfce7;
    color: #15803d;
}

/* Course Creation Mini-Bar (Feature 1 bottom) */
.ui-create-bar {
    margin-top: 10px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 8px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.ui-create-bar-left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    min-width: 0;
    flex: 1 1 160px;
}

.ui-mini-btn {
    background: var(--accent-blue);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    text-align: center;
    flex-shrink: 0;
}

/* Feature 2: Digitale Hundeakte */
.ui-dog-header {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
}

.ui-dog-photo {
    width: 50px;
    height: 50px;
    min-width: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
    border: 3px solid #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

.ui-dog-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.ui-dog-name {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.ui-dog-breed {
    font-size: 0.74rem;
    color: #64748b;
    margin: 2px 0 6px 0;
}

.ui-dog-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ui-dog-pill {
    font-size: 0.67rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #334155;
}

.ui-dog-pill.female {
    background: #fce7f3;
    color: #be185d;
}

.ui-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    gap: 6px;
    margin-bottom: 10px;
}

.ui-meta-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 8px;
    min-width: 0;
}

.ui-meta-label {
    font-size: 0.63rem;
    color: #64748b;
    display: block;
}

.ui-meta-val {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
    overflow-wrap: break-word;
}

.ui-postit {
    background: #fef9c3;
    border-left: 4px solid #eab308;
    border-radius: 8px;
    padding: 9px 11px;
    font-size: 0.74rem;
    color: #713f12;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.ui-postit-head {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
    font-weight: 700;
    font-size: 0.68rem;
    margin-bottom: 3px;
    color: #854d0e;
}

/* Feature 3: Trainer Dashboard */
.ui-tabs {
    display: flex;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    margin: 10px 0;
}

.ui-tab {
    flex: 1;
    text-align: center;
    padding: 5px 6px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
}

.ui-tab.active {
    background: #ffffff;
    color: var(--brand-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.ui-participant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 8px 10px;
    margin-bottom: 6px;
}

.ui-participant-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 135px;
    min-width: 0;
}

.ui-participant-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-left: auto;
}

.ui-btn-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.67rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    white-space: nowrap;
}

.ui-btn-chip.present {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

.ui-dashboard-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.ui-action-bar-btn {
    flex: 1 1 130px;
    text-align: center;
    padding: 6px 8px;
    border-radius: 7px;
    font-size: 0.71rem;
    font-weight: 700;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.ui-action-bar-btn.primary {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
}

/* Feature 4: Wallet & Loyalty Stamp Card */
.ui-wallet-card {
    position: relative;
    background: linear-gradient(135deg, #e8f0fe 0%, #dbeafe 55%, #eff6ff 100%);
    border-radius: 14px;
    padding: 14px;
    border: 1px solid #bfdbfe;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.1);
    overflow: hidden;
    margin-bottom: 12px;
}

.ui-wallet-watermark {
    position: absolute;
    right: -10px;
    bottom: -18px;
    width: 110px;
    height: 110px;
    opacity: 0.07;
    pointer-events: none;
}

.ui-wallet-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.ui-wallet-chip {
    width: 34px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 5px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.ui-wallet-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #1e293b;
}

.ui-wallet-code {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #0f172a;
    margin-bottom: 2px;
    overflow-wrap: break-word;
}

.ui-wallet-pack {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ui-wallet-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding-top: 8px;
}

.ui-wallet-stat-label {
    font-size: 0.62rem;
    color: #64748b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ui-wallet-stat-val {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.ui-stamp-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
}

.ui-stamp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.ui-stamp-title {
    font-weight: 800;
    font-size: 0.78rem;
    color: var(--brand-color);
}

.ui-stamp-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}

.ui-stamp-slot {
    height: 36px;
    border-radius: 8px;
    border: 1.5px dashed #cbd5e1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #94a3b8;
    background: #f8fafc;
}

.ui-stamp-slot.stamped {
    border-style: solid;
    border-color: #93c5fd;
    background: #eff6ff;
    color: var(--brand-color);
    font-weight: 800;
}

.ui-stamp-slot.stamped img {
    height: 20px;
    width: auto;
}

/* Feature 5: Kunden-App & Digitales Rudel */
.ui-pack-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.ui-pack-banner-title {
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ui-pack-motto {
    font-size: 0.71rem;
    color: #cbd5e1;
    font-style: italic;
    margin-top: 3px;
}

.ui-quick-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.ui-quick-tile {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 4px;
    text-align: center;
    font-size: 0.66rem;
    font-weight: 700;
    color: #1e293b;
}

.ui-quick-tile.highlight {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
}

.ui-members-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 10px;
}

.ui-avatar-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ui-member-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.73rem;
    font-weight: 700;
    color: #334155;
}

.ui-next-booking {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    overflow: hidden;
}

.ui-next-booking-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ui-next-booking-row > div:first-child {
    min-width: 0;
    flex: 1 1 180px;
}

.ui-next-label {
    font-size: 0.63rem;
    font-weight: 800;
    color: var(--accent-blue);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ui-next-date {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
}

/* Pricing / Abo-Übersicht */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    text-align: left;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background-color: var(--bg-light);
    border-radius: 16px;
    padding: 32px 28px 26px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--brand-color);
    min-width: 0;
}

.pricing-card.featured {
    background-color: #f0f7ff;
    box-shadow: 0 8px 20px rgba(15, 59, 115, 0.12);
}

.pricing-card.coming-soon {
    opacity: 0.78;
    border-top-color: #94a3b8;
}

.plan-pill {
    position: absolute;
    top: -14px;
    left: 20px;
    background: var(--brand-color);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 999px;
}

.plan-pill.soon {
    background: #64748b;
}

.pricing-card h3 {
    color: var(--brand-color);
    margin: 4px 0 8px 0;
    font-size: 1.25rem;
}

.price-tag {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--brand-color);
    margin-bottom: 2px;
}

.price-tag span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
}

.price-strike {
    font-size: 0.82rem;
    font-weight: bold;
    color: #15803d;
    min-height: 20px;
    margin-bottom: 4px;
}

.tax-subline {
    font-size: 0.76rem;
    color: var(--text-light);
    margin-bottom: 14px;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0 0 18px 0;
    min-height: 62px;
    line-height: 1.45;
}

.plan-features {
    list-style: none;
    padding: 10px 0 0 0;
    margin: 0;
    flex-grow: 1;
    border-top: 1px solid #e2e8f0;
}

.plan-features li {
    font-size: 0.88rem;
    color: var(--text-light);
    padding: 7px 0 7px 22px;
    position: relative;
}

.plan-features li::before {
    content: "✓";
    color: var(--brand-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Non-Profit Banner below Pricing Grid */
.nonprofit-banner {
    margin-top: 28px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 2px solid #86efac;
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    text-align: left;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.08);
}

.nonprofit-banner-content {
    flex: 1;
    min-width: 0;
}

.nonprofit-badge-row {
    margin-bottom: 10px;
}

.nonprofit-pill {
    display: inline-block;
    background: #15803d;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

.nonprofit-banner h3 {
    margin: 0 0 8px 0;
    font-size: 1.35rem;
    color: #064e3b;
}

.nonprofit-desc {
    margin: 0 0 14px 0;
    font-size: 0.94rem;
    color: #166534;
    line-height: 1.5;
}

.nonprofit-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.nonprofit-features li {
    font-size: 0.88rem;
    font-weight: 600;
    color: #065f46;
    position: relative;
    padding-left: 20px;
}

.nonprofit-features li::before {
    content: "✓";
    color: #16a34a;
    font-weight: 800;
    position: absolute;
    left: 0;
}

.nonprofit-banner-cta {
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 20px 24px;
    text-align: center;
    width: 100%;
    max-width: 280px;
    min-width: 0;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.06);
}

.nonprofit-price {
    font-size: 1.9rem;
    font-weight: 800;
    color: #15803d;
    line-height: 1.1;
}

.nonprofit-price span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
}

.nonprofit-sub {
    font-size: 0.78rem;
    color: #475569;
    margin: 4px 0 14px 0;
}

.btn-nonprofit {
    display: block;
    background: #16a34a;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-nonprofit:hover {
    background: #15803d;
    transform: translateY(-2px);
}

.tax-footnote {
    max-width: 900px;
    margin: 30px auto 0 auto;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
    text-align: center;
}

/* Footer */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 20px 20px 20px;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid #334155;
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.footer-logo p {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
}

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 1080px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nonprofit-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container, .container-wide { padding: 0 16px; }
    .features { padding: 50px 16px; }
    .form-inline { flex-direction: column; }
    .pricing-grid { grid-template-columns: 1fr; }
    .plan-desc { min-height: 0; }
    .nonprofit-banner { padding: 20px; }
    .nonprofit-banner-cta { max-width: 100%; }
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        align-items: stretch;
        gap: 26px;
        margin-bottom: 60px;
    }
    .feature-image {
        width: 100%;
        padding: 12px;
        border-radius: 18px;
    }
    .ui-body { padding: 11px; }
    .ui-quick-tiles { grid-template-columns: repeat(2, 1fr); }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 1.75rem;
        -webkit-hyphens: auto;
        hyphens: auto;
        word-wrap: break-word;
    }

    .container {
        padding: 0 10px;
    }

    .features { padding: 80px 10px; }
}

/* Extreme narrow screens / high font scaling */
@media (max-width: 480px) {
    .feature-image {
        padding: 8px;
        border-radius: 14px;
    }
    .ui-topbar {
        padding: 8px 10px;
    }
    .ui-body {
        padding: 10px;
    }
    .ui-participant-left {
        flex: 1 1 100%;
    }
    .ui-participant-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .ui-next-booking-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .ui-mini-btn {
        width: 100%;
        display: block;
        box-sizing: border-box;
    }
    .ui-next-booking-row .ui-mini-btn {
        width: 100%;
        display: block;
        text-align: center;
        box-sizing: border-box;
    }
}

/* Plan selection buttons */
.btn-plan {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pricing-card.featured .btn-plan {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.pricing-card.featured .btn-plan:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
}

.pricing-card:not(.featured) .btn-plan {
    background-color: var(--brand-color);
    color: white;
}

.pricing-card:not(.featured) .btn-plan:hover {
    background-color: #0b2c56;
    transform: translateY(-2px);
}

.pricing-card.enterprise {
    border-top: 4px solid #7c3aed;
}

.pricing-card.enterprise .btn-plan {
    background-color: #7c3aed;
    color: white;
}

.pricing-card.enterprise .btn-plan:hover {
    background-color: #6d28d9;
    transform: translateY(-2px);
}

/* ==========================================================================
   App Showcase / Slideshow
   ========================================================================== */
.slideshow-section {
    background-color: #ffffff;
    padding: 70px 20px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.slideshow-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.slide-pill {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--text-dark);
    border-radius: 9999px;
    padding: 9px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.slide-pill:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.slide-pill.active {
    background: var(--brand-color);
    color: #ffffff;
    border-color: var(--brand-color);
    box-shadow: 0 4px 12px rgba(15, 59, 115, 0.25);
}

.slideshow-wrapper {
    position: relative;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.08);
    background: #0f172a;
    aspect-ratio: 1 / 1;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
}

.slideshow-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease-in-out, visibility 0.45s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
}

/* Controls bar underneath the images (unobstructed preview) */
.slideshow-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.slide-nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--brand-color);
    border: 1px solid #cbd5e1;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.slide-nav:hover {
    background: var(--brand-color);
    color: #ffffff;
    border-color: var(--brand-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 59, 115, 0.25);
}

.slide-nav:active {
    transform: translateY(0);
}

.slide-nav:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.slideshow-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-dot:hover {
    background: #94a3b8;
}

.slide-dot.active {
    width: 32px;
    background: var(--brand-color);
}

.slide-dot:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .slideshow-section {
        padding: 50px 15px;
    }
    .slide-pill {
        font-size: 0.82rem;
        padding: 6px 12px;
    }
    .slideshow-controls {
        gap: 16px;
        margin-top: 18px;
    }
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .slideshow-wrapper {
        border-radius: 18px;
    }
    .slide img {
        border-radius: 18px;
    }
}

/* ==========================================================================
   Vision & Added Value Section (More than pure dog school administration)
   ========================================================================== */
.vision-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    padding: 72px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.vision-kicker {
    display: inline-block;
    background: #dbeafe;
    color: var(--brand-color);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.vision-section h2 {
    color: var(--brand-color);
    font-size: clamp(1.55rem, 4vw, 2.15rem);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.vision-lead {
    color: var(--text-light);
    max-width: 780px;
    margin: 0 auto 36px auto;
    font-size: 1.05rem;
    line-height: 1.65;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    text-align: left;
    align-items: stretch;
}

.vision-card {
    background: #ffffff;
    border: 1px solid #dbe7f5;
    border-top: 4px solid var(--brand-color);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(15, 59, 115, 0.06);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vision-card.upcoming {
    border-top-color: var(--accent-blue);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.vision-card-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 999px;
    margin-bottom: 12px;
    background: #dcfce7;
    color: #166534;
}

.vision-card.upcoming .vision-card-badge {
    background: #eff6ff;
    color: var(--accent-blue);
}

.vision-card h3 {
    color: var(--brand-color);
    font-size: 1.22rem;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.vision-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vision-list li {
    position: relative;
    padding-left: 26px;
    color: var(--text-light);
    font-size: 0.94rem;
    line-height: 1.55;
    overflow-wrap: break-word;
}

.vision-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-color);
    font-weight: 800;
}

.vision-card.upcoming .vision-list li::before {
    content: "→";
    color: var(--accent-blue);
}

/* Roadmap Grid */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    text-align: left;
}

.roadmap-card {
    background-color: var(--bg-light);
    padding: 26px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--brand-color);
    min-width: 0;
}

.roadmap-card.done {
    border-top-color: #16a34a;
}

.roadmap-card.next {
    border-top-color: var(--accent-blue);
}

.roadmap-card h3 {
    color: var(--brand-color);
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.1rem;
}

.roadmap-card-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.roadmap-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.55;
}

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

@media (max-width: 640px) {
    .vision-section {
        padding: 52px 15px;
    }
    .vision-card {
        padding: 22px 18px;
    }
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   Hero Feature Spotlight & Top Highlights ("More than course management")
   ========================================================================== */
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
}

.hero-feature-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 860px;
    margin: 0 auto 28px auto;
}

.hero-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(219, 234, 254, 0.32);
    color: #eff6ff;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-feature-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.btn-hero-primary {
    font-size: 1.12rem;
    padding: 15px 34px;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.btn-hero-secondary {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    transform: translateY(-1px);
}

.highlights-top {
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    padding: 68px 20px 64px 20px;
    border-bottom: 1px solid #dbe7f5;
}

.highlights-top h2 {
    color: var(--brand-color);
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    margin: 0 0 14px 0;
    line-height: 1.2;
}

.highlights-lead {
    color: var(--text-light);
    max-width: 790px;
    margin: 0 auto 38px auto;
    font-size: 1.05rem;
    line-height: 1.65;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    text-align: left;
    align-items: stretch;
}

.highlight-card {
    background: #ffffff;
    border: 1px solid #dbe7f5;
    border-top: 4px solid var(--accent-blue);
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 8px 22px rgba(15, 59, 115, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.highlight-card.accent-gold {
    border-top-color: #f59e0b;
}

.highlight-card.accent-green {
    border-top-color: #16a34a;
}

.highlight-card.accent-purple {
    border-top-color: #7c3aed;
}

.highlight-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.highlight-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.highlight-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: var(--brand-color);
    letter-spacing: 0.02em;
}

.highlight-badge.new {
    background: #dcfce7;
    color: #166534;
}

.highlight-card h3 {
    color: var(--brand-color);
    font-size: 1.12rem;
    margin: 2px 0 0 0;
    line-height: 1.3;
}

.highlight-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.55;
}

.highlight-points {
    list-style: none;
    padding: 10px 0 0 0;
    margin: auto 0 0 0;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.highlight-points li {
    position: relative;
    padding-left: 19px;
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.45;
}

.highlight-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-blue);
    font-weight: 800;
}

.ui-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.67rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.ui-metric-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.ui-metric-chip {
    font-size: 0.67rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 7px;
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
}

@media (max-width: 1020px) {
    .highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .highlights-top {
        padding: 48px 16px;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    .hero-feature-pills {
        gap: 8px;
    }
    .hero-feature-pill {
        font-size: 0.8rem;
        padding: 6px 11px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }
}
