/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #8B5CF6;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --border: #E5E7EB;
    --success: #10B981;
    --gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

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

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

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

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

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

/* Mobile Side Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: white;
    z-index: 1001;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-side-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-header .logo {
    color: var(--text-primary);
}

.mobile-menu-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.mobile-menu-close span {
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

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

.mobile-menu-close span:nth-child(2) {
    transform: rotate(-45deg);
}

.mobile-nav-links {
    list-style: none;
    padding: 24px 0;
    margin: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav-links a {
    display: block;
    padding: 16px 24px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-links a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.mobile-nav-actions {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

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

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

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

.btn-secondary:hover {
    background: var(--bg-tertiary);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

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

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

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

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s;
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
}

.card-dots {
    display: flex;
    gap: 8px;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
}

.card-dots span:nth-child(1) {
    background: #EF4444;
}

.card-dots span:nth-child(2) {
    background: #F59E0B;
}

.card-dots span:nth-child(3) {
    background: #10B981;
}

.card-content {
    padding: 24px;
    min-height: 300px;
}

.whiteboard-preview {
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.toolbar {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.tool {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.tool:hover {
    background: var(--bg-tertiary);
    transform: scale(1.1);
}

.canvas-area {
    padding: 24px;
    min-height: 200px;
    position: relative;
}

.math-equation {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 24px;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    display: inline-block;
    position: relative;
}

.math-equation::after {
    content: '|';
    color: var(--primary);
    animation: blinkCursor 1s step-end infinite;
}

@keyframes blinkCursor {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

/* Features Section */
.features {
    background: var(--bg-primary);
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-secondary);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

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

.step-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    font-size: 32px;
    color: var(--primary-light);
    font-weight: 300;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-primary);
}

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

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.testimonial-rating {
    color: #FBBF24;
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

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

/* Pricing Section */
.pricing {
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    border: 2px solid var(--border);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-period {
    font-size: 18px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.9;
}

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

.cta .btn-primary:hover {
    background: var(--bg-secondary);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .canvas-area {
        text-align: left;
    }
    
    .math-equation {
        text-align: left;
        display: block;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .canvas-area {
        text-align: left;
    }
    
    .math-equation {
        text-align: left;
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        justify-content: center;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    section {
        padding: 60px 0;
    }
}

/* Form Styles */
.auth-form {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s;
    font-family: inherit;
    background: white;
    color: var(--text-primary);
}

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

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

.form-input select {
    cursor: pointer;
}

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

.form-checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-checkbox-label {
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.form-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
    color: var(--text-light);
    font-size: 14px;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    font-size: 14px;
}

.social-btn:hover {
    border-color: var(--primary-light);
    background: var(--bg-secondary);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.form-footer {
    text-align: center;
    margin-top: 32px;
    color: var(--text-secondary);
    font-size: 14px;
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

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

.account-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.account-type-option {
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    display: block;
}

.account-type-option input[type="radio"] {
    display: none;
}

.account-type-option span {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    pointer-events: none;
}

.account-type-option:hover {
    border-color: var(--primary-light);
    background: var(--bg-secondary);
}

.account-type-option input[type="radio"]:checked ~ span {
    color: var(--primary);
}

.account-type-option:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.terms-checkbox {
    margin-bottom: 24px;
}

.terms-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .auth-form {
        padding: 32px 24px;
    }

    .account-type-selector {
        grid-template-columns: 1fr;
    }
}

/* Status Page Styles */
.status-overview {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
    text-align: center;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
}

.status-indicator.operational {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-indicator.partial {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.status-indicator.down {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

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

.status-dot.partial {
    background: #F59E0B;
}

.status-dot.down {
    background: #EF4444;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-services {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.service-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    transition: all 0.2s;
}

.service-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

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

.service-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.service-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.service-status.operational {
    color: var(--success);
}

.service-status.partial {
    color: #F59E0B;
}

.service-status.down {
    color: #EF4444;
}

.service-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.service-uptime {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}

.uptime-label {
    color: var(--text-secondary);
}

.uptime-value {
    font-weight: 600;
    color: var(--text-primary);
}

.incidents-section {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

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

.incidents-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.incident-item {
    padding: 20px;
    border-left: 4px solid var(--border);
    border-radius: 8px;
    margin-bottom: 16px;
    background: var(--bg-secondary);
    transition: all 0.2s;
}

.incident-item:hover {
    background: var(--bg-tertiary);
}

.incident-item.resolved {
    border-left-color: var(--success);
}

.incident-item.investigating {
    border-left-color: #F59E0B;
}

.incident-item.major {
    border-left-color: #EF4444;
}

.incident-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 8px;
}

.incident-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.incident-date {
    font-size: 14px;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-left: 16px;
}

.incident-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.incident-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.incident-status.resolved {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.incident-status.investigating {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.incident-status.monitoring {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.uptime-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.uptime-stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.uptime-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.uptime-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .incident-header {
        flex-direction: column;
        gap: 8px;
    }

    .incident-date {
        margin-left: 0;
    }

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

/* Help Center Styles */
.help-search {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 48px;
    text-align: center;
}

.help-search-input {
    width: 100%;
    max-width: 600px;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s;
    font-family: inherit;
    margin: 0 auto;
    display: block;
}

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

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.help-category-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.help-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.category-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-section {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.faq-section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 18px;
    transition: all 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-toggle {
    background: var(--primary);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 16px;
}

.popular-articles {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.popular-articles-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

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

.article-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.article-item:last-child {
    border-bottom: none;
}

.article-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.2s;
}

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

.article-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-support {
    background: var(--gradient);
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    color: white;
    margin-bottom: 32px;
}

.contact-support h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-support p {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 24px;
}

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

.contact-support .btn-primary:hover {
    background: var(--bg-secondary);
}

@media (max-width: 768px) {
    .help-search {
        padding: 32px 24px;
    }

    .help-categories {
        grid-template-columns: 1fr;
    }

    .faq-section,
    .popular-articles,
    .contact-support {
        padding: 24px;
    }
}

/* Documentation Styles */
.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.docs-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.docs-nav {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.docs-nav-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.docs-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-nav-item {
    margin-bottom: 8px;
}

.docs-nav-link {
    display: block;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}

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

.docs-nav-link.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    font-weight: 500;
}

.docs-nav-section {
    margin-top: 24px;
}

.docs-nav-section-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.docs-content {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    min-height: 600px;
}

.docs-section {
    margin-bottom: 48px;
}

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

.docs-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.docs-section-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.docs-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 16px;
}

.docs-code-block {
    background: #1E293B;
    color: #E2E8F0;
    padding: 0;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.docs-code-block pre {
    margin: 0;
    padding: 24px;
    overflow-x: auto;
}

.docs-code-block code {
    color: #E2E8F0;
    display: block;
    white-space: pre;
    font-family: 'Courier New', monospace;
}

.docs-code-block pre code {
    color: #E2E8F0;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.docs-code-inline {
    background: var(--bg-tertiary);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.docs-list {
    margin: 24px 0;
    padding-left: 24px;
}

.docs-list li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.docs-api-endpoint {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin: 24px 0;
}

.api-method {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    margin-right: 12px;
}

.api-method.get {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.api-method.post {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.api-method.put {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.api-method.delete {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.api-url {
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    font-size: 14px;
    word-break: break-all;
}

.api-description {
    color: var(--text-secondary);
    margin-top: 12px;
    font-size: 14px;
}

.docs-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #F59E0B;
    padding: 16px;
    border-radius: 8px;
    margin: 24px 0;
}

.docs-warning-title {
    font-weight: 600;
    color: #F59E0B;
    margin-bottom: 8px;
}

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

.docs-info {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--primary);
    padding: 16px;
    border-radius: 8px;
    margin: 24px 0;
}

.docs-info-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

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

.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

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

.docs-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.docs-table td {
    color: var(--text-secondary);
    font-size: 14px;
}

.docs-table code {
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

@media (max-width: 1024px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
        max-height: none;
    }

    .docs-nav {
        margin-bottom: 32px;
    }
}

@media (max-width: 768px) {
    .docs-content {
        padding: 32px 24px;
    }

    .docs-section-title {
        font-size: 28px;
    }

    .docs-code-block {
        padding: 16px;
        font-size: 12px;
    }
}

/* Community Styles */
.community-hero {
    background: var(--gradient);
    color: white;
    padding: 64px 0;
    text-align: center;
    margin-bottom: 48px;
    border-radius: 16px;
}

.community-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.community-hero p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 32px;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.community-stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.community-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.community-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.community-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.community-category {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.community-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.category-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}


.recent-posts {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.recent-posts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.recent-posts-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.post-item {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.post-item:last-child {
    border-bottom: none;
}

.post-item:hover {
    background: var(--bg-secondary);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.post-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.post-author-info {
    flex: 1;
}

.post-author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.post-time {
    font-size: 12px;
    color: var(--text-light);
}

.post-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.post-title:hover {
    color: var(--primary);
}

.post-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}


.post-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.post-badge.featured {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.post-badge.new {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.community-guidelines {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.guidelines-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

.guidelines-list li {
    padding: 12px 0;
    padding-left: 32px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}

.guidelines-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

.community-cta {
    background: var(--gradient);
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    color: white;
}

.community-cta h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.community-cta p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 24px;
}

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

.community-cta .btn-primary:hover {
    background: var(--bg-secondary);
}

@media (max-width: 768px) {
    .community-hero h1 {
        font-size: 36px;
    }

    .community-categories {
        grid-template-columns: 1fr;
    }

    .recent-posts-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .post-header {
        flex-wrap: wrap;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* About Page Styles */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

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

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 1024px) {
    .careers-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 36px !important;
    }
    
    .about-hero p {
        font-size: 18px !important;
    }
    
    .values-grid,
    .team-grid,
    .stats-grid,
    .careers-benefits-grid,
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
    
    .page-content h2 {
        font-size: 32px !important;
    }
    
    .page-content > .container > div[style*="padding: 64px"] {
        padding: 32px 24px !important;
    }
    
    .page-content h1[style*="font-size: 48px"] {
        font-size: 36px !important;
    }
    
    .page-content h2[style*="font-size: 28px"] {
        font-size: 24px !important;
    }
    
    .page-content h3[style*="font-size: 20px"] {
        font-size: 18px !important;
    }
    
    .page-content > .container > div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    .page-content > .container > div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Pricing table responsive */
    .page-content table {
        font-size: 14px;
    }
    
    .page-content table th,
    .page-content table td {
        padding: 12px 8px !important;
    }
}

/* Security and Help Center sections responsive */
@media (max-width: 768px) {
    .security {
        padding: 60px 0 !important;
    }
    
    .security-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .security-grid > div {
        padding: 24px !important;
    }
    
    .security-grid h3 {
        font-size: 20px !important;
    }
    
    .help-center-preview {
        padding: 60px 0 !important;
    }
    
    .help-center-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .help-center-grid > a {
        padding: 24px !important;
    }
    
    .help-center-grid h3 {
        font-size: 18px !important;
    }
    
    .help-center-grid p {
        font-size: 13px !important;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .help-center-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

