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

:root {
    --color-primary: hsl(210, 90%, 45%);
    --color-secondary: hsl(260, 75%, 50%);
    --color-accent: hsl(35, 90%, 55%);
    --color-tertiary: hsl(190, 85%, 45%);
    --color-warm-accent: hsl(25, 85%, 55%);
    --color-golden: hsl(45, 85%, 60%);
    --color-brand-blue: hsl(210, 90%, 45%);
    --color-brand-purple: hsl(260, 75%, 50%);
    --color-brand-orange: hsl(35, 90%, 55%);
    --color-primary-light: hsl(210, 90%, 65%);
    --color-secondary-light: hsl(260, 75%, 70%);
    --color-accent-light: hsl(35, 90%, 75%);
    --color-tertiary-light: hsl(190, 85%, 65%);
    --color-primary-dark: hsl(210, 90%, 30%);
    --color-secondary-dark: hsl(260, 75%, 35%);
    --color-accent-dark: hsl(35, 90%, 40%);
    --color-tertiary-dark: hsl(190, 85%, 30%);
    --color-text-primary: hsl(210, 15%, 20%);
    --color-text-secondary: hsl(210, 10%, 50%);
    --color-background: hsl(210, 20%, 98%);
    --color-surface: #ffffff;
    --color-border: hsl(210, 15%, 90%);
    --color-success: hsl(140, 70%, 45%);
    --color-warning: var(--color-accent);
    --color-info: var(--color-tertiary);
    --gradient-brand: linear-gradient(135deg,
            var(--color-primary) 0%,
            var(--color-tertiary) 25%,
            var(--color-secondary) 50%,
            var(--color-accent) 75%,
            var(--color-golden) 100%);
    --gradient-professional: linear-gradient(135deg,
            var(--color-primary) 0%,
            var(--color-secondary) 100%);
}

body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin: 0;
    background: var(--color-background);
    padding-top: 80px;
}

/* Header Section */
.header-section {
    background: var(--color-surface);
    border-bottom: 2px solid var(--color-border);
    padding: 16px 4vw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.header-section.scrolled {
    padding: 8px 4vw;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-section.scrolled #header{
    gap: 2px;
}

.header-section.scrolled .logo {
    font-size: 1.5rem;
}

.header-section.scrolled #menus>div {
    padding: 6px 12px;
    font-size: 1.05rem;
}

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

#header_title:hover {
    cursor: pointer;
}

.logo {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    word-spacing: -2px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    white-space: nowrap;
}

#menus {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 24px;
    padding-right: 24px;
}

#menus>div {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-primary);
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: -0.2px;
}

#menus>div:hover {
    color: var(--color-primary);
    background-color: hsl(210, 50%, 95%);
    transform: scale(1.05) translateY(-2px);
}

#account {
    display: flex;
    align-items: center;
}

#account a {
    color: var(--color-primary);
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
}

#account a:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-surface) 0%, hsl(210, 25%, 97%) 100%);
    padding: 100px 24px 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-professional);
    opacity: 0.05;
    z-index: 0;
}

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

.hero-content h1 {
    color: var(--color-text-primary);
    margin-bottom: 32px;
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.4px;
}

.highlight-number {
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.subheadline {
    font-size: 32px;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
    font-weight: 400;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Social Proof */
.social-proof {
    margin-bottom: 48px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
}

.proof-text {
    font-size: 18px;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.proof-avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.avatar:nth-child(2) { animation-delay: 0.5s; }
.avatar:nth-child(3) { animation-delay: 1s; }
.avatar:nth-child(4) { animation-delay: 1.5s; }
.avatar:nth-child(5) { animation-delay: 2s; }

.more-users {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 500;
    margin-left: 8px;
}

/* Pain Section */
.pain-section {
    margin-bottom: 48px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pain-section h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.4px;
}

.pain-points {
    display: grid;
    gap: 12px;
}

.pain-item {
    font-size: 16px;
    color: var(--color-text-primary);
    padding: 12px 16px;
    background: rgba(220, 38, 38, 0.08);
    border-left: 4px solid hsl(0, 70%, 60%);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pain-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* How It Works */
.how-it-works {
    margin-bottom: 48px;
}

.how-it-works h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 32px;
    letter-spacing: -0.4px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.step-item {
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 242, 247, 0.8) 100%);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.step-item:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.step-item:hover::before {
    opacity: 0.05;
}

.step-number {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-professional);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step-item h4 {
    position: relative;
    z-index: 1;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.step-item p {
    position: relative;
    z-index: 1;
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.5;
}

/* Urgency Section */
.urgency-section {
    margin-bottom: 32px;
    text-align: center;
}

.urgency-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-warm-accent) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    animation: pulse-glow 2s infinite;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.urgency-badge a {
    color: white;
    text-decoration: none !important;
}

.urgency-section p {
    font-size: 18px;
    color: var(--color-text-primary);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    margin-top: 40px;
}

.cta-button-primary {
    display: inline-block;
    background: var(--gradient-brand);
    color: white;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    letter-spacing: -0.2px;
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.cta-subtext {
    margin-top: 16px;
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.cta-button {
    background: var(--gradient-brand);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-button::before {
    content: "🚀";
    margin-right: 8px;
}

/* Testimonials */
.testimonial {
    background: var(--color-surface);
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial p {
    font-size: 16px;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    font-style: italic;
    line-height: 1.6;
}

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

.testimonials {
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Upload Section */
.upload-section {
    background: var(--color-background);
    padding: 80px 24px;
    border-top: 1px solid var(--color-border);
}

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

.upload-header {
    margin-bottom: 40px;
}

.upload-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

.upload-description {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.upload-formats {
    font-size: 16px;
    color: var(--color-accent-dark);
    font-weight: 500;
}

input[type="file"] {
    display: flex;
    width: 100%;
    padding: 40px 15px;
    border: 2px dashed var(--color-secondary);
    border-radius: 16px;
    background-color: var(--color-secondary-light);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

input[type="file"]:hover {
    border-color: var(--color-secondary-dark);
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

input[type="file"]::before {
    content: "Drop your files here or click to select a file";
    display: block;
    font-weight: 400;
    color: white;
    margin-bottom: 5px;
}

.file-info {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.empty-icon {
    color: var(--color-tertiary);
    font-weight: 500;
}

.file-badge {
    background-color: var(--color-accent-light);
    color: var(--color-accent-dark);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

.upload-area {
    position: relative;
    margin-bottom: 20px;
}

#file-upload {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    border: 2px dashed var(--color-secondary);
    border-radius: 16px;
    background: linear-gradient(135deg,
            hsl(240, 60%, 98%) 0%,
            hsl(220, 50%, 96%) 50%,
            hsl(240, 60%, 98%) 100%);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.upload-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.upload-label:hover {
    border-color: var(--color-secondary-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.upload-label:hover::before {
    opacity: 0.05;
}

.upload-label:hover .upload-icon {
    transform: scale(1.1);
    color: var(--color-secondary);
}

.upload-label:hover .upload-button {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    color: var(--color-tertiary);
    transition: all 0.3s ease;
}

.upload-text {
    text-align: center;
    margin-bottom: 20px;
}

.upload-text h3 {
    color: var(--color-text-primary);
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.upload-text p {
    color: var(--color-text-secondary);
    font-size: 16px;
    margin: 0;
}

.upload-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-button {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-label:active {
    transform: translateY(-2px);
}

#file-upload:focus+.upload-label {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

/* Loading Section */
.loading-section {
    background: var(--color-surface);
    padding: 40px 24px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--color-text-secondary);
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--color-secondary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

#how_long {
    color: var(--color-accent);
    font-style: italic;
}

/* Progress Section */
.progress-container {
    background: var(--color-background);
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.progress-header {
    margin-bottom: 32px;
}

.progress-header h2 {
    color: var(--color-text-primary);
    margin-bottom: 8px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.progress-subtitle {
    color: var(--color-text-secondary);
    font-size: 18px;
    animation: subtlePulse 4s infinite;
}

@keyframes subtlePulse {
    0%, 20%, 40%, 60%, 100% {
        opacity: 1;
    }
    10%, 30% {
        opacity: 0.6;
    }
}

.progress-wrapper {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.progress-bar-container {
    position: relative;
    background: #e9ecef;
    height: 8px;
    border-radius: 20px;
    margin: 32px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-brand);
    border-radius: 20px;
    transition: width 0.8s ease;
    position: relative;
}

.progress-bar::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: shimmer 2s infinite;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
    border: 3px solid #e9ecef;
    background: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step.completed .step-icon {
    background: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step.active .step-icon {
    border-color: var(--color-secondary);
    background: var(--color-secondary-light);
    color: var(--color-secondary-dark);
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}

.step-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    max-width: 80px;
    line-height: 1.3;
}

.step.completed .step-label {
    color: var(--color-secondary);
    font-weight: 600;
}

.step.active .step-label {
    color: var(--color-text-primary);
    font-weight: 600;
}

.connecting-line {
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e9ecef;
    z-index: 1;
}

.progress-text {
    font-size: 18px;
    color: var(--color-text-primary);
    margin-top: 24px;
    font-weight: 500;
}

.time-estimate {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-top: 8px;
    font-style: italic;
}

/* Error Section */
.error-section {
    background: var(--color-surface);
    padding: 40px 24px;
    border-top: 1px solid var(--color-border);
}

.error-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.error-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

.error-description {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.error-content {
    background: linear-gradient(135deg, hsl(0, 60%, 98%) 0%, hsl(0, 50%, 96%) 100%);
    border: 2px solid hsl(0, 60%, 90%);
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.error-content h3 {
    color: var(--color-primary);
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.error-content p {
    color: var(--color-text-primary);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.retry-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.retry-btn::before {
    content: "🔄";
    margin-right: 8px;
}

/* Proof Section */
.proof-section {
    background: var(--color-background);
    padding: 80px 24px;
    border-top: 1px solid var(--color-border);
}

.proof-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.proof-section h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 48px;
    letter-spacing: -0.4px;
}

.demo-video {
    margin-bottom: 64px;
}

.video-placeholder {
    background: linear-gradient(135deg, #f0f2f5 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 80px 40px;
    border: 2px dashed var(--color-border);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-placeholder:hover {
    border-color: var(--color-secondary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.video-placeholder:hover::before {
    opacity: 0.05;
}

.play-button {
    font-size: 48px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.video-placeholder p {
    font-size: 18px;
    color: var(--color-text-primary);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Results Section */
.results-section {
    background: var(--color-background);
    padding: 60px 24px;
    border-top: 1px solid var(--color-border);
}

.document-container {
    margin: 0 auto;
}

.results-header {
    margin-bottom: 40px;
    text-align: center;
}

.results-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

.results-description {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.document-info {
    text-align: center;
    margin-bottom: 40px;
    padding: 16px;
    background: var(--color-surface);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.document-info h3 {
    color: var(--color-text-primary);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.document_admin_view{
    color: var(--color-accent-dark);
}

.content-wrapper {
    display: flex;
    gap: 0;
    align-items: start;
    position: relative;
    min-height: 400px;
}

.images-section {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    flex: 0 0 var(--images-width, 50%);
    padding-right: 20px;
}

.images-section h2,
.tables-section h2 {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.image-container {
    margin-bottom: 30px;
    text-align: center;
    background: var(--color-surface);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.image-container h3 {
    margin-bottom: 10px;
    color: var(--color-text-secondary);
    font-size: 16px;
    font-weight: 500;
}

.document-image {
    width: 100%;
    height: auto;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.tables-section {
    flex: 1;
    padding-left: 20px;
}

.resize-separator {
    width: 12px;
    margin-left: 6px;
    margin-right: 6px;
    background: linear-gradient(to right, 
        transparent 0px, 
        transparent 4px, 
        var(--color-border) 4px, 
        var(--color-border) 5px, 
        transparent 5px,
        transparent 7px,
        var(--color-border) 7px, 
        var(--color-border) 8px, 
        transparent 8px
    );
    cursor: col-resize;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    user-select: none;
    align-self: stretch;
    min-height: 100%;
}

.resize-separator:hover {
    background: linear-gradient(to right, 
        rgba(0, 120, 212, 0.15) 0px, 
        rgba(0, 120, 212, 0.15) 3px, 
        #0078d4 3px, 
        #0078d4 5px, 
        rgba(0, 120, 212, 0.15) 5px,
        rgba(0, 120, 212, 0.15) 7px,
        #0078d4 7px, 
        #0078d4 9px, 
        rgba(0, 120, 212, 0.15) 9px
    );
    transform: scaleX(1.2);
}

.resize-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 60px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    opacity: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.resize-separator::after {
    content: '⋮⋮⋮';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1;
    letter-spacing: 2px;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
    font-weight: bold;
}

.resize-separator:hover::before,
.resize-separator:hover::after {
    opacity: 1;
}

.resize-separator.dragging {
    background: linear-gradient(to right, 
        rgba(0, 120, 212, 0.25) 0px, 
        rgba(0, 120, 212, 0.25) 3px, 
        #0078d4 3px, 
        #0078d4 5px, 
        rgba(0, 120, 212, 0.25) 5px,
        rgba(0, 120, 212, 0.25) 7px,
        #0078d4 7px, 
        #0078d4 9px, 
        rgba(0, 120, 212, 0.25) 9px
    );
    transform: scaleX(1.3);
}

.resize-separator.dragging::before,
.resize-separator.dragging::after {
    opacity: 1;
}

.resize-separator.dragging::before {
    background: #e3f2fd;
    border-color: #0078d4;
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.3);
}

/* Tables */
table {
    background-color: var(--color-surface);
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.table_header {
    font-weight: 700;
}

th {
    text-align: left;
    padding: 12px 15px;
    font-weight: 400;
    background: var(--color-background);
}

td {
    padding: 10px 15px;
    border-bottom: 1px solid var(--color-border);
}

tr:nth-child(even) {
    background-color: hsl(240, 50%, 99%);
}

tr:hover {
    background-color: hsl(240, 50%, 96%);
    cursor: pointer;
}

.editable-table {
    border-collapse: collapse;
    width: 100%;
    user-select: none;
    /* position: relative; */
}

.editable-cell {
    border: 1px solid #ddd;
    padding: 9px 13px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.1s ease;
}

.editable-cell:hover {
    background-color: #f0f8ff;
}

.editable-cell.selected {
    border: 2px solid #0078d4 !important;
}

.editable-cell:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: -2px;
}

.table-content {
    position: relative;
    overflow: auto;
    /* max-height: 500px; */
}

.table-content:focus-within .editable-table {
    outline: none;
}

.cell-editor {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-family: inherit;
    font-size: inherit;
    background: white;
    box-sizing: border-box;
}

.editable-table .editable-cell::selection {
    background: transparent;
}

.editable-table * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.editable-cell.selected::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 120, 212, 0.2);
    pointer-events: none;
}

.table-card {
    background: var(--color-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    position: relative;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
}

.table-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.table-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.2px;
}

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

.secondary-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 8px;
    padding-right: 8px;
    border-right: 1px solid var(--color-border);
}

.download-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.download-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-btn {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
}

.action-btn:hover {
    background: var(--color-background);
    color: var(--color-text-primary);
    opacity: 1;
    transform: translateY(-1px);
}

.copy-btn {
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.3);
}

.copy-btn:hover {
    background: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
}

.copy-btn.copying {
    animation: copyPulseSmall 0.4s ease-out;
}

.copy-table-btn {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copy-table-btn:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copy-table-btn.copying {
    animation: copyPulseSmall 0.4s ease-out;
}

.cut-btn {
    color: #fd7e14;
    border-color: rgba(253, 126, 20, 0.3);
}

.cut-btn:hover {
    background: rgba(253, 126, 20, 0.1);
    border-color: #fd7e14;
}

.cut-btn.cutting {
    animation: copyPulseSmall 0.4s ease-out;
}

.paste-btn {
    color: #6f42c1;
    border-color: rgba(111, 66, 193, 0.3);
}

.paste-btn:hover {
    background: rgba(111, 66, 193, 0.1);
    border-color: #6f42c1;
}

.selection-btn {
    color: #0078d4;
    border-color: rgba(0, 120, 212, 0.3);
}

.selection-btn:hover {
    background: rgba(0, 120, 212, 0.1);
    border-color: #0078d4;
}

.fullscreen-btn {
    font-size: 14px;
    padding: 6px 8px;
}

.close-btn {
    background: rgba(214, 51, 132, 0.1);
    color: #d63384;
    border-color: rgba(214, 51, 132, 0.3);
    font-size: 14px;
    padding: 6px 8px;
}

.close-btn:hover {
    background: rgba(214, 51, 132, 0.2);
    border-color: #d63384;
}

.cut-cell {
    background-color: #ffebee !important;
    border: 2px dashed #f44336 !important;
    opacity: 0.6;
}

.pasted-cell {
    background-color: #e8f5e8 !important;
    animation: pasteFlash 0.5s ease-out;
}

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.table-card.fullscreen {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 10000;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    max-width: none;
    max-height: none;
}

.table-card.fullscreen .table-content {
    flex: 1;
    max-height: none;
    overflow: auto;
}

.table-card.fullscreen .table-header {
    padding: 20px 24px;
    border-bottom: 2px solid var(--color-border);
}

.table-card.fullscreen .table-header h3 {
    font-size: 20px;
}

/* Documents Section */
.documents-section {
    background: var(--color-surface);
    padding: 60px 24px;
    border-top: 1px solid var(--color-border);
}

.documents-container {
    max-width: 1000px;
    margin: 0 auto;
}

.documents-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.4px;
    text-align: center;
}

.documents-description {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
    text-align: center;
}

.status {
    font-size: 0.8rem;
    background-color: var(--color-surface);
    padding: 3px 6px;
    border-radius: 12px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--color-text-secondary);
    font-weight: 500;
    text-align: center;
}

.status-uploaded {
    border-color: var(--color-warning);
    color: var(--color-accent-dark);
    background-color: hsl(30, 60%, 95%);
}

.status-imported {
    border-color: var(--color-success);
    color: hsl(120, 60%, 35%);
    background-color: hsl(120, 60%, 95%);
}

.empty-documents {
    text-align: center;
    padding: 60px 20px;
}

.empty-documents h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.empty-documents p {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

/* Pricing Section */
.pricing-section {
    background: var(--color-surface);
    padding: 80px 24px;
    border-top: 1px solid var(--color-border);
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing-header {
    margin-bottom: 60px;
}

.pricing-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    padding: 32px 20px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-width: 0;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--color-secondary);
}

.pricing-card.featured {
    border-color: var(--color-secondary);
    background: linear-gradient(135deg,
            hsl(240, 60%, 99%) 0%,
            hsl(220, 50%, 97%) 100%);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card.current-plan {
    border-color: var(--color-success);
    background: linear-gradient(135deg,
            hsl(120, 60%, 99%) 0%,
            hsl(120, 50%, 97%) 100%);
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.pricing-card.current-plan:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

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

.current-badge {
    background: var(--color-success) !important;
    color: white;
}

.plan-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.plan-name {
    font-size: 24px;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: -0.2px;
}

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

.currency {
    font-size: 20px;
    color: var(--color-secondary);
    font-weight: 600;
}

.amount {
    font-size: 48px;
    color: var(--color-text-primary);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.4px;
}

.period {
    font-size: 16px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.plan-features {
    margin-bottom: 32px;
    text-align: left;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--color-text-primary);
}

.feature-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.plan-action {
    margin-top: auto;
}

.plan-button {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: capitalize;
    letter-spacing: -0.2px;
}

.free-button {
    background: var(--color-background);
    color: var(--color-text-primary);
    border: 2px solid var(--color-border);
}

.free-button:hover {
    background: var(--color-tertiary-light);
    border-color: var(--color-tertiary);
    color: var(--color-tertiary-dark);
    transform: translateY(-2px);
}

.guest-button {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    color: white;
    border: 2px solid var(--color-accent);
}

.guest-button:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.plan-button:not(.free-button):not(.guest-button) {
    background: var(--color-secondary);
    color: white;
    border: 2px solid var(--color-secondary);
}

.plan-button:not(.free-button):not(.guest-button):hover {
    background: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.featured-button {
    background: var(--gradient-brand) !important;
    border: 2px solid transparent !important;
    position: relative;
    overflow: hidden;
}

.featured-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.featured-button:hover::before {
    left: 100%;
}

.current-button {
    background: var(--color-success) !important;
    color: white !important;
    border: 2px solid var(--color-success) !important;
    opacity: 0.8;
}

.current-button:hover {
    transform: none !important;
    box-shadow: none !important;
}

.pricing-footer {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.pricing-footer p {
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

/* Account Section */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info .credits-display {
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-info .credits-display:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tier-display {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--gradient-professional);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tier-display:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.tier-icon {
    font-size: 16px;
}

.tier-name {
    font-weight: 700;
    font-size: 14px;
    text-transform: capitalize;
}

.credits-display {
    display: flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.credits-display:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.credits-icon {
    font-size: 16px;
}

.credits-count {
    font-weight: 700;
    font-size: 16px;
}

.credits-label {
    font-size: 12px;
    opacity: 0.9;
}

.user-name {
    color: var(--color-text-primary);
    font-weight: 500;
    margin: 0px 24px;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.user-name:hover {
    color: var(--color-secondary-light);
    transform: scale(1.05);
}

.user-name:active {
    transform: scale(0.95);
}

.logout {
    color: var(--color-text-secondary);
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logout:hover {
    color: var(--color-primary);
    background-color: hsl(0, 60%, 95%);
    transform: scale(1.1);
}

.logout:active {
    transform: scale(0.95);
}

.guest-info {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 3px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.guest-info:hover {
    background: rgba(255, 255, 255, 0.1);
}

.guest-info .credits-display {
    background: linear-gradient(135deg, var(--color-tertiary-light) 0%, var(--color-tertiary) 100%);
}

.signin-link {
    color: var(--color-primary);
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.signin-link:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-1px);
}

/* Footer Section */
.footer-section {
    background: var(--color-text-primary);
    color: white;
    padding: 60px 24px 20px;
    border-top: 1px solid var(--color-border);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.footer-brand p {
    color: #bbb;
    line-height: 1.6;
    font-size: 16px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 16px;
    color: white;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.2px;
}

.footer-column a {
    display: block;
    color: #bbb;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-column a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.15);
    }
}

@keyframes pasteFlash {
    0% { background-color: #4caf50 !important; }
    100% { background-color: #e8f5e8 !important; }
}

@keyframes copyPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); background: #20c997; }
    100% { transform: scale(1); }
}

@keyframes copyPulseSmall {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .images-section {
        position: static;
        max-height: none;
        order: 2;
        flex: none;
        padding-right: 0;
    }

    .tables-section {
        order: 1;
        padding-left: 0;
    }

    .resize-separator {
        display: none;
    }
}

.show_mobile{
    display: none;
}

@media (max-width: 768px) {
    #hero{
        padding-top: 180px;
    }

    .hero-content h1 {
        font-size: 36px;
        line-height: 1.1;
    }

    .subheadline {
        font-size: 20px;
    }

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

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

    #menus {
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
    }

    #menus>div {
        font-size: 16px;
        padding: 8px 16px;
    }

    #account {
        order: 1;
    }

    .hero-section {
        padding: 80px 15px 60px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .upload-section,
    .proof-section,
    .results-section,
    .documents-section,
    .pricing-section {
        padding: 60px 15px;
    }

    .upload-header h2,
    .proof-section h2,
    .results-header h2,
    .documents-header h2,
    .pricing-header h2 {
        font-size: 32px;
    }

    .pain-section h3,
    .how-it-works h3 {
        font-size: 24px;
    }

    .upload-label {
        padding: 32px 16px;
    }

    .upload-icon {
        font-size: 3rem;
    }

    .upload-text h3 {
        font-size: 18px;
    }

    .upload-text p {
        font-size: 14px;
    }

    .upload-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card {
        padding: 24px 16px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .plan-price .amount {
        font-size: 36px;
    }

    .plan-button {
        padding: 14px 20px;
        font-size: 14px;
    }

    .user-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .hide_mobile{
        display: none !important;
    }

    .show_mobile{
        display: block !important;
    }

    .tier-display,
    .credits-display {
        font-size: 12px;
        padding: 4px 10px;
    }

    .credits-count {
        font-size: 14px;
    }

    .credits-label {
        font-size: 10px;
    }

    .user-name {
        font-size: 16px;
        margin: 0px 12px;
    }

    .guest-info {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        padding: 12px 16px;
    }

    .signin-link {
        padding: 10px 20px;
        text-align: center;
    }

    .table-header {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
    }

    th, td {
        padding: 8px 10px;
        font-size: 14px;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .progress-container {
        padding: 24px 16px;
    }

    .progress-wrapper {
        padding: 24px 16px;
    }

    .steps-container {
        flex-wrap: wrap;
        gap: 16px;
    }

    .step {
        flex: 0 0 calc(50% - 8px);
    }

    .connecting-line {
        display: none;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step-label {
        font-size: 12px;
        max-width: 60px;
    }

    .progress-header h2 {
        font-size: 24px;
    }

    .progress-subtitle {
        font-size: 16px;
    }

    .progress-text {
        font-size: 16px;
    }

    .error-section {
        padding: 30px 15px;
    }

    .error-content {
        padding: 24px 16px;
    }

    .error-icon {
        font-size: 2.5rem;
    }

    .error-content h3 {
        font-size: 20px;
    }

    .error-content p {
        font-size: 14px;
    }

    .table-card.fullscreen {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .table-actions {
        gap: 8px;
    }
    
    .secondary-actions {
        gap: 2px;
        margin-left: 4px;
        padding-left: 4px;
    }
    
    .action-btn {
        padding: 4px 6px;
        font-size: 11px;
    }
    
    .download-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .copy-table-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .subheadline {
        font-size: 18px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .cta-button-primary {
        padding: 16px 24px;
        font-size: 18px;
    }

    .guest-info {
        gap: 12px;
        padding: 8px 12px;
    }

    .signin-link {
        padding: 8px 16px;
        font-size: 14px;
    }

    .plan-price .amount {
        font-size: 32px;
    }
}

.action-btn-table {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
}

.action-btn-table:hover {
    background: var(--color-background);
    color: var(--color-text-primary);
    opacity: 1;
    transform: translateY(-1px);
}

/* Tables Header Row - for the new layout */
.tables-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.tables-header-row h2 {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* Download All Tables Button */
.download-all-btn {
    background: linear-gradient(135deg, var(--color-tertiary-light) 0%, var(--color-tertiary) 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.download-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.download-all-btn:hover {
    background: linear-gradient(135deg, var(--color-tertiary) 0%, var(--color-tertiary-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.download-all-btn:hover::before {
    left: 100%;
}

.download-all-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness for the new button */
@media (max-width: 768px) {
    .tables-header-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }
    
    .download-all-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .tables-header-row h2 {
        font-size: 20px;
    }
    
    .download-all-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}