/* DigitalJamath Landing Page Styles */
/* Modern, Premium Design System */

:root {
    /* Colors */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --indigo-600: #4f46e5;
    --indigo-700: #4338ca;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --purple-100: #f3e8ff;
    --purple-600: #9333ea;
    --red-100: #fee2e2;
    --red-600: #dc2626;
    --amber-100: #fef3c7;
    --amber-600: #d97706;
    --indigo-100: #e0e7ff;
    --cyan-100: #cffafe;
    --cyan-600: #0891b2;
    --pink-100: #fce7f3;
    --pink-600: #db2777;
    --orange-100: #ffedd5;
    --orange-600: #ea580c;
    --teal-100: #ccfbf1;
    --teal-600: #0d9488;
    --violet-100: #ede9fe;
    --violet-600: #7c3aed;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-900: #111827;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
    --gradient-hero-bg: linear-gradient(135deg, var(--gray-50), var(--blue-50), #eef2ff);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 4rem 0;
    --section-padding-lg: 6rem 0;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: white;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--blue-600);
    border-color: var(--blue-600);
}

.btn-outline:hover {
    background: var(--blue-50);
}

.btn-success {
    background: var(--green-600);
    color: white;
}

.btn-success:hover {
    background: var(--green-700);
}

.btn-white {
    background: white;
    color: var(--blue-600);
}

.btn-white:hover {
    background: var(--gray-100);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--blue-600);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    border-bottom: 1px solid var(--gray-200);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo img {
    width: 32px;
    height: 32px;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-desktop a {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: var(--blue-600);
}

.nav-divider {
    width: 1px;
    height: 1rem;
    background: var(--gray-300);
    margin: 0 0.5rem;
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--gray-600);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--gray-200);
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.nav-mobile a:hover {
    background: var(--gray-100);
}

.nav-mobile .btn {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--blue-600);
    /* Use var for consistency or hardcoded blue */
    color: white;
    border: none;
    border-radius: 6.25rem;
    /* 100px equivalent */
    width: 100%;
}

.nav-mobile .btn:hover {
    opacity: 0.9;
    background: var(--blue-700);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .nav-mobile {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    background: var(--gradient-hero-bg);
    padding: 3rem 0 4rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    max-width: 700px;
    color: var(--gray-500);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero {
        padding: 6rem 0 8rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

/* Demo Card */
.demo-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 32rem;
    box-shadow: var(--shadow-lg);
}

.demo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 1rem;
}

.demo-col {
    text-align: left;
}

.demo-col:last-child {
    text-align: right;
}

.demo-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.demo-value {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--gray-500);
}

.demo-note {
    font-size: 0.625rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 0.75rem;
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
}

.stat-value.blue {
    color: var(--blue-600);
}

.stat-value.green {
    color: var(--green-600);
}

.stat-value.purple {
    color: var(--purple-600);
}

.stat-value.amber {
    color: var(--amber-600);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-value {
        font-size: 2.5rem;
    }
}

/* Features Section */
.features {
    padding: var(--section-padding-lg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-500);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon.purple {
    background: var(--purple-100);
    color: var(--purple-600);
}

.feature-icon.green {
    background: var(--green-100, #dcfce7);
    color: var(--green-600);
}

.feature-icon.red {
    background: var(--red-100);
    color: var(--red-600);
}

.feature-icon.blue {
    background: var(--blue-100);
    color: var(--blue-600);
}

.feature-icon.amber {
    background: var(--amber-100);
    color: var(--amber-600);
}

.feature-icon.indigo {
    background: var(--indigo-100);
    color: var(--indigo-600);
}

.feature-icon.cyan {
    background: var(--cyan-100);
    color: var(--cyan-600);
}

.feature-icon.pink {
    background: var(--pink-100);
    color: var(--pink-600);
}

.feature-icon.orange {
    background: var(--orange-100);
    color: var(--orange-600);
}

.feature-icon.teal {
    background: var(--teal-100);
    color: var(--teal-600);
}

.feature-icon.violet {
    background: var(--violet-100);
    color: var(--violet-600);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Trust Section */
.trust {
    background: var(--gradient-primary);
    color: white;
    padding: var(--section-padding-lg);
}

.trust-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.trust-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.trust-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.trust-item {
    display: flex;
    gap: 0.75rem;
}

.trust-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.trust-item p {
    font-size: 0.875rem;
    color: rgba(219, 234, 254, 1);
}

.trust-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 2rem;
}

.trust-card-content {
    text-align: center;
}

.trust-card-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trust-card-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.trust-card p {
    font-size: 0.875rem;
    color: rgba(219, 234, 254, 1);
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-content h2 {
        font-size: 2.25rem;
    }
}

/* Pricing Section */
.pricing {
    background: var(--gray-50);
    padding: var(--section-padding-lg);
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--blue-600);
    border-width: 2px;
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-600);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pricing-header p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-500);
}

.pricing-features {
    margin-bottom: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.pricing-note {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CTA Section */
.cta {
    background: var(--gradient-primary);
    color: white;
    padding: var(--section-padding-lg);
}

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

.cta h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(219, 234, 254, 1);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta h2 {
        font-size: 2.25rem;
    }

    .cta-buttons {
        flex-direction: row;
    }
}

/* Footer */
.footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer p,
.footer li,
.footer a {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer a:hover {
    color: var(--blue-600);
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--gray-400);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Page Header (for sub-pages) */
.page-header {
    background: linear-gradient(135deg, var(--blue-50), #eef2ff);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .page-header h1 {
        font-size: 3rem;
    }
}

/* About Page */
.about-story {
    padding: var(--section-padding-lg);
    background: linear-gradient(180deg, var(--blue-50), white);
}

.story-content {
    text-align: center;
    margin-bottom: 3rem;
}

.story-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.story-text {
    max-width: 48rem;
    margin: 0 auto;
}

.story-text p {
    margin-bottom: 1rem;
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.7;
}

.story-text .lead {
    font-size: 1.25rem;
}

.story-text .highlight {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
}

.mission-cards {
    display: grid;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.mission-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mission-card:hover {
    box-shadow: var(--shadow-md);
}

.mission-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.mission-icon.blue {
    background: var(--blue-100);
    color: var(--blue-600);
}

.mission-icon.purple {
    background: var(--purple-100);
    color: var(--purple-600);
}

.mission-icon.green {
    background: #dcfce7;
    color: var(--green-600);
}

.mission-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mission-card p {
    color: var(--gray-500);
}

.story-quote {
    margin-top: 3rem;
    text-align: center;
}

.story-quote p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-500);
    max-width: 40rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .story-content h2 {
        font-size: 3rem;
    }

    .mission-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Team Section */
.team-section {
    padding: var(--section-padding-lg);
    background: var(--gray-50);
}

.team-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.team-card {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.team-avatar {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-600), var(--purple-600));
    color: white;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
}

.team-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--blue-600);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-desc {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.team-bio {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.team-status {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.team-link {
    color: var(--blue-600);
    font-weight: 500;
}

.team-link:hover {
    color: var(--blue-700);
}

/* Join Section */
.join-section {
    padding: var(--section-padding-lg);
    background: #000;
    color: white;
    text-align: center;
}

.join-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.join-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
}

.join-roles {
    display: grid;
    gap: 1rem;
    max-width: 64rem;
    margin: 0 auto 2rem;
    text-align: left;
}

.join-role {
    padding: 1rem;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    background: rgba(17, 24, 39, 0.5);
}

.join-role h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.join-role h4.green {
    color: #4ade80;
}

.join-role h4.purple {
    color: #c084fc;
}

.join-role h4.red {
    color: #fb7185;
}

.join-role h4.amber {
    color: #fbbf24;
}

.join-role p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.join-note {
    margin-top: 2rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .join-section h2 {
        font-size: 2.5rem;
    }

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

@media (min-width: 1024px) {
    .join-roles {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Legal Pages (Terms, Privacy) */
.legal-content {
    padding: 3rem 0;
}

.legal-content .container {
    max-width: 48rem;
}

.last-updated {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.prose p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.prose ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.prose li {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.prose a {
    color: var(--blue-600);
}

.prose a:hover {
    text-decoration: underline;
}

/* Onboarding (Find Masjid / Register) */
.onboarding-main {
    padding: 2rem 0;
    min-height: calc(100vh - 4rem - 3rem);
    /* viewport - header - footer */
    display: flex;
    align-items: center;
    justify-content: center;
}

.onboarding-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 28rem;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.register-card {
    max-width: 28rem;
    position: relative;
    overflow: hidden;
}

.card-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.card-header p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.onboarding-form .form-group {
    margin-bottom: 1.25rem;
}

.onboarding-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.onboarding-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.onboarding-form input:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px var(--blue-100);
}

.input-with-suffix {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    overflow: hidden;
}

.input-with-suffix input {
    border: none;
    border-radius: 0;
}

.input-suffix {
    background: var(--gray-50);
    color: var(--gray-500);
    padding: 0 1rem;
    font-size: 0.875rem;
    border-left: 1px solid var(--gray-200);
}

.form-help {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.5rem;
}

.error-text {
    color: var(--red-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

.onboarding-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.onboarding-footer a,
.btn-link {
    color: var(--blue-600);
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.onboarding-footer a:hover {
    text-decoration: underline;
}

/* Progress Bar */
.progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gray-100);
}

.progress-bar {
    height: 100%;
    background: var(--blue-600);
    transition: width 0.3s ease;
}

/* Workspaces Grid */
.workspaces-grid {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.workspace-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.workspace-card:hover {
    background: var(--gray-50);
    border-color: var(--blue-600);
}

.workspace-info {
    display: flex;
    flex-direction: column;
}

.workspace-name {
    font-weight: 600;
    color: var(--gray-900);
}

.workspace-url {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Provisioning View */
.loading-spinner-container {
    padding: 2rem 0;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid var(--gray-200);
    border-top-color: var(--blue-600);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--gray-300);
}

.status-dot.success {
    background: var(--green-500);
}

/* Success State */
.success-icon {
    margin-bottom: 1rem;
}

.success-url-box {
    background: var(--blue-50);
    color: var(--blue-700);
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: monospace;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Sticky Footer for Onboarding Pages */
body.bg-gray-50 {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.bg-gray-50 .onboarding-main {
    flex: 1;
}

body.bg-gray-50 .footer {
    margin-top: auto;
    padding: 1rem 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

/* Utility Classes */
.bg-gray-50 {
    background: var(--gray-50);
}

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

.text-sm {
    font-size: 0.875rem;
}

.text-gray-400 {
    color: var(--gray-400);
}

.text-gray-500 {
    color: var(--gray-500);
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Right-aligned subdomain input */
.input-with-suffix input {
    text-align: right;
    flex: 1;
}

.input-with-suffix input:focus {
    box-shadow: none;
}

/* Onboarding page footer - sticky at bottom */
.onboarding-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--gray-200);
    padding: 1rem 0;
    z-index: 50;
}

.onboarding-footer-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.onboarding-footer-bar .footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.onboarding-footer-bar .footer-links a {
    color: var(--gray-600);
}

.onboarding-footer-bar .footer-links a:hover {
    color: var(--blue-600);
}

.onboarding-footer-bar .version {
    color: var(--gray-400);
}

/* Adjust main content to account for fixed footer */
body.bg-gray-50 {
    padding-bottom: 4rem;
}