/* ScorePanda Design System - Corporate Slate Theme */

:root {
    /* Colors */
    --bg-page: #F8F9FA;
    --bg-white: #FFFFFF;
    --bg-subtle: #F1F3F4;
    --bg-hover: #E8EAED;
    --bg-dark: #1A1D21;
    --bg-darker: #0F1115;
    
    --text-primary: #1A1D21;
    --text-secondary: #5F6368;
    --text-muted: #9AA0A6;
    --text-white: #FFFFFF;
    
    --accent: #1E7F6E;
    --accent-light: #E6F4F1;
    --accent-dark: #166557;
    --accent-hover: #177560;
    
    --border: #DADCE0;
    --border-light: #E8EAED;
    
    --purple: #7C3AED;
    --purple-light: #F3E8FF;
    --blue: #2563EB;
    --blue-light: #EFF6FF;
    --orange: #EA580C;
    --orange-light: #FFF7ED;
    --red: #DC2626;
    --green: #16A34A;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    
    /* Typography */
    --font-display: 'Source Serif 4', Georgia, serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ==================== NAVIGATION ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    height: 72px;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-subtle);
}

.nav-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 24px;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.nav-dropdown-section {
    padding: 8px 0;
}

.nav-dropdown-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 8px 12px;
    margin-bottom: 4px;
}

.nav-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: all 0.15s;
}

.nav-dropdown-item:hover {
    background: var(--bg-subtle);
}

.nav-dropdown-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-dropdown-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.nav-dropdown-content h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.nav-dropdown-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 12px 0;
}

.nav-dropdown-integrations {
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    margin-top: 8px;
}

.nav-dropdown-integrations-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.nav-dropdown-integrations-header span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.nav-dropdown-integrations-header a {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
}

.nav-dropdown-integrations-header a:hover {
    text-decoration: underline;
}

.nav-dropdown-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nav-dropdown-logos img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.nav-dropdown-logos img:hover {
    opacity: 1;
}

/* Featured card in dropdown */
.nav-dropdown-featured {
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-left: 16px;
}

.nav-dropdown-featured img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.nav-dropdown-featured h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.nav-dropdown-featured p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.nav-dropdown-featured a {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-xl {
    padding: 18px 36px;
    font-size: 17px;
    border-radius: var(--radius-md);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    background: var(--bg-subtle);
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-dark {
    background: var(--bg-dark);
    color: white;
}

.btn-dark:hover {
    background: var(--bg-darker);
}

.btn-white {
    background: white;
    color: var(--text-primary);
}

.btn-white:hover {
    background: var(--bg-subtle);
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-page) 100%);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent-light);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-dark);
    margin-bottom: 24px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-note {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-image {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

/* ==================== SOCIAL PROOF ==================== */
.social-proof {
    padding: 60px 0;
    background: var(--bg-page);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.social-proof-inner {
    text-align: center;
}

.social-proof p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.social-proof-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.social-proof-logos img {
    height: 32px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.2s;
}

.social-proof-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-page);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 32px;
    right: -16px;
    width: calc(100% - 64px);
    height: 2px;
    background: var(--border);
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.step h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: #FBBF24;
    color: #FBBF24;
}

.testimonial-card blockquote {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--bg-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-secondary);
}

.testimonial-info h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
}

.testimonial-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ==================== PRICING SECTION ==================== */
.pricing {
    padding: 100px 0;
    background: var(--bg-page);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.pricing-toggle span {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-toggle span.active {
    color: var(--text-primary);
    font-weight: 500;
}

.pricing-toggle-switch {
    width: 48px;
    height: 26px;
    background: var(--accent);
    border-radius: 13px;
    position: relative;
    cursor: pointer;
}

.pricing-toggle-switch::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.2s;
}

.pricing-badge {
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(30, 127, 110, 0.15);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 50px;
}

.pricing-card h3 {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card .price-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    flex: 1;
    margin-bottom: 24px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    list-style: none;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .btn {
    width: 100%;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
}

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

.cta-inner h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-inner p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-darker);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin: 16px 0 24px;
    max-width: 280px;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

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

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.15s;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

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

/* ==================== PAGE HEADER ==================== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-page) 100%);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== APP LAYOUT ==================== */
.app-layout {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    width: 240px;
    background: var(--bg-white);
    border-right: 1px solid var(--border-light);
    padding: 20px 12px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.app-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin-bottom: 24px;
}

.app-sidebar-logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.app-sidebar-logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}

.app-nav-section {
    margin-bottom: 24px;
}

.app-nav-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 8px 12px;
    margin-bottom: 4px;
}

.app-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s;
}

.app-nav-item:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.app-nav-item.active {
    background: var(--accent-light);
    color: var(--accent-dark);
}

.app-nav-item svg {
    width: 18px;
    height: 18px;
}

.app-main {
    flex: 1;
    margin-left: 240px;
}

.app-header {
    height: 60px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.app-header-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
}

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

.app-content {
    padding: 32px;
    background: var(--bg-page);
    min-height: calc(100vh - 60px);
}

/* ==================== UTILITIES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-top: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-24 { padding-top: 96px; padding-bottom: 96px; }

.bg-white { background: var(--bg-white); }
.bg-subtle { background: var(--bg-subtle); }
.bg-page { background: var(--bg-page); }

/* ==================== CARDS ==================== */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
}

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

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

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.stat-card-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-card-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card-change {
    font-size: 13px;
    color: var(--green);
    margin-top: 8px;
}

.stat-card-change.negative {
    color: var(--red);
}

/* ==================== TABLES ==================== */
.table-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    text-align: left;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border-light);
}

.table td {
    padding: 16px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}

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

.table tr:hover {
    background: var(--bg-subtle);
}

/* Status badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success {
    background: var(--green-light, #F0FDF4);
    color: var(--green);
}

.badge-warning {
    background: var(--orange-light);
    color: var(--orange);
}

.badge-draft {
    background: var(--bg-subtle);
    color: var(--text-muted);
}

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

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

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    transition: all 0.15s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-input::placeholder {
    color: var(--text-muted);
}

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

/* Toggle */
.toggle {
    width: 44px;
    height: 24px;
    background: var(--border);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle.active {
    background: var(--accent);
}

.toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.toggle.active::after {
    left: 22px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step::after {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-menu {
        display: none;
    }
    
    .features-grid,
    .testimonials-grid,
    .steps {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
