/* ============================================
   PDF to EPS Converter - Modern Design
   Using CSS Variables & Modern Techniques
   ============================================ */

:root {
    /* Primary Colors - Brand Identity */
    --primary: #E5322D;
    --primary-dark: #B81D18;
    --primary-light: #FF6B66;
    --primary-ultralight: #FFE8E7;
    
    /* Secondary Colors - Accents */
    --secondary: #667eea;
    --secondary-dark: #764ba2;
    --secondary-light: #a3b4ff;
    
    /* Status Colors */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    
    /* Neutral Colors */
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --light: #f8fafc;
    --white: #ffffff;
    
    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --gradient-success: linear-gradient(135deg, var(--success) 0%, #1e7e34 100%);
    --gradient-warning: linear-gradient(135deg, var(--warning) 0%, #e0a800 100%);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-round: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', 'Roboto Mono', 'Courier New', monospace;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.section-heading {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subheading {
    color: var(--secondary-dark);
    font-weight: 600;
    margin-bottom: 25px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

/* ===== HEADER ===== */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-normal);
}

.logo i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2rem;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 15px !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    margin: 0 2px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link.active {
    color: var(--primary);
    background: var(--primary-ultralight);
}

.nav-link.active::before {
    width: 80%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 20px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* ===== TOOL SECTION ===== */
.tool-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    transition: transform var(--transition-normal);
}

.tool-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.upload-area {
    border: 3px dashed rgba(229, 50, 45, 0.3);
    border-radius: var(--radius-lg);
    padding: 60px 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-ultralight) 0%, var(--white) 100%);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.upload-area::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all var(--transition-slow);
}

.upload-area:hover::after {
    transform: rotate(45deg) translate(10%, 10%);
}

.upload-area:hover, .upload-area.drag-over {
    border-color: var(--primary);
    background: linear-gradient(135deg, #ffeaea 0%, var(--white) 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(229, 50, 45, 0.15);
}

.upload-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 25px;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(5deg); }
    66% { transform: translateY(5px) rotate(-5deg); }
}

.upload-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.upload-text {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn-custom {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-normal);
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 50, 45, 0.3);
}

.btn-secondary-custom {
    background: var(--gradient-secondary);
    color: var(--white);
}

.btn-secondary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== PREVIEW SECTION ===== */
.preview-section {
    margin-top: 40px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.preview-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-light);
}

.preview-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== PAGE THUMBNAILS ===== */
.page-thumbnail {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-thumbnail:hover {
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.page-thumbnail.selected {
    border-color: var(--success);
    background: linear-gradient(135deg, #f0fff4 0%, var(--white) 100%);
    animation: pulse-selected 2s infinite;
}

@keyframes pulse-selected {
    0%, 100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
}

.page-canvas {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: var(--light);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.page-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--success);
    margin-bottom: 5px;
    transition: all var(--transition-fast);
}

.page-checkbox:hover {
    transform: scale(1.1);
}

.page-number {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.page-status {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(40, 167, 69, 0.1);
    display: inline-block;
}

.page-thumbnail:not(.selected) .page-status {
    color: var(--gray);
    background: rgba(100, 116, 139, 0.1);
}

/* ===== ODD/EVEN STYLES ===== */
.page-thumbnail.odd-page {
    border-left: 4px solid var(--secondary);
}

.page-thumbnail.even-page {
    border-left: 4px solid var(--warning);
}

.page-type-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--white);
    box-shadow: var(--shadow-xs);
}

.odd-page .page-type-indicator {
    background: var(--secondary);
}

.even-page .page-type-indicator {
    background: var(--warning);
}

.odd-badge, .even-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.odd-badge {
    background: rgba(102, 126, 234, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.even-badge {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.odd-even-btn {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.odd-even-btn:hover {
    background: rgba(229, 50, 45, 0.1);
    transform: translateY(-2px);
}

.odd-even-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(229, 50, 45, 0.2);
}

.odd-even-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stat-item {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-item.odd-stat {
    background: rgba(102, 126, 234, 0.1);
    color: var(--secondary-dark);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.stat-item.even-stat {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* ===== CONVERSION OPTIONS ===== */
.conversion-options {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-light);
}

.option-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all var(--transition-normal);
    height: 100%;
}

.option-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.option-card label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-select {
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    padding: 10px 15px;
    font-size: 1rem;
    transition: all var(--transition-normal);
    background-color: var(--white);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229, 50, 45, 0.1);
    outline: none;
}

/* ===== PROGRESS BAR ===== */
.progress-container {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-light);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.progress-bar-custom {
    height: 12px;
    background: var(--gray-light);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.progress-bar-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

/* ===== STATUS MESSAGES ===== */
.status-message {
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 20px;
    animation: slideUp 0.3s ease;
}

.status-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #c3e6cb;
}

.status-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.status-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border: 2px solid #bee5eb;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(229, 50, 45, 0.3);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-box {
    transform: rotate(5deg) scale(1.1);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--white);
}

.feature-title {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-description {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(229, 50, 45, 0.3);
}

/* ===== WHY CHOOSE US ===== */
.why-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.why-card:hover::before {
    opacity: 0.05;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(5deg);
}

.why-title {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}

.why-description {
    color: var(--gray);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ===== TOOLS GRID ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tool-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: translateY(-100%);
    transition: transform var(--transition-normal);
}

.tool-card:hover::before {
    transform: translateY(0);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
    text-decoration: none;
    color: inherit;
}

.tool-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 1.8rem;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

.tool-card:hover .tool-icon {
    background: var(--gradient-primary);
    transform: rotate(5deg) scale(1.1);
}

.tool-title {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.tool-description {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
}

.table-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
}

.table-row {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray-light);
    transition: all var(--transition-normal);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-row:hover {
    background: var(--light);
}

.table-row:last-child {
    border-bottom: none;
}

.check-icon {
    color: var(--success);
    font-size: 1.2rem;
    margin-right: 10px;
}

.cross-icon {
    color: var(--danger);
    font-size: 1.2rem;
    margin-right: 10px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--warning);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 193, 7, 0.1);
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-role {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    border-radius: var(--radius-lg);
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: var(--white);
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-section h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-title { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
}

@media (max-width: 992px) {
    .hero-section { padding: 100px 0 80px; }
    .hero-title { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .content-section { padding: 50px 30px; }
    .tool-section { padding: 30px; }
    
    /* Adjust grid for tablets */
    .row-cols-lg-6 .col {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

@media (max-width: 768px) {
    .hero-section { padding: 80px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    h2 { font-size: 1.8rem; }
    
    .tool-section { padding: 25px; }
    .content-section { padding: 40px 25px; }
    .upload-area { padding: 40px 20px; }
    .upload-icon { font-size: 3rem; }
    
    /* 2 per row on mobile */
    .row-cols-lg-6 .col {
        flex: 0 0 auto;
        width: 50%;
    }
    
    .preview-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .cta-title { font-size: 2rem; }
    .cta-section { padding: 60px 0; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    h2 { font-size: 1.6rem; }
    
    .tool-section { padding: 20px 15px; }
    .content-section { padding: 30px 20px; }
    .upload-area { padding: 30px 15px; }
    
    /* 1 per row on small mobile */
    .row-cols-lg-6 .col {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .btn-custom {
        padding: 12px 20px;
        width: 100%;
    }
    
    .btn-group {
        width: 100%;
    }
    
    .cta-title { font-size: 1.8rem; }
    .cta-description { font-size: 1rem; }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --dark: #f8fafc;
        --light: #0f172a;
        --gray-light: #334155;
        --white: #1e293b;
    }
    
    body {
        background-color: #0f172a;
        color: #cbd5e1;
    }
    
    .tool-section,
    .content-section,
    .feature-card,
    .why-card,
    .tool-card,
    .option-card {
        background: #1e293b;
        border-color: #334155;
    }
    
    .comparison-table {
        background: #1e293b;
        border-color: #334155;
    }
    
    .table-row:hover {
        background: #334155;
    }
    
    .testimonial-card {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .main-header,
    .footer,
    .btn-custom,
    .upload-area,
    .preview-section,
    .cta-section {
        display: none !important;
    }
    
    .tool-section,
    .content-section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}