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

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent: #0ea5e9;
    --accent-dark: #0369a1;
    --border-soft: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-dark);
}

ul, ol {
    list-style-position: inside;
}

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

.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;
}

/* ====== Header / Nav ====== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-soft);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-link {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
}

.logo-link:hover {
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.navigation-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navigation-menu a:not(.menu-link) {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.navigation-menu a:not(.menu-link):hover {
    color: var(--text-primary);
    border-bottom-color: var(--accent);
}

.social-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
}

.social-menu a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.social-menu a:hover {
    color: var(--accent-dark);
    background-color: var(--bg-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-actions .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.burger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ====== Buttons ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.5);
    outline-offset: 3px;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-soft);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    background-color: var(--bg-main);
}

.btn-dark {
    background-color: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

.btn-dark:hover {
    background-color: #1e293b;
    border-color: #1e293b;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* ====== Hero Section ====== */
.hero {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.65;
    max-width: 540px;
}

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

.hero .btn-primary {
    background-color: #fff;
    border-color: #fff;
    color: var(--accent-dark);
}

.hero .btn-primary:hover {
    background-color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.9);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hero .btn-secondary {
    background: transparent;
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.hero .btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    justify-content: flex-start;
}

.hero-stat {
    flex-shrink: 0;
}

.hero-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-stat span {
    font-size: 0.85rem;
    opacity: 0.85;
}

.hero-media {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.25);
}

.hero-media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.announcement-bar {
    background-color: var(--accent-dark);
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

.announcement-bar a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-stats {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 60px 0;
        text-align: var(--text-center-on-mobile, left);
    }
    .hero-actions, .hero-stats {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-stats {
        gap: 24px;
    }
}

/* ====== Sections General ====== */
.page-section {
    padding: 64px 0;
}

.section-header {
    max-width: 700px;
    margin-bottom: 48px;
}

.section-header .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
}

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

.text-center .section-header {
    margin-left: auto;
    margin-right: auto;
}

/* ====== Feature Grid ====== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.4);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background-color: rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 1.6rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

.feature-card .learn-more {
    display: inline-block;
    margin-top: 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.feature-card .learn-more:hover {
    color: var(--accent-dark);
}

/* ====== Service Items / List ====== */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 20px;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    transition: border-color 0.2s ease;
}

.service-item:hover {
    border-color: rgba(14, 165, 233, 0.4);
}

.service-checkbox {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 6px;
    border: 1.5px solid var(--border-soft);
    background-color: #fff;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
}

.service-checkbox:hover {
    border-color: var(--accent);
}

.service-checkbox:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.service-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 8px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.service-item.active {
    border-color: var(--accent);
    background-color: rgba(14, 165, 233, 0.02);
}

.service-item-content {
    flex: 1;
}

.service-item-content .service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.service-item-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.service-item-price {
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    font-size: 1.05rem;
    align-self: center;
}

.service-priority {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--warning);
    align-self: center;
    margin-left: 12px;
}

.service-priority.high {
    background-color: var(--danger);
}

/* ====== Dashboard / Info Panels ====== */
.dashboard-page {
    display: flex;
    gap: 20px;
    max-width: 1300px;
    margin: 40px auto;
}

.dashboard-panel {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 28px;
}

.panel-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.panel-title .badge {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-dark);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-card {
    background: var(--bg-main);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 4px;
}

.stat-delta {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    margin-top: 12px;
}

.stat-delta.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.stat-delta.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.stat-delta.neutral {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.data-table th {
    font-weight: 600;
    color: var(--text-primary);
    padding: 12px 16px;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-soft);
    white-space: nowrap;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-secondary);
    white-space: nowrap;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background-color: rgba(15, 23, 42, 0.02);
}

.data-table .status-pill {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pill.paid {
    background-color: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.status-pill.pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-pill.overdue {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* ====== Forms ====== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    cursor: pointer;
}

.form-check-toggle {
    width: 36px;
    height: 20px;
    border-radius: 100px;
    background-color: var(--border-soft);
    position: relative;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
    display: inline-block;
    appearance: none;
    cursor: pointer;
}

.form-check-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.form-check-toggle:checked {
    background-color: var(--accent);
}

.form-check-toggle:checked::after {
    transform: translateX(16px);
}

.form-switch-label {
    font-weight: 500;
}

.signup-form-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: var(--text-center-on-mobile, left);
}

.signup-form-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
}

.auth-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.auth-field {
    margin-bottom: 20px;
}

.auth-field input {
    padding: 12px 16px;
}

.auth-switch {
    font-size: 0.85rem;
    margin-top: 16px;
    text-align: center;
}

/* ====== Testimonials ====== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.testimonial-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.testimonial-rating {
    color: var(--warning);
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-top: 12px;
}

/* ====== Pricing ====== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    background: linear-gradient(180deg, rgba(14,165,233,0.02), #fff);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 100px;
}

.pricing-card .plan-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pricing-card .plan-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1;
}

.pricing-card .plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
    display: inline-block;
    width: 20px;
    flex-shrink: 0;
}

/* ====== CTA Section ====== */
.cta-section {
    background-color: var(--text-primary);
    color: #fff;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #fff;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    margin: 0 auto 40px;
}

.cta-section .btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.cta-section .btn-primary:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--text-primary);
}

.cta-footer-note {
    margin-top: 22px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* ====== Footer ====== */
.site-footer {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-soft);
    padding: 48px 0 24px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-soft);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul a {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.footer-links ul a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-social {
    display: flex;
    gap: 18px;
}

.footer-social a {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.footer-social a:hover {
    color: var(--accent-dark);
}

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

/* ====== Responsive Navigation ====== */
@media (max-width: 1024px) {
    .navigation-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        padding: 20px 24px;
        border-bottom: 1px solid var(--border-soft);
        box-shadow: var(--shadow-lg);
        align-items: flex-start;
        gap: 16px;
    }

    .navigation-menu.open {
        display: flex;
        z-index: 999;
    }

    .burger-menu {
        display: flex;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .dashboard-page {
        flex-direction: column;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-actions .btn {
        flex: 1;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .service-item-price {
        display: none;
    }

    .table-responsive {
        overflow-x: auto;
    }

    .navbar {
        height: auto;
        padding: 10px 0;
    }

    .logo-link {
        font-size: 1.2rem;
    }

    .page-section {
        padding: 48px 0;
    }

    .navigation-menu {
        position: static;
        display: none;
        flex-direction: column;
        top: auto;
        left: auto;
        right: auto;
        background: transparent;
        padding: 10px 0;
        box-shadow: none;
        border: none;
        width: 100%;
    }

    .navigation-menu.open {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* ====== Additional Utilities ====== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--accent);
    background-color: rgba(14, 165, 233, 0.06);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.alert-success {
    border-left-color: var(--success);
    background-color: rgba(16, 185, 129, 0.06);
}

.alert-danger {
    border-left-color: var(--danger);
    background-color: rgba(239, 68, 68, 0.06);
}

.alert-warning {
    border-left-color: var(--warning);
    background-color: rgba(245, 158, 11, 0.06);
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.text-small { font-size: 0.85rem; }

/* Skeleton / loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-main) 25%, var(--border-soft) 37%, var(--bg-main) 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
    border-radius: var(--radius-sm);
    min-height: 100px;
}

@keyframes skeleton-loading {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    max-width: 580px;
    width: 100%;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Progress bar */
.progress-bar {
    background-color: rgba(255,255,255,0.2);
    height: 6px;
    border-radius: 100px;
    overflow: hidden;
    margin-top: 24px;
    width: 100%;
}

.progress-bar .progress-indicator {
    height: 100%;
    background-color: #fff;
    border-radius: 100px;
    transition: width 0.6s ease;
}

.text-accent {
    color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}