/**
 * PDF Shawon - Design System & Styles
 * A modern, professional design with deep blues and clean whites
 * 
 * @version 1.0.0
 */

/* =============================================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================================= */

:root {
    /* Primary Colors - Deep Blues */
    --primary-900: #0c1929;
    --primary-800: #132337;
    --primary-700: #1a3048;
    --primary-600: #1e3a5f;
    --primary-500: #2563eb;
    --primary-400: #3b82f6;
    --primary-300: #60a5fa;
    --primary-200: #93c5fd;
    --primary-100: #dbeafe;
    --primary-50: #eff6ff;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Accent Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 50%, var(--primary-600) 100%);
    --gradient-card: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.625rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
    --z-toast: 700;

    /* Container Width */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1440px;
}

/* =============================================================================
   CSS RESET & BASE STYLES
   ============================================================================= */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-600);
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* =============================================================================
   LAYOUT UTILITIES
   ============================================================================= */

.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.container-lg {
    max-width: var(--container-2xl);
}

.section {
    padding: var(--space-16) 0;
}

.section-lg {
    padding: var(--space-24) 0;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: var(--space-1);
}

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

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

/* =============================================================================
   TYPOGRAPHY
   ============================================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

.text-muted {
    color: var(--gray-500);
}

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

.lead {
    font-size: var(--text-xl);
    color: var(--gray-600);
    line-height: 1.7;
}

/* =============================================================================
   HEADER & NAVIGATION
   ============================================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
    gap: var(--space-8);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--primary-600);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: var(--text-lg);
}

/* Main Navigation */
.main-nav {
    display: none;
    flex: 1;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    color: var(--gray-700);
    font-weight: 500;
    font-size: var(--text-sm);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--primary-500);
    background: var(--primary-50);
}

.nav-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

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

/* Mega Menu Dropdown */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: var(--z-dropdown);
    border: 1px solid var(--gray-100);
}

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

.mega-menu-wide {
    min-width: 400px;
    left: 0;
    transform: translateY(10px);
}

.nav-item:hover .mega-menu-wide {
    transform: translateY(0);
}

.mega-menu-title {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    padding: var(--space-2) var(--space-3);
    margin-bottom: var(--space-2);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-1);
}

.mega-menu-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius);
    color: var(--gray-700);
    font-size: var(--text-sm);
    transition: all var(--transition);
}

.mega-menu-link:hover {
    background: var(--primary-50);
    color: var(--primary-600);
}

.mega-menu-link svg {
    width: 20px;
    height: 20px;
    color: var(--primary-400);
    flex-shrink: 0;
}

.mega-menu-link span {
    font-weight: 500;
    white-space: nowrap;
}

/* Super Wide Mega Menu (for multi-section dropdowns) */
.mega-menu-super-wide {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 560px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: var(--z-dropdown);
    border: 1px solid var(--gray-100);
}

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

.mega-menu-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.mega-menu-section {
    min-width: 200px;
}

.mega-menu-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.mega-menu-footer {
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--gray-100);
    text-align: center;
}

.mega-menu-all-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-500);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition);
}

.mega-menu-all-link:hover {
    color: var(--primary-700);
    gap: var(--space-3);
}

/* Nav link single line fix */
.nav-link {
    white-space: nowrap;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: var(--space-4);
    overflow-y: auto;
    z-index: var(--z-fixed);
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-section {
    margin-bottom: var(--space-6);
}

.mobile-nav-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: var(--space-2);
}

.mobile-nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    color: var(--gray-700);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.mobile-nav-link:hover {
    background: var(--primary-50);
    color: var(--primary-600);
}

.mobile-nav-link svg {
    width: 18px;
    height: 18px;
    color: var(--primary-400);
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--gray-800);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero {
    background: var(--gradient-hero);
    padding: var(--space-20) 0 var(--space-24);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-200);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

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

.hero-title {
    font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-300) 0%, var(--primary-200) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--primary-200);
    margin-bottom: var(--space-10);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: var(--white);
    color: var(--primary-600);
    box-shadow: var(--shadow-lg);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
    color: var(--primary-700);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat-value {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--white);
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: var(--primary-300);
}

/* =============================================================================
   TOOL CARDS GRID
   ============================================================================= */

.tools-section {
    padding: var(--space-16) 0;
    background: var(--gray-50);
}

.tools-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-12);
}

.tools-header h2 {
    margin-bottom: var(--space-4);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
}

.tool-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-100);
}

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

.tool-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-50);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    transition: all var(--transition);
}

.tool-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-500);
}

.tool-card:hover .tool-icon {
    background: var(--primary-500);
}

.tool-card:hover .tool-icon svg {
    color: var(--white);
}

.tool-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.tool-description {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.6;
}

.tool-arrow {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition);
}

.tool-arrow svg {
    width: 16px;
    height: 16px;
    color: var(--gray-600);
}

.tool-card:hover .tool-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Tool Categories */
.tool-category {
    margin-bottom: var(--space-12);
}

.tool-category-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.tool-category-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-category-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary-600);
}

.tool-category-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
}

/* =============================================================================
   FEATURES SECTION
   ============================================================================= */

.features-section {
    padding: var(--space-20) 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    text-align: center;
    padding: var(--space-8);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    box-shadow: var(--shadow-lg);
}

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

.feature-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.feature-description {
    color: var(--gray-500);
    line-height: 1.7;
}

/* =============================================================================
   TOOL PAGE STYLES
   ============================================================================= */

.tool-page {
    flex: 1;
    padding: var(--space-8) 0 var(--space-16);
}

.tool-page-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-8);
}

.tool-page-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
}

.tool-page-description {
    color: var(--gray-500);
    font-size: var(--text-lg);
}

/* Upload Zone */
.upload-zone {
    background: var(--white);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary-400);
    background: var(--primary-50);
}

.upload-zone.dragover {
    transform: scale(1.02);
}

.upload-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-50);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
}

.upload-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-500);
}

.upload-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.upload-subtitle {
    color: var(--gray-500);
    margin-bottom: var(--space-4);
}

.upload-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--primary-500);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.upload-button:hover {
    background: var(--primary-600);
    color: var(--white);
}

.upload-formats {
    font-size: var(--text-sm);
    color: var(--gray-400);
    margin-top: var(--space-4);
}

.upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* File List */
.file-list {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    margin-top: var(--space-6);
    box-shadow: var(--shadow);
}

.file-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.file-item:hover {
    background: var(--gray-50);
}

.file-item+.file-item {
    border-top: 1px solid var(--gray-100);
}

.file-icon {
    width: 48px;
    height: 48px;
    background: var(--error-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 600;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.file-actions {
    display: flex;
    gap: var(--space-2);
}

.file-action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all var(--transition);
}

.file-action-btn:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

.file-action-btn.delete:hover {
    background: var(--error-light);
    color: var(--error);
}

/* Processing Area */
.process-area {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-top: var(--space-6);
    box-shadow: var(--shadow);
}

.process-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.process-option {
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.process-option:hover {
    border-color: var(--primary-200);
}

.process-option.selected {
    border-color: var(--primary-500);
    background: var(--primary-50);
}

.process-option-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.process-option-desc {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.process-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

/* Progress Bar */
.progress-container {
    margin: var(--space-6) 0;
}

.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition);
    width: 0%;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: var(--gray-500);
}

/* Download Area */
.download-area {
    background: var(--success-light);
    border: 2px solid var(--success);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    margin-top: var(--space-6);
}

.download-icon {
    width: 64px;
    height: 64px;
    background: var(--success);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.download-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.download-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.download-subtitle {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
}

.download-btn {
    background: var(--success);
    color: var(--white);
}

.download-btn:hover {
    background: #0d9669;
    color: var(--white);
}

/* =============================================================================
   FORMS & AUTHENTICATION
   ============================================================================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
    background: var(--gradient-hero);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-2xl);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.auth-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.auth-subtitle {
    color: var(--gray-500);
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: all var(--transition);
    background: var(--white);
}

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

.form-input::placeholder {
    color: var(--gray-400);
}

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

.form-error {
    font-size: var(--text-sm);
    color: var(--error);
    margin-top: var(--space-1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

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

.form-checkbox label {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.form-link {
    font-size: var(--text-sm);
    color: var(--primary-500);
    text-decoration: none;
}

.form-link:hover {
    text-decoration: underline;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: var(--space-6) 0;
    color: var(--gray-400);
    font-size: var(--text-sm);
}

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

.btn-google {
    width: 100%;
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    margin-bottom: var(--space-4);
}

.btn-google:hover {
    background: var(--gray-50);
    color: var(--gray-800);
}

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

.auth-footer {
    text-align: center;
    margin-top: var(--space-6);
    font-size: var(--text-sm);
    color: var(--gray-500);
}

/* Alert Messages */
.alert {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.alert-success {
    background: var(--success-light);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background: var(--error-light);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-warning {
    background: var(--warning-light);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-info {
    background: var(--info-light);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.footer {
    background: var(--primary-900);
    color: var(--gray-300);
    padding: var(--space-16) 0 var(--space-8);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary-500);
    color: var(--white);
}

.footer-column h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: var(--gray-400);
    font-size: var(--text-sm);
    transition: color var(--transition);
}

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

/* Why PDF Shawon Section */
.footer-why {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-12);
}

.footer-why h3 {
    color: var(--white);
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.footer-why p {
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.footer-why-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.footer-why-item svg {
    width: 24px;
    height: 24px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-why-item span {
    color: var(--gray-300);
    font-size: var(--text-sm);
}

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

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

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

/* =============================================================================
   RESPONSIVE STYLES
   ============================================================================= */

@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 1023px) {
    .header-inner {
        padding: var(--space-3) 0;
    }

    .hero {
        padding: var(--space-12) 0 var(--space-16);
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-6);
    }

    .hero-stat {
        flex: 1 1 100px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }

    .footer-brand {
        grid-column: span 2;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-4);
    }

    .section {
        padding: var(--space-10) 0;
    }

    h1 {
        font-size: var(--text-3xl);
    }

    h2 {
        font-size: var(--text-2xl);
    }

    h3 {
        font-size: var(--text-xl);
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-brand {
        grid-column: span 1;
    }

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

    .mobile-nav-list {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: var(--space-6);
    }
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Staggered animation delays */
.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

/* Loading Spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Hidden class */
.hidden {
    display: none !important;
}

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

/* =============================================================================
   LANDING PAGE - HERO ENHANCEMENTS
   ============================================================================= */

.hero-landing {
    padding: var(--space-24) 0;
}

.hero-landing .hero-content {
    max-width: 900px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-200);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-300) 0%, #60a5fa 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.btn-xl {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
    border-radius: var(--radius-xl);
}

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

.btn-outline:hover {
    background: var(--primary-500);
    color: var(--white);
}

.hero-landing .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-landing .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--primary-300);
}

.hero-bg-gradient {
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

/* =============================================================================
   TRUST BAR
   ============================================================================= */

.trust-bar {
    background: var(--white);
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--gray-100);
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-10);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-600);
    font-size: var(--text-sm);
    font-weight: 500;
}

.trust-item svg {
    color: var(--primary-500);
}

/* =============================================================================
   PRIVACY SECTION
   ============================================================================= */

.section-privacy {
    background: var(--white);
}

.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

@media (max-width: 768px) {
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.privacy-features {
    list-style: none;
}

.privacy-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    color: var(--gray-700);
}

.privacy-features li svg {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-visual {
    display: flex;
    justify-content: center;
}

.privacy-diagram {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.diagram-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-6);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    position: relative;
}

.diagram-item svg {
    color: var(--primary-500);
}

.diagram-item span {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.diagram-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.diagram-arrow svg {
    color: var(--primary-500);
}

.diagram-arrow span {
    font-size: var(--text-xs);
    color: var(--gray-500);
    white-space: nowrap;
}

.diagram-item.crossed {
    background: var(--error-light);
}

.diagram-item.crossed svg {
    color: var(--error);
}

.cross-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 3px;
    background: var(--error);
    transform: translate(-50%, -50%) rotate(-45deg);
    border-radius: var(--radius-full);
}

/* =============================================================================
   TOOLS SECTION
   ============================================================================= */

.section-tools {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-12);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
}

.tool-card-compact {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.tool-card-compact:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-info {
    flex: 1;
}

.tool-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.tool-desc {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-10);
}

/* =============================================================================
   PRICING SECTION
   ============================================================================= */

.section-pricing {
    background: var(--white);
    padding: var(--space-20) 0;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.toggle-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--primary-500);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(28px);
}

.discount-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    background: var(--success-light);
    color: #065f46;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-left: var(--space-2);
}

/* Pricing Cards Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    position: relative;
    transition: all var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-lg);
}

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

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-2) var(--space-4);
    background: var(--primary-500);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: var(--space-6);
}

.pricing-name {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-900);
}

.pricing-desc {
    color: var(--gray-500);
    font-size: var(--text-sm);
}

.pricing-price {
    margin-bottom: var(--space-2);
}

.price-amount {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--gray-900);
}

.price-period {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.price-total {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: var(--space-4);
}

/* Seats Slider */
.seats-slider {
    background: var(--gray-50);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}

.seats-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: var(--space-3);
    display: block;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-500);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-500);
    cursor: pointer;
    box-shadow: var(--shadow);
    border: none;
}

.seats-price {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-top: var(--space-3);
}

/* Pricing Features List */
.pricing-features {
    list-style: none;
    margin-bottom: var(--space-8);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--gray-700);
}

.pricing-features li svg {
    color: var(--success);
    flex-shrink: 0;
}

.pricing-features li.feature-disabled {
    color: var(--gray-400);
}

.pricing-features li.feature-disabled svg {
    color: var(--gray-300);
}

.btn-block {
    width: 100%;
}

/* Comparison Table */
.comparison-section {
    margin-top: var(--space-16);
}

.comparison-title {
    text-align: center;
    font-size: var(--text-2xl);
    margin-bottom: var(--space-8);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-4) var(--space-6);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
}

.comparison-table th.highlight,
.comparison-table td.highlight {
    background: var(--primary-50);
    color: var(--primary-700);
}

.comparison-table tbody tr:hover {
    background: var(--gray-50);
}

/* =============================================================================
   FEATURES SECTION
   ============================================================================= */

.section-features {
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--gray-200);
    position: relative;
}

.feature-card.feature-highlight {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
    border-color: var(--primary-200);
}

.feature-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: var(--space-1) var(--space-3);
    background: var(--warning);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-100);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.feature-icon svg {
    color: var(--primary-600);
}

.feature-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.feature-desc {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
}

.feature-list {
    list-style: none;
    margin-bottom: var(--space-6);
}

.feature-list li {
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--gray-700);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

/* =============================================================================
   FAQ SECTION
   ============================================================================= */

.section-faq {
    background: var(--white);
}

.container-narrow {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.faq-item {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5) var(--space-6);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    cursor: pointer;
    transition: all var(--transition);
}

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

.faq-question svg {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 var(--space-6) var(--space-5);
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

/* =============================================================================
   FINAL CTA SECTION
   ============================================================================= */

.section-cta-final {
    background: var(--gradient-hero);
    padding: var(--space-20) 0;
}

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

.cta-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-subtitle {
    font-size: var(--text-lg);
    color: var(--primary-200);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

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

.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary-700);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

/* =============================================================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ============================================================================= */

/* Mobile Menu Toggle - Ensure visibility */
@media (max-width: 1023px) {
    .mobile-menu-toggle {
        display: flex !important;
    }

    .main-nav {
        display: none !important;
    }

    .header-actions .btn {
        display: none;
    }

    .header-actions .btn:last-of-type {
        display: none;
    }
}

/* Mobile Navigation Enhancements */
.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: var(--space-4);
    overflow-y: auto;
    z-index: 9998;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

/* Hero Section Mobile Fixes */
@media (max-width: 768px) {

    .hero,
    .hero-landing {
        padding: var(--space-8) 0 var(--space-10);
        min-height: auto;
    }

    .hero-content {
        padding: 0 var(--space-4);
    }

    .hero-title {
        font-size: var(--text-2xl) !important;
        line-height: 1.2;
        margin-bottom: var(--space-4);
    }

    .hero-subtitle {
        font-size: var(--text-base);
        line-height: 1.6;
        margin-bottom: var(--space-6);
        padding: 0 var(--space-2);
    }

    .hero-badge {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-3);
        margin-bottom: var(--space-4);
    }

    .hero-cta,
    .hero-actions {
        flex-direction: column;
        gap: var(--space-3);
        width: 100%;
    }

    .hero-cta .btn,
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-4);
        font-size: var(--text-base);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
        margin-top: var(--space-8);
        padding-top: var(--space-6);
    }

    .hero-stat {
        flex: none;
        width: 100%;
        padding: var(--space-3) 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-stat:last-child {
        border-bottom: none;
    }

    .hero-stat-value {
        font-size: var(--text-2xl);
    }

    .hero-stat-label {
        font-size: var(--text-sm);
    }
}

/* Small Phone Fixes */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-3);
    }

    .hero-title {
        font-size: var(--text-xl) !important;
    }

    .hero-subtitle {
        font-size: var(--text-sm);
    }

    .section {
        padding: var(--space-8) 0;
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .btn {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
    }

    .btn-lg {
        padding: var(--space-4);
    }

    /* Tool cards on mobile */
    .tool-card {
        padding: var(--space-4);
    }

    .tool-card-title {
        font-size: var(--text-base);
    }

    /* Mobile nav list single column on very small screens */
    .mobile-nav-list {
        grid-template-columns: 1fr;
    }

    .mobile-nav-link {
        padding: var(--space-3);
        font-size: var(--text-base);
    }

    /* Feature cards */
    .feature-card {
        padding: var(--space-4);
    }
}

/* Header Mobile Fixes */
@media (max-width: 768px) {
    .header {
        padding: 0;
    }

    .header-inner {
        padding: var(--space-3) 0;
        min-height: 60px;
    }

    .logo {
        font-size: var(--text-lg);
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .logo span {
        display: block;
    }
}

/* Privacy Diagram Mobile */
@media (max-width: 768px) {
    .privacy-diagram {
        flex-direction: column;
        gap: var(--space-4);
    }

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

    .pricing-featured {
        transform: none;
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .cta-title {
        font-size: var(--text-3xl);
    }
}

/* Footer Mobile */
@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .footer-brand {
        grid-column: span 1;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Upload Zone Mobile */
@media (max-width: 640px) {
    .upload-zone {
        padding: var(--space-6);
    }

    .upload-icon {
        width: 48px;
        height: 48px;
    }

    .upload-title {
        font-size: var(--text-lg);
    }

    .upload-text {
        font-size: var(--text-sm);
    }

    .upload-btn {
        width: 100%;
    }
}

/* File list mobile */
@media (max-width: 640px) {
    .file-item {
        padding: var(--space-3);
    }

    .file-actions {
        flex-shrink: 0;
    }
}

/* Tool page header mobile */
@media (max-width: 768px) {
    .tool-header {
        padding: var(--space-8) 0;
    }

    .tool-header h1 {
        font-size: var(--text-2xl);
    }

    .tool-header p {
        font-size: var(--text-base);
    }
}

/* Pricing cards mobile */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .pricing-card {
        max-width: none;
    }
}

/* Dashboard mobile */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        order: -1;
    }
}

/* Auth pages mobile */
@media (max-width: 640px) {
    .auth-container {
        padding: var(--space-4);
    }

    .auth-card {
        padding: var(--space-5);
        margin: var(--space-4) 0;
    }

    .auth-title {
        font-size: var(--text-xl);
    }
}

/* Improved touch targets for mobile */
@media (max-width: 768px) {

    .btn,
    .mobile-nav-link,
    .nav-link,
    .tool-card,
    .mega-menu-link {
        min-height: 44px;
    }
}

/* Fix overflow issues on mobile */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    .container {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Landscape phone fixes */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        padding: var(--space-6) 0 var(--space-8);
    }

    .hero-title {
        font-size: var(--text-2xl) !important;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-stat {
        flex: 1 1 30%;
    }
}