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

/* Accessibility - Screen reader only content */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

:root {
    /* Color Palette - Light Mode (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f8;
    --bg-tertiary: #ececf1;
    --text-primary: #343541;
    --text-secondary: #565869;
    --text-muted: #8e8ea0;
    --border-color: #e5e5e5;
    --primary-color: #10a37f;
    --accent-color: #10a37f;
    --accent-hover: #0d8a6b;
    --error-color: #ef4444;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    
    /* Pricing Tier Colors */
    --instant-color: #3b82f6;
    --standard-color: #10a37f;
    --pro-color: #8b5cf6;
    --enterprise-color: #f59e0b;
    
    /* Sidebar */
    --sidebar-width: 260px;
    --sidebar-bg: #f7f7f8;
    --sidebar-hover: #ececf1;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition: all 0.2s ease;
}

/* Light Mode Variables (explicit override) */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f8;
    --bg-tertiary: #ececf1;
    --text-primary: #343541;
    --text-secondary: #565869;
    --text-muted: #8e8ea0;
    --border-color: #e5e5e5;
    --sidebar-bg: #f7f7f8;
    --sidebar-hover: #ececf1;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: #212121;
    --bg-secondary: #2f2f2f;
    --bg-tertiary: #404040;
    --text-primary: #ececf1;
    --text-secondary: #c5c5d2;
    --text-muted: #8e8ea0;
    --border-color: #4d4d4f;
    --sidebar-bg: #2f2f2f;
    --sidebar-hover: #404040;
}

/* Dark Mode - Hero Title (Green Gradient) */
[data-theme="dark"] .hero-title {
    background: linear-gradient(135deg, #10a37f, #0d8a6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark Mode - All Primary Buttons (Green) */
[data-theme="dark"] .btn-primary {
    background-color: var(--primary-color) !important;
    color: white !important;
}

[data-theme="dark"] .btn-primary:hover {
    background-color: var(--accent-hover) !important;
}

/* Dark Mode - Process Arrows (Green) */
[data-theme="dark"] .process-arrow {
    color: var(--primary-color);
}

/* Dark Mode - Director Links (Green) */
[data-theme="dark"] .director-cta {
    color: var(--primary-color);
}

[data-theme="dark"] .director-cta:hover {
    color: var(--accent-hover);
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* App Container */
.app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Mobile Header */
.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: var(--transition);
    color: var(--text-primary);
}

.mobile-menu-btn:hover {
    background-color: var(--bg-tertiary);
}

.hamburger::before {
    content: '☰';
    font-size: 1.25rem;
}

.mobile-logo {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.mobile-logo-image {
    height: 28px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.logo-icon-collapsed {
    height: 32px;
    width: 32px;
    object-fit: contain;
    display: none;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.collapse-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: var(--transition);
}

.collapse-btn:hover {
    background-color: var(--sidebar-hover);
    color: var(--text-primary);
}

/* Navigation */
.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin: 0.125rem 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: 0.5rem;
    transition: var(--transition);
    font-weight: 500;
}

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

.nav-item.active {
    background-color: var(--accent-color);
    color: white;
}

.nav-item.active:hover {
    background-color: var(--accent-hover);
}

.nav-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
}

.nav-item.active .nav-icon svg {
    stroke: var(--accent-color);
}

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

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Drive Connection Section */
.drive-connection-section {
    margin-bottom: 1rem;
}

.drive-connection-section .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.drive-connection-section .btn.connected {
    background: linear-gradient(135deg, #34a853 0%, #0f9d58 100%);
    border-color: #34a853;
}

.drive-status {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    background: rgba(52, 168, 83, 0.1);
}

.drive-status-connected {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--text-primary);
}

.drive-status-connected .status-icon {
    color: #34a853;
    font-weight: bold;
}

.drive-status-connected .status-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.disconnect-link {
    margin-top: 0.25rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

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

/* Google Drive Privacy Notice */
.drive-privacy-notice {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(52, 168, 83, 0.08);
    border: 1px solid rgba(52, 168, 83, 0.2);
    border-radius: 0.5rem;
    font-size: 0.75rem;
}

.privacy-notice-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.privacy-icon {
    font-size: 1rem;
    color: #34a853;
}

.privacy-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.privacy-notice-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.privacy-notice-text {
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.privacy-notice-text strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

/* Media Files Notice (Info style - appears after Continue to Pricing button) */
.media-files-notice {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.08); /* Blue info color with opacity for dark mode */
    border-left: 3px solid rgba(59, 130, 246, 0.4);
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.media-files-notice-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.media-files-notice-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: #3b82f6; /* Blue info color */
    margin-top: 0.125rem;
}

.media-files-notice strong {
    color: var(--text-primary);
}

.media-files-notice a {
    color: var(--primary-color);
    text-decoration: underline;
}

.media-files-notice a:hover {
    color: var(--accent-hover);
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.privacy-list li {
    color: var(--text-secondary);
    font-size: 0.7rem;
    padding-left: 0;
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.theme-toggle:hover {
    background-color: var(--sidebar-hover);
    color: var(--text-primary);
}

.theme-icon {
    width: 1.125rem;
    height: 1.125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
}

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

/* Language Selector */
.language-selector {
    position: relative;
    margin-bottom: 1rem;
}

.language-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.language-toggle:hover {
    background-color: var(--sidebar-hover);
    color: var(--text-primary);
}

.language-flag {
    font-size: 1rem;
}

.language-text {
    font-size: 0.875rem;
    flex: 1;
    text-align: left;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.language-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: all 0.2s ease;
    z-index: 1000;
    margin-bottom: 0.5rem;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
    border-radius: 0.375rem;
    margin: 0.25rem;
}

.language-option:hover {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.language-option.active {
    background-color: var(--accent-color);
    color: white;
}

.language-option .flag {
    font-size: 1rem;
}

.language-toggle.open .dropdown-arrow {
    transform: rotate(180deg);
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.legal-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 0.25rem 0;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--text-secondary);
}

.version {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    background-color: var(--bg-primary);
    transition: var(--transition);
    overflow-x: hidden;
}

/* Pages */
.page {
    display: none;
    padding: 1.5rem;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

.page.active {
    display: block;
}

/* Problem Section */
.problem-section {
    margin-bottom: 3rem;
}

.problem-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.problem-card h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.problem-quote {
    margin-bottom: 2rem;
}

.problem-quote h4 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.problem-quote blockquote {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.comparison-item {
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.problem-item {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.solution-item {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.comparison-item h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.problem-item h4 {
    color: var(--error-color);
}

.solution-item h4 {
    color: var(--success-color);
}

.comparison-item ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.comparison-item li {
    margin-bottom: 0.5rem;
}

.cta-highlight {
    text-align: center;
    padding: 1.25rem;
    background: var(--bg-tertiary);
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

.cta-highlight p {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
}

/* Section Subtitles */
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Limitations Section */
.limitations-section {
    margin-bottom: 3rem;
}

.limitations-section h2 {
    text-align: center;
    color: var(--warning-color);
    margin-bottom: 2rem;
}

.limitations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.limitation-card {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid rgba(245, 101, 101, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
}

.limitation-card h4 {
    color: var(--warning-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.limitation-card ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.limitation-card li {
    margin-bottom: 0.5rem;
}

/* Advantages Section */
.advantages-section {
    margin-bottom: 3rem;
}

.advantages-section h2 {
    text-align: center;
    color: var(--success-color);
    margin-bottom: 2rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.advantage-card {
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid transparent;
}

.advantage-card.complete {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.advantage-card.optimized {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.advantage-card.professional {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.advantage-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.advantage-card.complete h4 {
    color: var(--success-color);
}

.advantage-card.optimized h4 {
    color: var(--instant-color);
}

.advantage-card.professional h4 {
    color: var(--pro-color);
}

.advantage-card ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.advantage-card li {
    margin-bottom: 0.5rem;
}

.advantage-card strong {
    color: var(--text-primary);
}

/* Bottom Line Section */
.bottom-line {
    margin-bottom: 3rem;
}

.bottom-line-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 163, 127, 0.1));
    border: 1px solid var(--success-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.bottom-line-card h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.bottom-line-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.final-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-side h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.comparison-side p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.comparison-side.highlight {
    padding: 1rem;
    background: rgba(16, 163, 127, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(16, 163, 127, 0.2);
}

.comparison-side.highlight h4 {
    color: var(--accent-color);
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Hero Section */
.hero-section {
    text-align: left;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-color), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0;
}

/* Conversion Interface */
.conversion-interface {
    max-width: 100%;
    margin: 0;
}

/* Upload Section */
.upload-section {
    margin-bottom: 1rem;
}

.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: var(--bg-secondary);
}

.upload-zone:hover, .upload-zone.drag-over {
    border-color: var(--accent-color);
    background-color: var(--bg-secondary);
}

.upload-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.upload-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
    stroke-width: 1.5;
}

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

.upload-zone p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Analysis Section */
.analysis-section {
    margin-bottom: 1rem;
}

.analysis-card {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.analysis-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--success-color);
}

/* Analysis Progress Bar */
.analysis-progress-container {
    margin-bottom: 1rem;
}

.analysis-progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.analysis-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.analysis-progress-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--bg-primary);
    border-radius: 0.5rem;
}

.metric .label {
    color: var(--text-secondary);
    font-weight: 500;
}

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

.tier-badge {
    background-color: var(--standard-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Pricing Section */
.pricing-section {
    margin-bottom: 1rem;
}

.pricing-card {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--standard-color);
    position: relative;
}

.pricing-card .tier-badge {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--standard-color);
}

.price-display {
    text-align: center;
    margin: 1rem 0;
}

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

/* Launch pricing styles */
.launch-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.original-price {
    font-size: 1.5rem;
    font-weight: 500;
    color: #888;
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 2px;
}

.discount-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: pulse-glow 2s infinite;
}

.launch-savings {
    margin-top: 0.5rem;
}

.savings-text {
    color: #22c55e;
    font-weight: 600;
    font-size: 1.1rem;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5);
    }
}

/* Launch Pricing Cards */
.launch-pricing-section {
    --price-muted: #9CA3AF;
    --price-accent: #E5E7EB;
    --price-positive: #10B981;
    --badge-instant: #3B82F6;
    --badge-standard: #10a37f;
    --badge-pro: #8b5cf6;
}

.launch-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .launch-pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
}

.launch-pricing-card {
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.launch-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.launch-pricing-card-highlight {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.launch-pricing-card-highlight::before {
    content: "MOST POPULAR";
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tier Badges */
.tier-badge {
    align-self: flex-start;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
}

.tier-badge-instant {
    background: var(--badge-instant);
}

.tier-badge-standard {
    background: var(--badge-standard);
}

.tier-badge-pro {
    background: var(--badge-pro);
}

/* Incremental Processing Banner */
.incremental-banner {
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.1) 0%, rgba(52, 168, 83, 0.05) 100%);
    border: 2px solid rgba(52, 168, 83, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.incremental-badge {
    display: inline-block;
    background: linear-gradient(135deg, #34a853 0%, #0f9d58 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.incremental-summary {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.incremental-savings {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.incremental-savings s {
    color: var(--text-secondary);
    opacity: 0.7;
}

.incremental-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.incremental-details span {
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.375rem;
}

.incremental-details .savings-badge {
    background: linear-gradient(135deg, #34a853 0%, #0f9d58 100%);
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 0.5rem;
    font-weight: 600;
}

/* Price Display */
.price-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.original-price {
    font-size: 1rem;
    color: var(--price-muted);
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 2px;
}

.launch-price {
    font-weight: 600;
    font-size: 3rem;
    line-height: 1;
    color: var(--price-accent);
    font-feature-settings: 'tnum';
}

.launch-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 0.25rem;
}

.launch-price .amount {
    font-size: 3rem;
}

.launch-price .cents {
    font-size: 3rem;
}

@media (min-width: 768px) {
    .launch-price {
        font-size: 4rem;
    }
    
    .launch-price .currency {
        font-size: 2rem;
    }
    
    .launch-price .amount,
    .launch-price .cents {
        font-size: 4rem;
    }
}

.discount-info {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--price-positive);
    opacity: 0.9;
}

.tier-tagline {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
    color: var(--text-secondary);
}

.coming-soon-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--price-muted);
    font-style: italic;
}

/* Tier Specifications */
.tier-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tier-spec {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
}

.tier-spec strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.feature-list li::before {
    content: "✔️";
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Card Divider */
.card-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.75rem 0;
}

/* Value Notes */
.value-notes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.value-note {
    font-size: 0.875rem;
    opacity: 0.9;
    color: var(--text-secondary);
}

/* CTA Button */
.cta-button {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cta-button:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.cta-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cta-button-disabled:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.price-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.processing-info {
    background-color: var(--bg-tertiary);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.processing-info strong {
    color: var(--text-primary);
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

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

.value-comparison {
    background-color: var(--bg-primary);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.value-highlight {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.savings-info div {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.your-price {
    font-size: 1.125rem;
    color: var(--accent-color) !important;
    font-weight: 600;
}

/* Processing Section */
.processing-section {
    margin-bottom: 2rem;
}

.processing-card {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.processing-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

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

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: var(--bg-tertiary);
    border-radius: 9999px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 9999px;
    transition: width 0.3s ease;
    width: 0%;
}

.processing-status {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Download Section */
.download-section {
    margin-bottom: 1rem;
}

.success-card {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.download-options {
    margin: 1.25rem 0;
}

.format-downloads {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.import-instructions {
    margin-top: 2rem;
    text-align: left;
}

.instruction-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.tab-content {
    padding: 1rem 0;
    color: var(--text-secondary);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

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

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

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

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

/* How It Works Page */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.75rem;
    height: 1.75rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Pricing Page Styles */
.pricing-tiers {
    margin-bottom: 4rem;
}

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

.pricing-tier {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.pricing-tier.popular {
    border-color: var(--standard-color);
    box-shadow: 0 0 0 1px var(--standard-color);
}

.popular-badge {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--standard-color), #0d8a6b);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tier-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: white;
}

.tier-badge.instant {
    background-color: var(--instant-color);
}

.tier-badge.standard {
    background-color: var(--standard-color);
}

.tier-badge.pro {
    background-color: var(--pro-color);
}

.tier-badge.enterprise {
    background-color: var(--enterprise-color);
}

.tier-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tier-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.tier-details {
    margin-bottom: 1.5rem;
}

.tier-spec {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.tier-spec:last-child {
    border-bottom: none;
}

.tier-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tier-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.tier-value {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

.value-stat {
    padding: 0.25rem 0;
    font-size: 0.875rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Pricing FAQ */
.pricing-faq {
    margin-bottom: 4rem;
}

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

.faq-item {
    background-color: var(--bg-secondary);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Why Choose Us Page */
.value-props {
    margin-bottom: 4rem;
}

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

.value-card {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

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

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

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.value-card .value-stat {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Comparison Table */
.comparison {
    margin-bottom: 4rem;
}

.comparison-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-secondary);
    border-radius: 0.5rem;
    overflow: hidden;
}

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

.comparison-table th {
    background-color: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table tbody tr:hover {
    background-color: var(--bg-tertiary);
}

/* Testimonials */
.testimonials {
    margin-bottom: 4rem;
}

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

.testimonial-card {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
}

.testimonial-content {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.125rem;
}

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

/* Support Page */
.support-options {
    margin-bottom: 4rem;
}

.support-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-card {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.support-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.support-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.support-card-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.support-card-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.support-card-links a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Support Form Section */
.support-form-section {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

.support-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.support-form-container h2 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.support-form-intro {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* HubSpot Form Styling */
.hs-form-frame,
.hbspt-form {
    text-align: left;
    margin-top: 2rem;
}

.hs-form-frame fieldset,
.hbspt-form fieldset {
    max-width: 100% !important;
    margin-bottom: 0 !important;
}

.hs-form-frame .hs-form-field,
.hbspt-form .hs-form-field {
    margin-bottom: 1.5rem;
}

.hs-form-frame label,
.hbspt-form label {
    display: block;
    font-weight: 600;
    color: var(--text-primary) !important;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.hs-form-frame input[type="text"],
.hs-form-frame input[type="email"],
.hs-form-frame input[type="tel"],
.hs-form-frame textarea,
.hbspt-form input[type="text"],
.hbspt-form input[type="email"],
.hbspt-form input[type="tel"],
.hbspt-form textarea {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 0.5rem !important;
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    transition: var(--transition) !important;
}

.hs-form-frame input:focus,
.hs-form-frame textarea:focus,
.hbspt-form input:focus,
.hbspt-form textarea:focus {
    outline: none !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(16, 163, 127, 0.1) !important;
}

.hs-form-frame textarea,
.hbspt-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.hs-form-frame .hs-submit,
.hbspt-form .hs-submit {
    text-align: center !important;
    margin-top: 1rem !important;
}

.hs-form-frame .hs-button,
.hs-form-frame input[type="submit"],
.hbspt-form .hs-button,
.hbspt-form input[type="submit"] {
    background-color: var(--accent-color) !important;
    color: white !important;
    padding: 0.75rem 2rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    transition: var(--transition) !important;
    width: auto !important;
}

.hs-form-frame .hs-button:hover,
.hs-form-frame input[type="submit"]:hover,
.hbspt-form .hs-button:hover,
.hbspt-form input[type="submit"]:hover {
    background-color: var(--accent-hover) !important;
    transform: translateY(-2px) !important;
}

.hs-form-frame .hs-error-msgs,
.hbspt-form .hs-error-msgs {
    list-style: none !important;
    padding: 0 !important;
    margin-top: 0.5rem !important;
}

.hs-form-frame .hs-error-msg,
.hbspt-form .hs-error-msg {
    color: #dc3545 !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
}

/* Common Issues Section */
.common-issues-section {
    margin-bottom: 4rem;
}

.common-issues-section h2 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.issue-card {
    background-color: var(--bg-secondary);
    border-radius: 0.5rem;
    padding: 1.5rem;
    border-left: 3px solid var(--accent-color);
    transition: var(--transition);
}

.issue-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.issue-card h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.issue-card h3 .icon {
    font-style: normal;
    font-size: 1.25rem;
}

.issue-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Response Time Section */
.response-time-section {
    margin-bottom: 4rem;
}

.response-time-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-md);
}

.response-time-card i[data-lucide] {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: inline-block;
}

.response-time-card h2 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.response-time-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .support-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .issues-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .support-form-section {
        padding: 2rem 1.5rem;
    }

    .response-time-card {
        padding: 2rem 1.5rem;
    }

    .support-card {
        padding: 1.5rem;
    }
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-section,
.privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.terms-section:last-child,
.privacy-section:last-child {
    border-bottom: none;
}

.legal-content h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content ul {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-content strong {
    color: var(--text-primary);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.desktop-only {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-header {
        display: flex;
    }
    
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 60px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .page {
        padding: 1rem;
    }
    
    /* Hero wrapper mobile - stack vertically */
    .hero-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-content,
    .hero-upload {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .hero-upload {
        position: static;
    }

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

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Ensure full width usage */
    .hero-content,
    .hero-upload {
        width: 100%;
    }

    /* Center all hero text elements */
    .hero-title,
    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Center hero features container */
    .hero-features {
        align-items: center;
        width: 100%;
    }

    /* Center individual feature items and their content */
    .hero-feature-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        max-width: 100%;
        width: 100%;
    }

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

    /* Ensure upload paths are centered */
    .upload-path {
        width: 100%;
    }

    /* Center process flow */
    .process-flow {
        justify-content: center;
    }

    .upload-zone {
        padding: 1.5rem 1rem;
    }
    
    .analysis-details {
        grid-template-columns: 1fr;
    }
    
    .format-downloads {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Hero section for extra small mobile */
    .hero-wrapper {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
        padding: 0;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .hero-feature-item {
        padding: 0.875rem;
    }

    .upload-path {
        padding: 1.5rem 1rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .launch-pricing {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .original-price {
        font-size: 1.2rem;
    }
    
    .discount-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .format-downloads .btn-secondary {
        width: 100%;
    }
}

/* Sidebar Animation */
.sidebar.collapsed {
    width: 4rem;
}

.sidebar.collapsed .logo-image,
.sidebar.collapsed .logo-text,
.sidebar.collapsed .nav-text,
.sidebar.collapsed .theme-text,
.sidebar.collapsed .language-selector,
.sidebar.collapsed .legal-links,
.sidebar.collapsed .version {
    display: none;
}

.sidebar.collapsed .logo-icon-collapsed {
    display: block;
}

.sidebar.collapsed .logo {
    justify-content: center;
}

.sidebar.collapsed .nav-item {
    justify-content: center;
}

.sidebar.collapsed ~ .main-content {
    margin-left: 4rem;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
button:focus-visible,
input:focus-visible,
.nav-item:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .sidebar,
    .mobile-header {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* Enhanced Analysis Display */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.metric-group {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem;
}

.metric-group h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.metric:last-child {
    border-bottom: none;
}

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

.metric .value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Format Selection */
.format-selection {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.format-selection h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.selection-note {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

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

.format-option {
    position: relative;
    cursor: pointer;
}

.format-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.format-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.format-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.format-option input[type="checkbox"]:checked + .format-card {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
}

.format-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.format-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.format-desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Responsive adjustments for enhanced analysis */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .format-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .format-card {
        padding: 0.75rem;
        min-height: 100px;
    }
    
    .format-icon {
        font-size: 1.5rem;
    }
}

/* Analysis Actions */
.analysis-actions {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.analysis-actions .btn-primary {
    min-width: 200px;
    font-size: 1rem;
    padding: 12px 24px;
}

/* Feature Comparison Table */
.comparison-section {
    margin: 3rem 0;
}

.comparison-table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.feature-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    font-size: 0.9rem;
}

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

.feature-comparison-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.feature-comparison-table .highlight-column {
    background: rgba(16, 163, 127, 0.1);
    border-left: 3px solid var(--accent-color);
    border-right: 3px solid var(--accent-color);
}

.feature-comparison-table tbody tr:hover {
    background: var(--bg-tertiary);
    transition: background-color 0.2s ease;
}

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

/* Feature status indicators */
.feature-yes {
    color: var(--success-color);
    font-weight: 500;
}

.feature-no {
    color: var(--error-color);
    font-weight: 500;
}

.feature-partial {
    color: var(--warning-color);
    font-weight: 500;
}

/* Highlight ChatConverter column */
.highlight-column {
    position: relative;
}

.highlight-column::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-color);
}

/* Comparison summary */
.comparison-summary {
    margin-top: 2rem;
}

.summary-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.summary-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.summary-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.value-highlight {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.savings-badge,
.time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 163, 127, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(16, 163, 127, 0.2);
}

/* Responsive design for comparison table */
@media (max-width: 768px) {
    .comparison-table-container {
        margin: 1rem -1rem;
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
    
    .feature-comparison-table {
        font-size: 0.8rem;
    }
    
    .feature-comparison-table th,
    .feature-comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .feature-comparison-table th {
        font-size: 0.75rem;
    }
    
    .summary-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .value-highlight {
        flex-direction: column;
        align-items: center;
    }
}

/* Extra responsive - very small screens */
@media (max-width: 480px) {
    .feature-comparison-table th,
    .feature-comparison-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }
    
    .savings-badge,
    .time-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* RFQ Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-large {
    max-width: 900px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* RFQ Form Styles */
.rfq-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(16, 163, 127, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.form-actions .btn-secondary,
.form-actions .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* RFQ Link Styling */
.rfq-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.rfq-link:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent-hover);
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0.5rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn-secondary,
    .form-actions .btn-primary {
        width: 100%;
        text-align: center;
    }

    /* Hero mobile overrides (must come after desktop hero CSS) */
    .hero-wrapper {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .hero-content,
    .hero-upload {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .hero-upload {
        position: static;
    }

    .hero-section {
        text-align: center !important;
    }

    .hero-title {
        font-size: 1.75rem !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-features {
        align-items: center !important;
        width: 100% !important;
    }

    .hero-feature-item {
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .feature-text {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .upload-path {
        width: 100% !important;
    }

    .process-flow {
        justify-content: center !important;
    }
}

/* Updated Hero Section Styles */
/* Hero Wrapper - Side-by-side layout */
.hero-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.hero-content {
    flex: 1 1 55%;
    max-width: 55%;
}

.hero-upload {
    flex: 1 1 45%;
    max-width: 45%;
    position: sticky;
    top: 2rem;
}

.hero-section {
    text-align: left;
    padding: 0;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.hero-feature-item:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.feature-icon {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    text-align: left;
}

.feature-text strong {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.feature-text span {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Hero Features Responsive */
@media (min-width: 768px) {
    .hero-feature-item:hover {
        transform: translateY(-4px);
    }
}

.hero-cta {
    margin-bottom: 3rem;
}

.hero-cta-btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    min-width: 280px;
    font-weight: 600;
}

/* Process Flow Styles */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

/* Process flow in upload zone - smaller and more compact */
.upload-zone .process-flow {
    margin: 1rem 0;
    gap: 1rem;
}

.upload-zone .process-flow .step-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.upload-zone .process-flow .step-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--text-secondary);
    stroke-width: 2;
}

.upload-zone .process-flow .step-text {
    font-size: 0.75rem;
}

.upload-zone .process-flow .process-arrow {
    font-size: 1rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
}

.step-icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.step-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.process-arrow {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Director Sections */
.director-sections {
    margin: 4rem 0;
    padding: 0;
}

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

.director-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.director-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

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

.director-body {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.director-cta {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    align-self: flex-start;
}

.director-cta:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
    border: none;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0 2rem 0;
}

.final-cta-headline {
    color: white;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.final-cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.final-cta-btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    min-width: 240px;
    font-weight: 600;
}

/* Responsive adjustments for new home page elements */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0 0.5rem 0;
        margin-bottom: 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-cta-btn {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .process-flow {
        gap: 1rem;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    /* Upload zone process flow on mobile */
    .upload-zone .process-flow {
        gap: 0.75rem;
        margin: 1rem 0;
    }

    .upload-zone .process-flow .step-icon {
        font-size: 1.2rem;
    }

    .upload-zone .process-flow .step-text {
        font-size: 0.75rem;
    }

    .process-step {
        min-width: 80px;
    }
    
    .directors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .director-card {
        padding: 1.5rem;
    }
    
    .final-cta-section {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem 1rem 1rem;
    }
    
    .final-cta-headline {
        font-size: 1.5rem;
    }
    
    .final-cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem 0 0.5rem 0;
        margin-bottom: 0.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .step-icon {
        font-size: 1.5rem;
    }
    
    .step-text {
        font-size: 0.8rem;
    }
    
    .director-headline {
        font-size: 1.1rem;
    }
    
    .final-cta-headline {
        font-size: 1.3rem;
    }
}


/* Email Collection Modal Styles */
.server-processing-info {
    text-align: center;
    margin-bottom: 2rem;
}

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

.server-processing-info h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.server-processing-info > p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.processing-details {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

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

.detail-item strong {
    color: var(--text-primary);
}

.detail-item span {
    color: var(--text-secondary);
    text-align: right;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-help {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.privacy-notice {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    margin: 0.5rem 0;
}

.privacy-notice p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.privacy-notice strong {
    color: var(--text-primary);
}

/* Responsive email modal */
@media (max-width: 768px) {
    .processing-icon {
        font-size: 2.5rem;
    }
    
    .server-processing-info h3 {
        font-size: 1.1rem;
    }
    
    .processing-details {
        padding: 1rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .detail-item span {
        text-align: left;
        font-weight: 500;
    }

    .privacy-notice {
        padding: 0.75rem;
    }

    .privacy-notice p {
        font-size: 0.8rem;
    }
}

/* Success Page Styles */
.success-section {
    text-align: center;
    padding: 2rem 0;
}

.success-card, .processing-card, .error-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 1rem auto;
    max-width: 600px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.success-icon, .processing-icon, .error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-card h2, .success-card h3,
.processing-card h3,
.error-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.success-card p,
.processing-card p,
.error-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

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

.progress-container {
    margin: 1.5rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #22c55e);
    width: 0%;
    transition: width 0.3s ease;
}

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

.download-container {
    margin: 2rem 0;
}

.download-item {
    margin: 1rem 0;
    text-align: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.download-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.error-card {
    border-color: var(--error-color);
}

.error-icon {
    color: var(--error-color);
}

/* Responsive Success Page */
@media (max-width: 768px) {
    .success-card, .processing-card, .error-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .success-icon, .processing-icon, .error-icon {
        font-size: 2.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        min-width: 100%;
    }
}

/* ===== SUCCESS PAGE STYLES ===== */

/* Success Section */
.success-section {
    padding: 2rem 0;
    text-align: center;
}

.success-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: success-bounce 1s ease-out;
}

.error-card {
    background: var(--bg-secondary);
    border: 1px solid var(--error-color);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--error-color);
}

/* Processing Section */
.processing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.processing-icon {
    margin-bottom: 1.5rem;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Progress Bar */
.progress-container {
    margin: 1.5rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Download Section */
.download-container {
    margin: 2rem 0;
}

.download-item {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.download-btn {
    width: 100%;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.download-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Action Buttons */
.action-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .btn {
    min-width: 150px;
}

/* Animations */
@keyframes success-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

/* History Page Styles */
.history-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-state p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.history-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.history-stats {
    display: flex;
    gap: 2rem;
    color: var(--text-secondary);
}

.history-stats span {
    font-size: 0.9rem;
}

.history-actions .btn-danger {
    background: var(--error-color);
    border-color: var(--error-color);
}

.history-actions .btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.history-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.2s ease;
    display: flex;
    gap: 1rem;
}

.history-item:hover {
    border-color: var(--accent-color);
}

/* ====================================================================
   History item checkbox (OpenSpec 4) - HIDDEN
   Styles kept for potential re-enablement
   ==================================================================== */
.history-item-checkbox {
    flex-shrink: 0;
    padding-top: 0.25rem;
}

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

/* Wrapper for the rest of the content */
.history-item > :not(.history-item-checkbox) {
    flex: 1;
    min-width: 0;
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.history-item-title h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.history-item-original-name {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    word-break: break-word;
    opacity: 0.7;
}

.history-item-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.history-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.history-item-actions {
    display: flex;
    gap: 0.5rem;
}

.history-item-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 6px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 120px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Promo code pricing display */
.pricing-with-promo {
    min-width: auto;
}

.pricing-breakdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.85rem;
}

.pricing-separator {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.final-price {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1rem;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: help;
}

.savings-amount {
    color: var(--accent-green);
    font-size: 0.8rem;
    font-weight: 600;
}

.history-item-formats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.formats-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-width: 60px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.format-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.format-tag {
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Download tag button */
.download-tag {
    background: var(--primary-color);
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    height: auto;
    vertical-align: middle;
}

.download-tag:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.download-tag:focus {
    outline: none;
}

.download-tag i {
    width: 14px;
    height: 14px;
    display: inline-block;
}

.history-item-downloads {
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.history-item-downloads h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.format-download-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
}

.action-buttons .btn {
    min-width: 140px;
}

.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .success-card,
    .processing-card,
    .error-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .success-icon,
    .error-icon {
        font-size: 3rem;
    }

    .spinner {
        width: 50px;
        height: 50px;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .action-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    .download-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    /* History page responsive styles */
    .history-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .history-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .history-item-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .history-item-actions {
        align-self: center;
    }
    
    .history-item-stats {
        gap: 0.75rem;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .history-item-formats {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .format-download-buttons {
        justify-content: center;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Google Drive Integration Styles */

/* History Item Incremental Processing */
.history-item-incremental {
    border-left: 3px solid #34a853;
}

.history-incremental-banner {
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.1) 0%, rgba(52, 168, 83, 0.05) 100%);
    border: 1px solid rgba(52, 168, 83, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.history-incremental-banner .incremental-badge {
    display: inline-block;
    background: linear-gradient(135deg, #34a853 0%, #0f9d58 100%);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.incremental-stats-inline {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.incremental-stats-inline span {
    padding: 0.2rem 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.25rem;
}

.incremental-stats-inline .savings-badge {
    background: linear-gradient(135deg, #34a853 0%, #0f9d58 100%);
    color: white !important;
    font-weight: 600;
}

/* User Info Badge */
.user-info {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(66, 133, 244, 0.1);
    border: 1px solid rgba(66, 133, 244, 0.2);
    border-radius: 0.375rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Source Badges */
.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.source-badge.drive {
    background: rgba(52, 168, 83, 0.1);
    border: 1px solid rgba(52, 168, 83, 0.3);
    color: #34a853;
}

.source-badge.local {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.source-badge.both {
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.1), rgba(66, 133, 244, 0.1));
    border: 1px solid rgba(52, 168, 83, 0.3);
    color: #34a853;
}

.source-badge.network {
    background: rgba(66, 133, 244, 0.1);
    border: 1px solid rgba(66, 133, 244, 0.3);
    color: #4285f4;
}

.source-badge.cache {
    background: rgba(251, 188, 5, 0.1);
    border: 1px solid rgba(251, 188, 5, 0.3);
    color: #fbbc05;
}

/* Dark mode adjustments for storage badges */
[data-theme="dark"] .source-badge.drive {
    background: rgba(52, 168, 83, 0.15);
    border-color: rgba(52, 168, 83, 0.4);
}

[data-theme="dark"] .source-badge.local {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .source-badge.network {
    background: rgba(66, 133, 244, 0.15);
    border-color: rgba(66, 133, 244, 0.4);
}

[data-theme="dark"] .source-badge.cache {
    background: rgba(251, 188, 5, 0.15);
    border-color: rgba(251, 188, 5, 0.4);
}

/* Storage Sync Connected Badge */
.drive-connected-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.drive-connected-badge i {
    width: 1rem;
    height: 1rem;
}

/* Drive Benefits Modal */
#drive-benefits-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

#drive-benefits-modal.hidden {
    display: none;
}

#drive-benefits-modal .modal-content {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 1.5rem;
    color: #34a853;
}

.benefit-text strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.benefit-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.modal-close {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.modal-close:hover {
    color: var(--text-primary);
}
/* ========================================
   NEW STYLES FOR SEO CONTENT EXPANSION
   Added: 2025-10-30
   ======================================== */

/* Format Pages Styles */
.format-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.format-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header-logo {
    height: 32px;
}

.format-nav {
    display: flex;
    gap: 2rem;
}

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

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

.format-content {
    flex: 1;
    max-width: 1600px;
    width: 96vw;
    margin: 0 auto;
    padding: 1.5rem;
}

.hero-section-format {
    text-align: center;
    padding: 1.5rem 0 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.hero-section-format h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.content-section {
    padding: 2rem 0;
}

.content-section.bg-light {
    background: rgba(0, 0, 0, 0.02);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 0.5rem;
}

.content-section h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

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

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

.feature-item h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

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

.optimization-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.opt-item h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.opt-item p, .opt-item ul {
    color: var(--text-secondary);
    line-height: 1.6;
}

.opt-item pre {
    background: rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.opt-item code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
    color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 1rem;
}

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

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.faq-item h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.format-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.format-link-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

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

.format-link-card .format-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

/* Format link card icons (Lucide) - Target SVG elements that Lucide creates */
.format-link-card svg[data-lucide],
.format-link-card [data-lucide],
a.format-link-card svg[data-lucide],
a.format-link-card [data-lucide],
a.format-link-card:link svg[data-lucide],
a.format-link-card:link [data-lucide],
a.format-link-card:visited svg[data-lucide],
a.format-link-card:visited [data-lucide] {
    width: 2rem !important;
    height: 2rem !important;
    display: inline-block !important;
    color: var(--accent-color) !important;
    stroke: var(--accent-color) !important;
    fill: none !important;
    margin-bottom: 0.75rem;
}

.format-link-card:hover svg[data-lucide],
.format-link-card:hover [data-lucide],
a.format-link-card:hover svg[data-lucide],
a.format-link-card:hover [data-lucide],
a.format-link-card:active svg[data-lucide],
a.format-link-card:active [data-lucide] {
    color: var(--accent-hover) !important;
    stroke: var(--accent-hover) !important;
    fill: none !important;
}

.format-link-card .format-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.format-link-card .format-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.format-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: auto;
}

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

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
}

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

/* Pricing Reasons Section (index.html) */
.why-pricing-section {
    padding: 3rem 0;
    margin: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.why-pricing-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.pricing-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reason-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
}

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

.reason-card h3 {
    margin: 1rem 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.reason-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.reason-example {
    background: rgba(0, 123, 255, 0.1);
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.reason-cta-text {
    font-size: 0.9rem;
    margin-top: 1rem;
}

.inline-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.inline-link:hover {
    text-decoration: none;
}

/* Drive Feature Box (upgraded from privacy notice) */
.drive-feature-box {
    margin-top: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.1) 0%, rgba(15, 157, 88, 0.05) 100%);
    border: 2px solid rgba(52, 168, 83, 0.3);
    border-radius: 0.75rem;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
}

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

.feature-intro {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.benefit-icon {
    flex-shrink: 0;
    color: #34a853;
    font-size: 1rem;
}

/* Navigation Sub-items */
.nav-section {
    margin: 1rem 0;
}

.nav-section-title {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.nav-sub-item {
    padding-left: 2rem;
    font-size: 0.875rem;
}

/* Backup Service Page Specific Styles */
.hero-backup {
    padding: 4rem 0;
}

.hero-subtitle-large {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.reason-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.reason-card-large {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2.5rem;
}

.reason-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.reason-card-large h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.reason-card-large p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.strategy-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.strategy-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
}

.strategy-header {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.strategy-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.strategy-description {
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 0.25rem;
}

.savings-highlight {
    background: rgba(0, 200, 0, 0.1);
    padding: 0.5rem;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
}

.intro-paragraph {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-example-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.pricing-example-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    flex: 1;
    min-width: 280px;
    max-width: 340px;
}

.example-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.example-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.example-header h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    flex: 1;
}

.file-size {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.calculation {
    background: rgba(0, 0, 0, 0.03);
    padding: 1rem;
    border-radius: 0.375rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.calculation .total {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 1.125rem;
}

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

.example-note.savings {
    color: #00b300;
    font-weight: 600;
}

.pricing-arrow {
    font-size: 2rem;
    color: var(--text-secondary);
}

.cost-comparison {
    margin: 3rem 0;
}

.comparison-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
}

.comparison-header {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.savings-cell {
    color: #00b300;
    font-weight: 600;
}

.comparison-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

.steps-container-large .step-card-large {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-number-large {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-card-large h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-card-large p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.step-note {
    background: rgba(0, 123, 255, 0.1);
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.cta-box-large {
    padding: 3rem;
    margin: 4rem 0;
}

.cta-box-large h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-box-large p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* CTA Box Responsive Styles */
@media (max-width: 768px) {
    .cta-box {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 0.9375rem;
    }

    .cta-box-large {
        padding: 2rem 1.5rem;
        margin: 2.5rem 0;
    }

    .cta-box-large h3 {
        font-size: 1.5rem;
    }

    .cta-box-large p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .cta-note {
        font-size: 0.8125rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cta-box {
        padding: 1.75rem;
    }

    .cta-box-large {
        padding: 2.5rem;
        margin: 3rem 0;
    }

    .cta-box-large h3 {
        font-size: 1.75rem;
    }
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Pricing How It Works Section */
.pricing-how-it-works {
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
}

.pricing-formula {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-formula h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.formula-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.formula-part {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.formula-unit {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.formula-desc {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.formula-operator {
    font-size: 2rem;
    color: var(--text-secondary);
}

.formula-note {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 1rem;
}

.pricing-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding-top: 1rem;
    overflow: visible;
}

.pricing-example-card-compact {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

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

.pricing-example-card-compact.highlight-example {
    border-color: var(--primary-color);
    border-width: 3px;
    position: relative;
    overflow: visible;
}

.example-size {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.example-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1rem 0;
}

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

.example-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 1.25rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
    z-index: 10;
}

.pricing-features-included {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.pricing-features-included h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-primary);
}

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

.feature-compact {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

/* Incremental Pricing Section */
.incremental-pricing-section {
    margin: 4rem 0;
}

.incremental-pricing-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Pricing Preview Component (Dynamic Display) */
.pricing-preview {
    margin: 2rem 0;
    width: 100%;
}

.pricing-preview-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .pricing-preview-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pricing-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

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

.pricing-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.incremental-header {
    border-bottom-color: var(--primary-color);
}

.incremental-header .pricing-icon {
    color: var(--primary-color);
}

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

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

/* Backup Timeline */
.backup-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
}

.backup-previous,
.backup-current {
    text-align: center;
}

.backup-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.backup-count {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.backup-arrow {
    color: var(--primary-color);
}

.backup-arrow svg {
    width: 24px;
    height: 24px;
}

/* Change Summary */
.change-summary h4 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.change-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.change-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    border-left: 3px solid;
}

[data-theme="dark"] .change-stat {
    background: rgba(255, 255, 255, 0.05);
}

.change-stat.new {
    border-left-color: #10a37f;
}

[data-theme="dark"] .change-stat.new {
    background: rgba(16, 163, 127, 0.1);
}

.change-stat.modified {
    border-left-color: #f59e0b;
}

[data-theme="dark"] .change-stat.modified {
    background: rgba(245, 158, 11, 0.1);
}

.change-stat.unchanged {
    border-left-color: var(--border-color);
}

[data-theme="dark"] .change-stat.unchanged {
    background: rgba(255, 255, 255, 0.03);
}

.change-stat svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.change-stat.new svg {
    color: #10a37f;
}

.change-stat.modified svg {
    color: #f59e0b;
}

.change-stat.unchanged svg {
    color: var(--text-secondary);
}

.stat-count {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    min-width: 2rem;
}

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

/* Processing Info */
.processing-info {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 0.5rem;
}

.processing-count {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.processing-count .value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.processing-count .detail {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Pricing Tier */
.pricing-tier {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

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

.tier-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

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

/* Pricing Amount */
.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(16, 163, 127, 0.1) 0%, rgba(16, 163, 127, 0.05) 100%);
    border-radius: 0.5rem;
    border: 1px solid rgba(16, 163, 127, 0.2);
}

[data-theme="dark"] .pricing-amount {
    background: linear-gradient(135deg, rgba(16, 163, 127, 0.15) 0%, rgba(16, 163, 127, 0.08) 100%);
}

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

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

/* Pricing Savings */
.pricing-savings {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(16, 163, 127, 0.05) 0%, rgba(16, 163, 127, 0.02) 100%);
    border-radius: 0.5rem;
    border: 1px dashed rgba(16, 163, 127, 0.3);
}

[data-theme="dark"] .pricing-savings {
    background: linear-gradient(135deg, rgba(16, 163, 127, 0.12) 0%, rgba(16, 163, 127, 0.06) 100%);
    border-color: rgba(16, 163, 127, 0.4);
}

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

[data-theme="dark"] .savings-comparison {
    color: rgba(255, 255, 255, 0.7);
}

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

[data-theme="dark"] .savings-label {
    color: rgba(255, 255, 255, 0.7);
}

.savings-amount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.savings-amount svg {
    width: 20px;
    height: 20px;
    color: #10a37f;
}

[data-theme="dark"] .savings-amount svg {
    color: #14c794;
}

.savings-text {
    font-weight: 600;
    color: #10a37f;
    font-size: 1.125rem;
}

[data-theme="dark"] .savings-text {
    color: #14c794;
}

.savings-percent {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

[data-theme="dark"] .savings-percent {
    color: rgba(255, 255, 255, 0.7);
}

/* Pricing Actions */
.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.pricing-features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pricing-features-list li svg {
    width: 16px;
    height: 16px;
    color: #10a37f;
    flex-shrink: 0;
}

.conversation-count {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
}

.count-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.count-label {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-includes h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.125rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-preview-card {
        padding: 1.5rem;
    }

    .pricing-header h3 {
        font-size: 1.25rem;
    }

    .amount-value {
        font-size: 1.75rem;
    }

    .count-number {
        font-size: 2.5rem;
    }

    .change-stats {
        gap: 0.5rem;
    }

    .change-stat {
        padding: 0.5rem;
    }

    .stat-count {
        font-size: 1.125rem;
    }
}

/* Pricing CTA Section */
.pricing-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    margin: 4rem 0;
}

.pricing-cta-section h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pricing-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.pricing-cta-section .btn-primary {
    /* Use standard button styling */
    font-weight: 600;
}

.pricing-cta-section .btn-primary:hover {
    /* Use standard button hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pricing-how-it-works {
        padding: 2rem 1.5rem;
    }

    .formula-display {
        flex-direction: column;
        gap: 1rem;
        font-size: 2rem;
    }

    .pricing-examples-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cta-section {
        padding: 2rem 1.5rem;
    }

    .pricing-cta-section h3 {
        font-size: 1.5rem;
    }
}

.use-case-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-case-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.second-brain-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.workflow-step {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

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

.workflow-step h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.workflow-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.integration-examples {
    margin: 3rem 0;
}

.integration-examples h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.example-card {
    background: rgba(0, 123, 255, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
}

.example-card strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .format-header {
        padding: 1rem;
    }

    .format-content {
        padding: 1rem;
    }

    .hero-section-format h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .strategy-row {
        grid-template-columns: 1fr;
    }

    .pricing-example-visual {
        flex-direction: column;
    }

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

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .second-brain-workflow {
        flex-direction: column;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

/* Light Mode Explicit Styles - Ensure Visibility */
/* Apply to both light theme and default (no theme attribute) */
:root .strategy-header,
:root .comparison-row.comparison-header,
[data-theme="light"] .strategy-header,
[data-theme="light"] .comparison-row.comparison-header {
    background: var(--primary-color);
    color: white;
}

:root .strategy-col,
:root .comparison-row div,
:root .step-card-large h3,
:root .step-card-large p,
:root .step-number-large,
:root .file-size,
:root .calculation,
:root .example-note,
:root .savings-cell,
[data-theme="light"] .strategy-col,
[data-theme="light"] .comparison-row div,
[data-theme="light"] .step-card-large h3,
[data-theme="light"] .step-card-large p,
[data-theme="light"] .step-number-large,
[data-theme="light"] .file-size,
[data-theme="light"] .calculation,
[data-theme="light"] .example-note,
[data-theme="light"] .savings-cell {
    color: var(--text-primary);
}

:root .strategy-description,
:root .savings-highlight,
:root .step-note,
:root .pricing-arrow,
:root .comparison-note,
[data-theme="light"] .strategy-description,
[data-theme="light"] .savings-highlight,
[data-theme="light"] .step-note,
[data-theme="light"] .pricing-arrow,
[data-theme="light"] .comparison-note {
    color: var(--text-secondary);
}

/* Dark Mode Support for New Styles */
[data-theme="dark"] .reason-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .format-link-card,
[data-theme="dark"] .use-case-card,
[data-theme="dark"] .workflow-step,
[data-theme="dark"] .pricing-example-card,
[data-theme="dark"] .support-card,
[data-theme="dark"] .issue-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Contact Us form section - lighter background for better contrast with HubSpot text */
[data-theme="dark"] .support-form-section {
    background: var(--bg-tertiary);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Dark mode text colors for Contact Us section - ensure proper contrast */
[data-theme="dark"] .support-form-section h2,
[data-theme="dark"] .support-form-container h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .support-form-intro {
    color: var(--text-secondary);
}

/* Dark mode support for HubSpot form */
[data-theme="dark"] .hs-form-frame input[type="text"],
[data-theme="dark"] .hs-form-frame input[type="email"],
[data-theme="dark"] .hs-form-frame input[type="tel"],
[data-theme="dark"] .hs-form-frame textarea,
[data-theme="dark"] .hbspt-form input[type="text"],
[data-theme="dark"] .hbspt-form input[type="email"],
[data-theme="dark"] .hbspt-form input[type="tel"],
[data-theme="dark"] .hbspt-form textarea {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .hs-form-frame input:focus,
[data-theme="dark"] .hs-form-frame textarea:focus,
[data-theme="dark"] .hbspt-form input:focus,
[data-theme="dark"] .hbspt-form textarea:focus {
    border-color: var(--accent-color) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .content-section.bg-light {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .opt-item pre {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .drive-feature-box {
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.15) 0%, rgba(15, 157, 88, 0.1) 100%);
    border-color: rgba(52, 168, 83, 0.4);
}

[data-theme="dark"] .reason-example,
[data-theme="dark"] .step-note,
[data-theme="dark"] .example-card {
    background: rgba(0, 123, 255, 0.15);
}

/* Connected Upload Interface Styles */
.simple-upload-connected {
    margin-top: 2rem;
}

.connected-upload-card {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.05) 100%);
    border: 2px solid rgba(25, 135, 84, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.connected-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.connected-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.connected-info {
    text-align: left;
}

.connected-info h3 {
    color: var(--success-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.connected-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.upload-note {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Connected button in nav */
.btn-success.connected {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
    position: relative;
}

.btn-success.connected:hover {
    background: var(--success-hover);
    border-color: var(--success-hover);
}

/* Disconnect icon in connected button */
.disconnect-icon {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.btn-success.connected:hover .disconnect-icon {
    opacity: 1;
}

/* Dark mode support */
[data-theme="dark"] .connected-upload-card {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.15) 0%, rgba(25, 135, 84, 0.08) 100%);
    border-color: rgba(25, 135, 84, 0.3);
}


/* ==== APP LOADING OVERLAY ==== */
.app-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.app-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.loading-content h3 {
    margin: 1rem 0 0.5rem 0;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.loading-content p {
    margin: 0;
    color: var(--text-color-secondary);
    font-size: 0.95rem;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(59, 130, 246, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

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

/* Dark mode support for loading overlay */
[data-theme="dark"] .app-loading-overlay {
    background: rgba(20, 20, 28, 0.95);
}

[data-theme="dark"] .loading-content h3 {
    color: var(--text-color);
}

[data-theme="dark"] .loading-content p {
    color: var(--text-color-secondary);
}

/* ========================================
   NAVIGATION BUTTON LOADING STATE
   Shows loading spinner until storage check completes
   ======================================== */

/* No longer hide button - show with loading spinner instead */
#connect-drive-nav-btn {
    transition: opacity 0.3s ease-in-out;
}

/* Button is shown immediately with loading spinner */
#connect-drive-nav-btn.initialized {
    opacity: 1;
}
/* ==========================================
   PWA Installation Modal Styles
   ========================================== */

.pwa-modal-overlay {
    z-index: 10001 !important; /* Ensure PWA modal is always on top */
    backdrop-filter: blur(4px);
}

.pwa-install-modal {
    max-width: 540px;
    padding: 0;
}

.pwa-modal-header {
    text-align: center;
    padding: 2rem 2rem 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.pwa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem auto;
    background: var(--primary-color);
    border-radius: 12px;
    color: white;
}

.pwa-icon svg {
    width: 36px;
    height: 36px;
}

.pwa-modal-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pwa-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.pwa-info-box {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.pwa-info-box:last-of-type {
    border-bottom: none;
}

.pwa-benefits {
    background: rgba(16, 163, 127, 0.05);
}

.pwa-privacy {
    background: rgba(33, 150, 243, 0.05);
}

.pwa-description {
    margin: 0 0 1rem 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.pwa-feature-list {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.pwa-feature-list strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.pwa-feature-list ul {
    margin: 0;
    padding-left: 1.25rem;
    list-style: none;
}

.pwa-feature-list li {
    position: relative;
    margin-bottom: 0.25rem;
}

.pwa-feature-list li::before {
    content: "✓";
    position: absolute;
    left: -1.25rem;
    color: var(--primary-color);
    font-weight: 600;
}

.pwa-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem 2rem 2rem 2rem;
}

.pwa-actions .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pwa-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d8c6d 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 163, 127, 0.3);
}

.pwa-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.4);
}

.pwa-actions .btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.pwa-actions .btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-secondary);
}

/* Dark mode adjustments */
[data-theme="dark"] .pwa-benefits {
    background: rgba(16, 163, 127, 0.1);
}

[data-theme="dark"] .pwa-privacy {
    background: rgba(33, 150, 243, 0.1);
}

/* Responsive */
@media (max-width: 640px) {
    .pwa-install-modal {
        max-width: 95%;
    }

    .pwa-modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .pwa-modal-header h2 {
        font-size: 1.25rem;
    }

    .pwa-info-box {
        padding: 1rem 1.5rem;
    }

    .pwa-actions {
        padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    }
}

/* ==============================================
   Reconnection Alert Banner (OpenSpec 3)
   ============================================== */

.reconnection-alert {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* OpenSpec 5: Match CTA box gradient (green-blue brand colors) */
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
    color: white;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.reconnection-alert-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reconnection-alert-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.reconnection-alert-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.reconnection-alert-message {
    flex: 1;
    min-width: 0;
}

.reconnection-alert-message strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.reconnection-alert-message p {
    font-size: 0.875rem;
    opacity: 0.95;
    margin: 0;
    line-height: 1.4;
}

.reconnection-alert-actions {
    flex-shrink: 0;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.reconnection-alert-btn {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.reconnection-alert-btn-primary {
    background: white;
    color: #667eea;
}

.reconnection-alert-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.reconnection-alert-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.reconnection-alert-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Dark mode adjustments - keep purple/indigo gradient visible */
[data-theme="dark"] .reconnection-alert {
    /* Gradient stays the same in dark mode for visibility */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive - Stack on mobile */
@media (max-width: 768px) {
    .reconnection-alert-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem 1rem;
    }

    .reconnection-alert-icon {
        width: 32px;
        height: 32px;
    }

    .reconnection-alert-message {
        padding-right: 0;
    }

    .reconnection-alert-message strong {
        font-size: 0.9375rem;
    }

    .reconnection-alert-message p {
        font-size: 0.8125rem;
    }

    .reconnection-alert-actions {
        width: 100%;
        justify-content: stretch;
    }

    .reconnection-alert-btn {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .reconnection-alert-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .reconnection-alert-btn {
        width: 100%;
    }
}

/* ============================================
   CTA LOADING STATES
   ============================================ */

/* CTA Zone Loading State */
.cta-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    min-height: 280px;
}

.cta-loading-state .loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(59, 130, 246, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

.cta-loading-state .loading-text {
    margin: 0;
    color: var(--text-color-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Dark mode support */
[data-theme="dark"] .cta-loading-state .loading-spinner {
    border: 4px solid rgba(59, 130, 246, 0.15);
    border-top: 4px solid var(--primary-color);
}

/* Fade Transition Utilities */
.fade-out {
    opacity: 0;
    transition: opacity 300ms ease-in-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 300ms ease-in-out;
}

/* Hide utility with display: none */
.hidden {
    display: none !important;
}

/* Navigation Button Loading State */
.nav-btn-loading .btn-text {
    display: none;
}

.nav-btn-loading i {
    animation: spin 1s linear infinite;
}

/* Responsive - Mobile Loading State */
@media (max-width: 768px) {
    .cta-loading-state {
        min-height: 240px;
        padding: 2rem 1rem;
    }

    .cta-loading-state .loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }

    .cta-loading-state .loading-text {
        font-size: 0.875rem;
    }
}
