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

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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --background: #f8fafc;
    --surface: #ffffff;
    --surface-hover: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 16px;
}

/* Apply light background for all pages (modern style) */
body:not([data-home="true"]) {
    background: #ffffff;
    background-attachment: fixed;
}

body:not([data-home="true"])::before {
    display: none;
}

#app {
    position: relative;
    z-index: 1;
}

.main-content {
    padding: 0rem 0rem;
    min-height: calc(100vh - 80px);
}

/* Footer */
.app-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    margin: 0.5rem 0;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Pricing */
.pricing-hero {
    padding: 4.5rem clamp(1rem, 5vw, 4rem) 2.5rem;
    text-align: center;
    background: radial-gradient(circle at top, rgba(99,102,241,0.25), transparent 55%),
                linear-gradient(180deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 65%, transparent 100%);
}

.pricing-hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 32px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 25px 65px rgba(15,23,42,0.12);
}

.pricing-hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 1rem 0;
    color: #0f172a;
}

.pricing-hero .subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.hero-tags span {
    background: var(--surface);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-tabs {
    padding: 1.5rem clamp(1rem, 6vw, 5rem) 0.75rem;
    text-align: center;
}

.pricing-tabs-inner {
    display: inline-flex;
    border: 1px solid rgba(15,23,42,0.12);
    border-radius: 999px;
    padding: 0.25rem;
    background: #fff;
    gap: 0.25rem;
}

.pricing-tab {
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.pricing-tab.active {
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 10px 20px rgba(99,102,241,0.25);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1rem clamp(1rem, 6vw, 5rem) 3.5rem;
    max-width: none;
    width: 100%;
}

.pricing-card {
    background: #fff;
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(15,23,42,0.08);
    border: 1px solid rgba(15,23,42,0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-card.featured {
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(120deg, var(--primary-color), var(--secondary-color)) border-box;
    box-shadow: 0 30px 50px rgba(99,102,241,0.18);
    transform: translateY(-6px);
}

.pricing-card.selected {
    border: 2px solid var(--primary-color);
    box-shadow: 0 30px 60px rgba(99,102,241,0.25);
}

.pricing-card.featured.selected {
    border: 2px solid transparent;
}

.landing-business {
    padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 6vw, 5rem) 5rem;
    background: linear-gradient(180deg, #f5f7ff 0%, #fff 45%, #f7f8fb 100%);
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 4vw, 3.5rem);
}

.business-hero {
    background: white;
    border-radius: 32px;
    padding: clamp(2rem, 5vw, 3.5rem);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.hero-pill {
    display: inline-flex;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(99,102,241,0.12);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.business-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin: 0 0 1rem;
    color: #0f172a;
    line-height: 1.15;
}

.hero-lead {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    max-width: 920px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.5rem 0 2rem;
}

.hero-tags span {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.landing-business .btn-outline {
    border-color: rgba(15,23,42,0.2);
    color: #0f172a;
    background: white;
}

.business-section {
    background: white;
    border-radius: 28px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.business-section header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-pill {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--primary-color);
}

.business-section h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: #0f172a;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.business-grid.split {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.business-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    background: #fafbff;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.business-card.highlight {
    background: linear-gradient(135deg, #eef2ff, #fdf2ff);
}

.business-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.1rem;
}

.business-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.business-card li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.business-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--primary-color);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.industry-grid article {
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,0.09);
    padding: 1.25rem;
    background: #f9fafb;
}

.industry-grid h3 {
    margin: 0 0 0.5rem;
    color: #0f172a;
}

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

.metric-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 18px;
    background: #0f172a;
    color: white;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial-grid article {
    border-radius: 20px;
    border: 1px solid rgba(15,23,42,0.1);
    padding: 1.5rem;
    background: #fff7ed;
}

.testimonial-grid p {
    margin: 0 0 1rem;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial-grid span {
    font-weight: 600;
    color: #9a3412;
}

.business-section.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-intro ul {
    padding-left: 1rem;
    color: var(--text-secondary);
}

.contact-form-wrapper {
    background: #eef2ff;
    border-radius: 24px;
    padding: 1.75rem;
}

.business-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.business-contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.business-contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 600;
    color: #0f172a;
}

.business-contact-form input,
.business-contact-form textarea {
    border: 1px solid rgba(15,23,42,0.15);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
}

.business-contact-form textarea {
    resize: vertical;
}

.contact-status {
    margin-top: 1rem;
}

.contact-status.error {
    color: #b91c1c;
}

.contact-status.success {
    color: #15803d;
}

.contact-hint {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #475569;
}

.about-page {
    padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 6vw, 5rem) 5rem;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-hero {
    background: linear-gradient(135deg, #eef2ff, #fdf2ff);
    border-radius: 32px;
    padding: clamp(2rem, 5vw, 3.5rem);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.about-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f172a;
}

.about-hero h1 {
    margin: 1rem 0 0.75rem;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #0f172a;
}

.about-lead {
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 960px;
}

.about-stats {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.about-stats article {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.about-stats span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4c1d95;
}

.about-section {
    background: #f8fafc;
    border-radius: 28px;
    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.about-section header h2 {
    margin: 0.5rem 0 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #0f172a;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.about-card {
    background: white;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    min-height: 180px;
}

.about-card h3 {
    margin: 0 0 0.5rem;
    color: #0f172a;
}

.about-card p {
    margin: 0;
    color: #475569;
    line-height: 1.5;
}

.about-card.compact {
    min-height: auto;
}

.about-section.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.about-section.split ul {
    padding-left: 1.25rem;
    color: #475569;
    line-height: 1.6;
}

.about-map-placeholder {
    border-radius: 24px;
    border: 2px dashed rgba(15, 23, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #475569;
    background: white;
}

.about-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.about-timeline article {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1rem 1rem 1.25rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.about-timeline span {
    font-weight: 700;
    color: var(--primary-color);
}

.about-leadership {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.about-leadership article {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    border-radius: 18px;
    background: white;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.about-leadership .role {
    margin: 0.2rem 0;
    color: #6366f1;
    font-weight: 600;
}

.about-section.callout {
    background: #0f172a;
    color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: center;
    gap: 2rem;
}

.about-section.callout h2 {
    color: white;
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.about-section.callout .btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

.blog-page {
    padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 6vw, 5rem) 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: #fff;
}

.blog-hero {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(56,189,248,0.08));
    border-radius: 28px;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.blog-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(99,102,241,0.12);
    color: #4338ca;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.blog-hero h1 {
    margin: 1rem 0 0.5rem;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #0f172a;
}

.blog-hero p {
    margin: 0;
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 900px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.blog-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.blog-card-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.blog-card h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.35rem;
}

.blog-card p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-card-tags span {
    padding: 0.35rem 0.85rem;
    background: #eef2ff;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #4338ca;
    font-weight: 600;
}

.blog-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: #4338ca;
    text-decoration: none;
}

.blog-card-link::after {
    content: '→';
    font-size: 1rem;
}

.blog-empty {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    border: 1px dashed rgba(15, 23, 42, 0.2);
    color: #475569;
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-page-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-page-btn,
.blog-nav-btn {
    border: 1px solid rgba(15,23,42,0.2);
    background: white;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
    transition: all 0.2s ease;
}

.blog-page-btn.active,
.blog-page-btn:hover,
.blog-nav-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.blog-nav-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.blog-post {
    padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 6vw, 5rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: white;
}

.blog-post-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #0f172a;
    margin: 0.5rem 0 0;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #475569;
    flex-wrap: wrap;
}

.blog-post-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
    max-width: 900px;
}

.blog-post-body h3 {
    margin: 1.5rem 0 0.5rem;
    color: #0f172a;
}

.blog-post-body ul {
    padding-left: 1.25rem;
    margin: 0;
    color: #475569;
}

.blog-post-footer {
    margin-top: 1rem;
}
.payment-plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    width: 100%;
    padding: 0;
}

.payment-plan-grid .pricing-card {
    height: 100%;
}

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

.plan-badge {
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--primary-color);
}

.plan-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary-color);
    border-radius: 999px;
    padding: 0.2rem 0.85rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.plan-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.plan-frequency {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
}

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

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.pricing-card li {
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    display: flex;
    gap: 0.5rem;
}

.pricing-card li::before {
    content: '•';
    color: var(--primary-color);
}

.btn-outline {
    border: 1px solid rgba(15,23,42,0.2);
    background: transparent;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.pricing-benefits {
    padding: 0 clamp(1rem, 6vw, 5rem) 3.5rem;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: none;
    width: 100%;
}

.benefit-card {
    background: var(--surface);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.benefit-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.benefit-card p {
    margin: 0;
    color: var(--text-secondary);
}

.pricing-faq {
    padding: 0 clamp(1rem, 6vw, 5rem) 4rem;
}

.pricing-faq-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(15,23,42,0.08);
}

.pricing-faq-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pricing-faq-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-tabs-inner {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pricing-hero-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-tags {
        flex-direction: column;
    }
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Navbar on light background (home page) */
body[data-home="true"] .navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-color);
}

.nav-item.nav-cta,
.navbar-dropdown-toggle.nav-cta {
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.25);
    border: none;
}

.nav-item.nav-cta:hover,
.navbar-dropdown-toggle.nav-cta:hover,
.navbar-dropdown.active .navbar-dropdown-toggle.nav-cta {
    transform: translateY(-1px);
    color: #ffffff;
    box-shadow: 0 18px 30px rgba(99, 102, 241, 0.28);
}

.navbar-dropdown-toggle.nav-cta::after {
    display: none;
}

.navbar-dropdown-toggle.nav-cta::before {
    color: rgba(255, 255, 255, 0.85);
}

/* Navbar Dropdown */
.navbar-dropdown {
    position: relative;
    display: inline-block;
}

.navbar-dropdown-toggle {
    background: none;
    border: none;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    font-size: inherit;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar-dropdown-toggle::before {
    content: '▼';
    font-size: 0.7em;
    opacity: 0.7;
    margin-left: 0.25rem;
}

.navbar-dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.navbar-dropdown-toggle:hover::after,
.navbar-dropdown.active .navbar-dropdown-toggle::after {
    width: 100%;
}

.navbar-dropdown-toggle:hover,
.navbar-dropdown.active .navbar-dropdown-toggle {
    color: var(--primary-color);
}

.navbar-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.navbar-dropdown-menu.show {
    display: block;
}

.navbar-dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    border: none;
    width: 100%;
    text-align: left;
}

.navbar-dropdown-item:hover {
    background: var(--surface-hover);
    color: var(--primary-color);
}

.navbar-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--surface-hover);
    border-radius: 20px;
    padding: 0.25rem;
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Mobile Menu Hamburger Button - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 2rem;
    height: 0.2rem;
    background: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile Menu Container */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.3s ease;
    padding: 5rem 0 2rem;
}

.mobile-menu.show {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1.5rem;
}

.mobile-menu-section {
    margin-bottom: 1.5rem;
}

.mobile-menu-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.mobile-menu-item {
    display: block;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    background: var(--surface-hover);
    color: var(--primary-color);
}

.mobile-menu-item.mobile-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.mobile-menu-item.mobile-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
    color: white;
}

.mobile-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

/* Language selector in mobile menu */
.mobile-menu-content .lang-selector {
    justify-content: center;
    width: 100%;
}

/* Billing Page Styles */
.billing-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.billing-stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    text-align: center;
}

.billing-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.billing-stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    opacity: 0.95;
}

.billing-stat-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Payment Page Styles */
.payment-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.payment-plan-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-plan-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.payment-plan-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f0f2ff 0%, #faf5ff 100%);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.plan-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.plan-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.plan-badge.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.custom-plan {
    border-style: dashed;
}

.custom-input-group {
    margin-top: 1rem;
}

.custom-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.payment-widget {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.payment-summary {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.payment-summary h3 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.summary-item.total {
    border-top: 2px solid var(--border-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.test-payment-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px dashed var(--border-color);
}

.test-payment-box h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.test-card-info {
    margin: 1.5rem 0;
}

.test-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.test-card-number {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-family: 'Monaco', 'Menlo', monospace;
}

.test-card-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cloudpayments-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.cloudpayments-box h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.btn-large {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Transactions Table Styles */
.transactions-table {
    overflow-x: auto;
    margin-top: 1rem;
}

.transactions-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.transactions-table thead {
    background: var(--surface);
}

.transactions-table tbody tr {
    transition: background-color 0.2s ease;
}

.transactions-table tbody tr:hover {
    background: var(--surface);
}

.transactions-table tbody tr:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .transactions-table {
        font-size: 0.9rem;
    }
    
    .transactions-table th,
    .transactions-table td {
        padding: 0.5rem !important;
    }
    
    .transactions-table th:nth-child(1),
    .transactions-table td:nth-child(1) {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--surface);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.nav-cta {
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(99, 102, 241, 0.28);
}

/* Container */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 3rem;
    overflow-x: visible;
}

/* Full-width container for admin pages */
/* Default: keep max-width for regular pages - handled by specific selectors below */

/* Admin pages - full width */
#page-content .container:has(.admin-stats-grid),
#page-content .container:has(.admin-table-container),
#page-content .container:has(.admin-nav-menu) {
    max-width: 100%;
    padding: 2rem 1.5rem;
}

/* Fallback for browsers that don't support :has() */
body[data-admin="true"] .container,
.admin-container {
    max-width: 100%;
    padding: 2rem 1.5rem;
    width: 100%;
}

/* Ensure main-content doesn't limit admin pages */
body[data-admin="true"] .main-content {
    padding: 0;
}

/* Cards */
.card {
    background: var(--surface);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.upload-header-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.upload-language-selector {
    min-width: 200px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.upload-language-selector .form-check-select {
    margin-bottom: 0;
    padding: 0.5rem;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--surface);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.form-check:hover {
    background: var(--surface-hover);
}

.form-check input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-check label {
    cursor: pointer;
    font-weight: 500;
}

/* Form check select - styled like checkboxes */
.form-check-select {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: var(--transition);
}

.form-check-select:hover {
    background: var(--surface-hover);
}

.form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-check-select-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--surface);
    font-family: inherit;
    cursor: pointer;
    color: var(--text-primary);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236366f1' d='M6 9L1 4l1.414-1.414L6 6.172l3.586-3.586L11 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.form-check-select-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-check-select-control:hover {
    border-color: var(--primary-color);
}

/* Upload Area */
.upload-area {
    border: 3px dashed var(--border-color);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.upload-area:hover::before {
    opacity: 1;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -50%; }
    100% { left: 150%; }
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f0e9ff 0%, #e9d5ff 100%);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.upload-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(99, 102, 241, 0.2));
}

.upload-text {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.upload-hint {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.badge-queued {
    background: #dbeafe;
    color: #1e40af;
}

.badge-queued::before {
    background: #3b82f6;
}

.badge-running {
    background: #fef3c7;
    color: #92400e;
}

.badge-running::before {
    background: #f59e0b;
}

.badge-succeeded {
    background: #d1fae5;
    color: #065f46;
}

.badge-succeeded::before {
    background: #10b981;
}

.badge-failed {
    background: #fee2e2;
    color: #991b1b;
}

.badge-failed::before {
    background: #ef4444;
}

.badge-canceled {
    background: #f3e8ff;
    color: #6b21a8;
}

.badge-canceled::before {
    background: #8b5cf6;
}

.badge-language {
    background: #e2e8f0;
    color: #475569;
}

.badge-language::before {
    display: none;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Tables */
/* Table wrapper for responsive scrolling */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
    position: relative;
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px; /* Minimum width to prevent too much compression */
    display: table;
}

.table th,
.table td {
    padding: 1.25rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: var(--surface-hover);
    font-weight: 600;
    color: var(--text-primary);
    position: sticky;
    top: 0;
    z-index: 10;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background: var(--surface-hover);
    transform: translateX(4px);
}

.table tbody tr:hover .btn-link {
    color: var(--primary-color);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* Loading Spinner */
.spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alerts */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-left: 4px solid var(--error-color);
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
    margin: 0 0.75rem;
}

.google-signin-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.google-signin-container > div {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
}

.google-signin-placeholder,
.google-signin-error {
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
    width: 100%;
}

.google-signin-error {
    color: #dc2626;
}

.auth-section {
    min-height: calc(80vh - 64px);
    padding: 3.75rem 1.25rem;
    background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.08), transparent 45%),
                radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.08), transparent 40%),
                #f6f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-grid {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: stretch;
}

.auth-preview {
    background: linear-gradient(150deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.85) 60%, rgba(14, 165, 233, 0.85) 100%);
    color: #f8fbff;
    border-radius: 28px;
    padding: 2.4rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
    position: relative;
    overflow: hidden;
}

.auth-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 55%),
                radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.05), transparent 40%);
    pointer-events: none;
}

.auth-preview-register {
    background: linear-gradient(160deg, rgba(67, 56, 202, 0.95) 0%, rgba(124, 58, 237, 0.9) 55%, rgba(244, 114, 182, 0.85) 100%);
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #e0e7ff;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.auth-preview h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin: 1.2rem 0 0.8rem;
}

.auth-lead {
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(241, 245, 249, 0.95);
    max-width: 32rem;
}

.auth-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin: 1.05rem 0;
}

.auth-stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.auth-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.auth-stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-trust {
    margin-top: 0.67rem;
}

.auth-trust h2,
.auth-highlight h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.38rem;
}

.auth-trust ul,
.auth-highlight ul {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.19rem;
    line-height: 1.28;
    color: rgba(226, 232, 240, 0.9);
}

.auth-quote {
    margin-top: 1.24rem;
    padding: 1.14rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.18);
    font-style: italic;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.auth-quote.alt {
    background: rgba(67, 56, 202, 0.35);
}

.auth-quote span {
    font-style: normal;
    font-size: 0.9rem;
    opacity: 0.8;
}

.auth-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.8rem 1.66rem;
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.auth-card-header h2 {
    font-size: 2rem;
    margin: 0 0 0.38rem;
    color: var(--text-primary);
}

.auth-card-header p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.4;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
}

.auth-form label {
    font-weight: 600;
    color: var(--text-secondary);
}

.auth-form .form-control {
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 12px;
    padding: 0.67rem 0.76rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
}

.auth-form-helper {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.17rem;
}

.auth-form-helper span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 0.67rem;
    font-size: 1rem;
    border-radius: 12px;
}

.auth-footer {
    text-align: center;
    display: grid;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.auth-footer .btn-link {
    font-weight: 600;
}

.auth-footer .btn-link.subtle {
    font-weight: 500;
    color: var(--text-secondary);
}

.auth-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.05rem 0;
}

.auth-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #f1f5f9;
    font-size: 0.85rem;
    font-weight: 600;
}

.auth-highlight {
    margin-top: 0.67rem;
}

.auth-policies {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.38rem;
    line-height: 1.43;
}

.auth-policies a {
    color: var(--primary-color);
    text-decoration: underline;
}

.auth-section--tight {
    min-height: auto;
    padding-block: 2.4rem;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-left: 4px solid var(--info-color);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--border-color);
    border-radius: 100px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Results */
/* Results page - wider container */
.results-container {
    max-width: 1600px;
    padding: 2rem 3rem;
}

#page-content .container:has(.output-box) {
    max-width: 1600px;
    padding: 2rem 3rem;
}

.output-box {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.output-box h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.output-icon-modern {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.output-content {
    background: linear-gradient(135deg, #fafbff 0%, #f8f9ff 100%);
    border-radius: 12px;
    padding: 0.5rem;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.4;
    border: 1px solid var(--border-color);
}

/* Specific styling for scene descriptions container */
#sceneDescription {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Scene box (segment) - clean minimal styles */
.segment {
    margin: 0 0 10px 0;
    padding: 6px 8px;
    background: var(--surface);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
    box-sizing: border-box;
}

.segment:last-child {
    margin-bottom: 0;
}

.segment:hover {
    transform: translateX(2px);
    box-shadow: var(--shadow);
}

/* Scene title */
.segment-header {
    margin: 0 0 4px 0;
    padding: 0;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.875rem;
    line-height: 1.1;
}

/* Scene description */
.segment > div:not(.segment-header) {
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.metadata-item {
    padding: 1.25rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.metadata-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.metadata-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.metadata-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.hidden { 
    display: none !important; 
}

.file-info {
    padding: 1rem 1.5rem;
    background: var(--surface-hover);
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
}

.file-info.visible {
    display: block;
}

.options-section {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.option-group {
    flex: 1;
    min-width: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .results-container {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .api-docs-container {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .card {
        padding: 2rem;
    }

    .auth-grid {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .auth-preview {
        padding: 2.5rem;
        border-radius: 24px;
    }

    .auth-card {
        padding: 2.25rem 1.9rem;
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 1rem;
        overflow-x: visible;
    }
    
    .results-container {
        padding: 1rem;
        overflow-x: visible;
    }
    
    .api-docs-container {
        padding: 1rem;
        overflow-x: visible;
    }
    
    .card {
        overflow: visible;
    }
    
    /* Mobile Navigation */
    .navbar {
        padding: 1rem 1.5rem;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    /* Hide desktop navigation on mobile */
    .navbar-left,
    .navbar-nav {
        display: none !important;
    }
    
    /* Show mobile menu toggle button */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .upload-icon {
        font-size: 3rem;
    }
    
    .metadata-grid {
        grid-template-columns: 1fr;
    }
    
    .options-section > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    .upload-header-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .upload-language-selector {
        min-width: auto;
        width: 100%;
    }
    
    .navbar-dropdown-menu {
        right: auto;
        left: 0;
        min-width: 180px;
    }
    
    .billing-stats {
        grid-template-columns: 1fr;
    }
    
    .card {
        overflow: visible;
        position: relative;
    }
    
    .table-wrapper {
        margin: 1rem -2rem;
        padding: 0 1rem;
        width: calc(100% + 4rem);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        font-size: 0.9rem;
        min-width: 500px;
        table-layout: fixed;
        width: 100%;
    }
    
    .table th:first-child,
    .table td:first-child {
        width: 60%;
    }
    
    .table th.date-cell,
    .table td.date-cell {
        width: 40%;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
    }
    
    .table th:first-child,
    .table td:first-child {
        position: sticky;
        left: 0;
        background: var(--surface);
        z-index: 5;
        box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
    }
    
    .table th:first-child {
        background: var(--surface-hover);
        z-index: 15;
    }
    
    /* Hide all columns except filename and date on mobile */
    .table th.language-cell,
    .table td.language-cell,
    .table th.status-cell,
    .table td.status-cell,
    .table th.action-cell,
    .table td.action-cell {
        display: none;
    }
    
    /* Style filename as rounded box with status color (matching badge design) */
    .filename-cell {
        padding: 0.5rem 0 !important;
    }
    
    .filename-link-mobile {
        display: inline-flex;
        align-items: center;
        padding: 0.5rem 1rem;
        border-radius: 100px;
        font-weight: 600;
        font-size: 0.85rem;
        text-decoration: none;
        color: #000000;
        transition: all 0.2s ease;
        width: 100%;
        box-sizing: border-box;
        cursor: pointer;
        text-transform: none;
    }
    
    .filename-link-mobile:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .filename-link-mobile:active {
        transform: translateY(0);
    }
    
    .filename-link-disabled {
        cursor: not-allowed;
        opacity: 0.8;
    }
    
    .filename-link-disabled:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Status colors for filename boxes (matching badge colors) */
    .filename-cell[data-status="succeeded"] .filename-link-mobile {
        background: #d1fae5;
        color: #000000;
    }
    
    .filename-cell[data-status="failed"] .filename-link-mobile {
        background: #fee2e2;
        color: #000000;
    }
    
    .filename-cell[data-status="queued"] .filename-link-mobile {
        background: #dbeafe;
        color: #000000;
    }
    
    .filename-cell[data-status="running"] .filename-link-mobile {
        background: #fef3c7;
        color: #000000;
    }
    
    .filename-cell[data-status="canceled"] .filename-link-mobile {
        background: #f3e8ff;
        color: #000000;
    }
    
    /* Ensure date cell is visible */
    .table th.date-cell,
    .table td.date-cell {
        display: table-cell;
    }
}

/* Desktop: filename links should be normal text with black color */
.filename-link-mobile {
    color: #000000;
    text-decoration: none;
    display: inline;
    padding: 0;
    border-radius: 0;
    width: auto;
    background: transparent;
    font-weight: inherit;
}

.filename-link-mobile:hover {
    text-decoration: underline;
    transform: none;
    box-shadow: none;
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem 0.5rem;
    }
    
    .card {
        padding: 1.5rem 0.5rem;
        overflow: visible;
        position: relative;
    }
    
    .table-wrapper {
        margin: 1rem -0.5rem;
        padding: 0 0.5rem;
        width: calc(100% + 1rem);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        min-width: 450px;
        font-size: 0.85rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.25rem;
    }
    
    /* Hide all columns except filename and date on mobile */
    .table th.language-cell,
    .table td.language-cell,
    .table th.status-cell,
    .table td.status-cell,
    .table th.action-cell,
    .table td.action-cell {
        display: none;
    }
    
    /* Style filename as rounded box with status color (matching badge design) */
    .filename-cell {
        padding: 0.5rem 0 !important;
    }
    
    .filename-link-mobile {
        display: inline-flex;
        align-items: center;
        padding: 0.5rem 1rem;
        border-radius: 100px;
        font-weight: 600;
        font-size: 0.85rem;
        text-decoration: none;
        color: #000000;
        transition: all 0.2s ease;
        width: 100%;
        box-sizing: border-box;
        cursor: pointer;
        text-transform: none;
    }
    
    .filename-link-mobile:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .filename-link-mobile:active {
        transform: translateY(0);
    }
    
    .filename-link-disabled {
        cursor: not-allowed;
        opacity: 0.8;
    }
    
    .filename-link-disabled:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Status colors for filename boxes (matching badge colors) */
    .filename-cell[data-status="succeeded"] .filename-link-mobile {
        background: #d1fae5;
        color: #000000;
    }
    
    .filename-cell[data-status="failed"] .filename-link-mobile {
        background: #fee2e2;
        color: #000000;
    }
    
    .filename-cell[data-status="queued"] .filename-link-mobile {
        background: #dbeafe;
        color: #000000;
    }
    
    .filename-cell[data-status="running"] .filename-link-mobile {
        background: #fef3c7;
        color: #000000;
    }
    
    .filename-cell[data-status="canceled"] .filename-link-mobile {
        background: #f3e8ff;
        color: #000000;
    }
    
    /* Ensure date cell is visible */
    .table th.date-cell,
    .table td.date-cell {
        display: table-cell;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection colors */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white;
    }
    
    .navbar {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Modern Landing Page Styles */
.modern-hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    margin-bottom: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.15);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.15);
    bottom: -150px;
    right: -150px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content-modern {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.hero-title-modern {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-subtitle-modern {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-modern {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-modern {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.btn-primary-modern {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    background: var(--primary-dark);
}

.btn-secondary-modern {
    background: white;
    color: var(--text-primary);
    border-color: var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large-modern {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Section Header */
.section-header-modern {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title-modern {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section-modern {
    padding: 6rem 0;
    background: white;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
}

.feature-card-modern {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.feature-card-modern:hover::before {
    transform: scaleX(1);
}

.feature-icon-modern {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-modern,
.use-case-modern:hover .feature-icon-modern,
.segment-card-modern:hover .feature-icon-modern,
.metric-card-modern:hover .feature-icon-modern {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.feature-card-modern h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* How It Works */
.how-it-works-modern {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.steps-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step-modern {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.step-modern:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.step-number-modern {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    min-width: 80px;
    opacity: 0.3;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.step-modern:last-child .step-arrow {
    display: none;
}

/* Use Cases */
.use-cases-modern {
    padding: 6rem 0;
    background: white;
}

.use-cases-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.5rem;
}

.use-case-modern {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.use-case-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
}


.use-case-modern h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.use-case-modern p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-modern {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-top: 1px solid var(--border-color);
}

.cta-content-modern {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content-modern h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Target Segments Section */
.target-segments-modern {
    padding: 6rem 0;
    background: #f8f9fa;
}

.segments-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
}

.segment-card-modern {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.segment-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.segment-header-modern {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}


.segment-header-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.segment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

.segment-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.segment-why,
.segment-users,
.segment-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.segment-why h4,
.segment-users h4,
.segment-features h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.segment-why p,
.segment-users p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.segment-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.segment-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.segment-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Buyer Personas Section */
.buyer-personas-modern {
    padding: 6rem 0;
    background: white;
}

.personas-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.persona-card-modern {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.persona-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.persona-card-modern h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.persona-card-modern p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Success Metrics Section */
.success-metrics-modern {
    padding: 6rem 0;
    background: #f8f9fa;
}

.metrics-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
}

.metric-card-modern {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.metric-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}


.metric-card-modern h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.metric-card-modern p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.faq-modern {
    padding: 6rem 0;
    background: #ffffff;
}

.faq-list-modern {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: flex-start;
}

.faq-item-modern {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item-modern[open] {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 18px 32px rgba(99, 102, 241, 0.18);
    transform: translateY(-2px);
}

.faq-item-modern summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
}

.faq-item-modern summary::-webkit-details-marker {
    display: none;
}

.faq-item-modern h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item-modern[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-item-modern p {
    margin-top: 1rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-item-modern p strong {
    color: var(--text-primary);
}

.seo-fallback {
    padding: 6rem 0 4rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.seo-fallback .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.seo-fallback-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.seo-fallback h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.seo-fallback-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 760px;
    margin-bottom: 2.25rem;
}

.seo-fallback-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-tertiary-modern {
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: white;
    color: var(--text-secondary);
}

.btn-tertiary-modern:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.seo-fallback-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.seo-fallback-grid article {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(203, 213, 225, 0.6);
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.seo-fallback-grid h2 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.seo-fallback-grid ul {
    list-style: disc;
    margin-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.98rem;
}

.seo-fallback-meta {
    background: rgba(99, 102, 241, 0.08);
    border-radius: 18px;
    padding: 2rem;
}

.seo-fallback-meta h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.seo-fallback-meta p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.seo-fallback-meta a {
    color: var(--primary-color);
    text-decoration: underline;
}

.seo-fallback-meta a:hover {
    color: var(--primary-dark);
}

.social-share-modern {
    padding: 6rem 0;
    background: #f8fafc;
}

.social-share-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.social-share-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.75rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    color: var(--text-primary);
    background: white;
    border: 1px solid rgba(203, 213, 225, 0.6);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.social-share-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 36px rgba(99, 102, 241, 0.22);
}

.social-share-card .social-icon {
    font-size: 1.75rem;
    font-weight: 700;
}

.social-share-card.linkedin {
    color: #0a66c2;
    border-color: rgba(10, 102, 194, 0.25);
}

.social-share-card.twitter {
    color: #111827;
    border-color: rgba(17, 24, 39, 0.25);
}

.social-share-card.facebook {
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.25);
}

.social-share-card.email {
    color: var(--text-secondary);
}

.cta-content-modern p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Landing Page Responsive */
@media (max-width: 1024px) {
    .steps-modern {
        gap: 1.5rem;
    }
    
    .step-modern {
        flex-direction: column;
        text-align: center;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .use-cases-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .segments-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .personas-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .metrics-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .faq-list-modern {
        grid-template-columns: 1fr;
    }

    .seo-fallback-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        padding: 5rem 0 4rem;
    }
    
    .hero-title-modern {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1.125rem;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
    
    .features-grid-modern,
    .use-cases-grid-modern,
    .segments-grid-modern,
    .personas-grid-modern,
    .metrics-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .hero-cta-modern {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
    }
    
    .segment-card-modern {
        padding: 1.5rem;
    }
    
    .persona-card-modern {
        padding: 1.5rem;
    }
    
    .metric-card-modern {
        padding: 1.5rem;
    }

    .faq-item-modern {
        padding: 1.25rem 1.5rem;
    }

    .seo-fallback h1 {
        font-size: 2.2rem;
    }

    .seo-fallback-links {
        flex-direction: column;
        align-items: stretch;
    }

    .seo-fallback-grid article {
        padding: 1.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
        padding-top: 2rem;
    }
    
    .step-number-modern {
        min-width: 60px;
        font-size: 1.5rem;
    }

    .auth-section {
        padding: 3rem 1rem 4rem;
    }

    .auth-preview {
        order: 2;
    }

    .auth-card {
        padding: 2rem 1.6rem;
        order: 1;
    }

    .auth-preview h1 {
        font-size: 2rem;
    }

    .auth-stats {
        gap: 1.5rem;
    }

    .auth-pill-group {
        gap: 0.45rem;
    }

    .btn-full {
        padding: 0.9rem;
    }
}

/* OpenAPI/Swagger Style API Documentation */
.api-docs-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 3rem;
}

/* API Header */
.api-header {
    background: var(--surface);
    color: var(--text-primary);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
}

.api-header-content {
    max-width: 800px;
}

.api-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.api-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
}

.api-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.api-version {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}

.api-base-url code {
    background: var(--surface-hover);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* API Sections */
.api-section {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.api-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.api-section-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.api-server-info {
    display: grid;
    gap: 1rem;
}

.server-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.server-item code {
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Security Scheme */
.api-security-scheme {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.security-type {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.security-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}

.token-display {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.token-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.token-value {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.token-value code {
    flex: 1;
    padding: 0.75rem;
    background: #f0f2ff;
    border-radius: 6px;
    font-size: 0.85rem;
    word-break: break-all;
    color: var(--primary-color);
}

.token-usage {
    padding: 0.75rem;
    background: #1e1e1e;
    border-radius: 6px;
    margin-top: 1rem;
}

.token-usage code {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.security-warning {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    color: #856404;
}

/* API Tags */
.api-tag {
    margin-bottom: 3rem;
}

.api-tag-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.api-tag-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Endpoint Cards */
.endpoint-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.endpoint-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.endpoint-header-main {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    background: #fafafa;
    transition: background 0.2s ease;
}

.endpoint-header-main:hover {
    background: #f0f0f0;
}

.endpoint-method-path {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    flex: 1;
}

.method-badge {
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 60px;
    text-align: center;
}

.method-get { background: #10b981; color: white; }
.method-post { background: #3b82f6; color: white; }
.method-put { background: #f59e0b; color: white; }
.method-delete { background: #ef4444; color: white; }
.method-patch { background: #8b5cf6; color: white; }

.endpoint-path {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.security-indicator {
    font-size: 0.9rem;
    opacity: 0.7;
}

.endpoint-summary {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
    margin-left: 1rem;
}

.endpoint-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: transform 0.2s ease;
}

.endpoint-content {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: white;
}

.endpoint-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.endpoint-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.endpoint-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.endpoint-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--text-primary);
}

/* Parameters Table */
.parameters-table {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.parameter-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
    background: white;
}

.parameter-row:last-child {
    border-bottom: none;
}

.parameter-row:hover {
    background: #fafafa;
}

.parameter-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.parameter-name code {
    font-size: 0.95rem;
    color: var(--primary-color);
}

.required-badge {
    background: #ef4444;
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
}

.optional-badge {
    background: #94a3b8;
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
}

.parameter-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.parameter-in {
    display: inline-block;
    background: #e2e8f0;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
}

.parameter-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.parameter-type, .parameter-example {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.parameter-type code, .parameter-example code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

/* Request Body */
.required-notice {
    display: inline-block;
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.request-body-content {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
}

.content-type {
    margin-bottom: 1rem;
}

.content-type strong {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.content-type code {
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

.schema-info {
    margin-top: 1rem;
}

.schema-properties {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.schema-property {
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.schema-property code {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.type-badge {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.format-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.property-description {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.property-example {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Example JSON */
.example-json {
    margin-top: 1rem;
    padding: 1rem;
    background: #1e1e1e;
    border-radius: 6px;
}

.example-json strong {
    color: #a0a0a0;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.example-json pre {
    margin: 0;
    color: #d4d4d4;
    font-size: 0.85rem;
    line-height: 1.5;
    overflow-x: auto;
}

.example-json code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Responses */
.responses-list {
    display: grid;
    gap: 1rem;
}

.response-item {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.response-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.status-code {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 50px;
    text-align: center;
}

.status-2xx { background: #10b981; color: white; }
.status-4xx { background: #ef4444; color: white; }
.status-5xx { background: #dc2626; color: white; }

.status-description {
    color: var(--text-primary);
    font-weight: 500;
}

.response-content {
    padding: 1rem;
    background: white;
}

.content-type-label {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.content-type-label code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

/* Try It Out */
.try-it-out {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.try-it-url {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.try-it-url code {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Code Examples */
.api-examples {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.example-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.example-tab {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.example-tab:hover {
    background: #f0f0f0;
    color: var(--text-primary);
}

.example-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: white;
}

.example-pane {
    display: none;
    padding: 1.5rem;
}

.example-pane.active {
    display: block;
}

.example-pane pre {
    margin: 0;
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1.5rem;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.6;
}

.example-pane code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .api-header {
        padding: 2rem 1.5rem;
    }
    
    .api-title {
        font-size: 2rem;
    }
    
    .api-section {
        padding: 1.5rem;
    }
    
    .endpoint-method-path {
        min-width: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .endpoint-header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .parameter-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Profile Page Styles */
.profile-content {
    padding: 2rem;
}

.profile-section {
    margin-bottom: 3rem;
}

.profile-section:last-child {
    margin-bottom: 0;
}

.profile-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.profile-info {
    display: grid;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.info-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-actions .btn {
    min-width: 150px;
}

/* Responsive Profile */
@media (max-width: 768px) {
    .profile-content {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* Admin Styles */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

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

.admin-nav-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.admin-nav-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.admin-nav-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    color: var(--primary-color);
}

.admin-nav-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.admin-nav-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.admin-nav-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.admin-table-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.admin-table thead {
    background: var(--background);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.admin-table tbody tr:hover {
    background: var(--surface-hover);
}

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

.admin-table code {
    background: var(--background);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-nav-menu {
        grid-template-columns: 1fr;
    }
    
    .admin-table-container {
        overflow-x: scroll;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    /* Full width on mobile too */
    .admin-container {
        padding: 1rem;
    }
}

/* Pagination Styles */
.admin-pagination {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.pagination-info {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-number {
    min-width: 40px;
    height: 40px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number:hover:not(.active):not(:disabled) {
    border-color: var(--primary-color);
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.pagination-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
}

.pagination-number:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--text-secondary);
}

.pagination-btn {
    min-width: 100px;
}

@media (max-width: 768px) {
    .pagination-controls {
        flex-direction: column;
    }
    
    .pagination-numbers {
        order: 2;
    }
    
    .pagination-btn {
        order: 1;
        width: 100%;
    }
}

/* Contact Page */
.contact-page {
    padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 6vw, 5rem) 4rem;
    background: radial-gradient(circle at top, rgba(99,102,241,0.12), transparent 55%),
                linear-gradient(180deg, rgba(248,250,252,1) 0%, rgba(241,245,249,1) 60%, rgba(248,250,252,1) 100%);
}

.contact-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.75rem;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color, #4f46e5);
    background: rgba(99,102,241,0.12);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-intro h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 1rem 0 0.75rem;
    color: #0f172a;
}

.contact-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary, #475569);
    margin: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.contact-info-card,
.contact-form-card {
    background: #ffffff;
    border-radius: 30px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 35px 65px rgba(15,23,42,0.08);
}

.contact-info-card {
    border-top: 4px solid var(--primary-color, #4f46e5);
}

.contact-info-card h2,
.contact-form-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.45rem;
}

.contact-info-description,
.contact-form-description {
    margin: 0 0 1.5rem;
    color: var(--text-secondary, #475569);
    line-height: 1.6;
}

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15,23,42,0.08);
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-info-list span {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary, #94a3b8);
    margin-bottom: 0.35rem;
}

.contact-info-list strong {
    font-size: 1.05rem;
    color: #0f172a;
}

.contact-info-list a {
    color: var(--primary-color, #4f46e5);
    text-decoration: none;
}

.contact-response-hint {
    margin-top: 1.5rem;
    padding: 0.85rem 1.1rem;
    border-radius: 16px;
    background: rgba(16,185,129,0.12);
    color: #065f46;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form label {
    font-weight: 600;
    color: #0f172a;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,0.12);
    padding: 0.95rem 1.1rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: rgba(248,250,252,0.8);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color, #4f46e5);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
    background: #ffffff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .contact-submit {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 1.05rem;
    border-radius: 16px;
}

.contact-status {
    min-height: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-status.success {
    color: #0f9d58;
}

.contact-status.error {
    color: #ef4444;
}

.contact-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary, #64748b);
}

@media (max-width: 768px) {
    .contact-info-card,
    .contact-form-card {
        border-radius: 24px;
    }

    .contact-form .contact-submit {
        font-size: 1rem;
    }
}

/* Admin User Edit Form Styles */
.admin-user-page-layout {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.admin-user-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.admin-user-menu {
    background: white;
    border-radius: 12px;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 2rem;
}

.admin-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-menu-item:hover {
    background: var(--surface-hover);
    border-left-color: var(--primary-color);
}

.admin-menu-item.active {
    background: rgba(99, 102, 241, 0.1);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.menu-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.menu-text {
    flex: 1;
}

.admin-user-content {
    flex: 1;
    min-width: 0;
}

.user-section {
    display: none;
}

.user-section.active {
    display: block;
}

.admin-user-edit-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.admin-user-form {
    max-width: 800px;
    margin: 0 auto;
}

.admin-user-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-user-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.admin-user-form .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.admin-user-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.admin-user-form .form-control:disabled {
    background: var(--background);
    cursor: not-allowed;
}

.admin-user-form .form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.admin-user-form .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.btn-danger {
    background: var(--error-color);
    color: white;
}

.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.btn.icon-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    font-size: 1rem;
    border-radius: 999px;
}

.btn.icon-only span {
    line-height: 1;
    font-weight: 600;
}

.btn-danger:hover:not(:disabled) {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn-info {
    background: #3b82f6;
    color: white;
}

.btn-info:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

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

.modal-body {
    padding: 1.5rem;
}

.token-display {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--background);
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.token-display code {
    flex: 1;
    word-break: break-all;
    font-size: 0.875rem;
    padding: 0.5rem;
    background: white;
    border-radius: 4px;
}

.text-warning {
    color: var(--warning-color);
    font-size: 0.875rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .admin-user-page-layout {
        flex-direction: column;
        gap: 1rem;
    }
    
    .admin-user-sidebar {
        width: 100%;
    }
    
    .admin-user-menu {
        position: static;
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
    }
    
    .admin-menu-item {
        flex-direction: column;
        padding: 1rem;
        min-width: 100px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .admin-menu-item:hover,
    .admin-menu-item.active {
        border-left: none;
        border-bottom-color: var(--primary-color);
    }
    
    .menu-text {
        font-size: 0.875rem;
        text-align: center;
    }
    
    .admin-user-form .form-actions {
        flex-direction: column;
    }
    
    .admin-user-form .form-actions .btn {
        width: 100%;
    }
    
    .token-display {
        flex-direction: column;
    }
    
    .token-display code {
        width: 100%;
    }
}
