/* ========================================
   Vivya PDF - Landing Page Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --bg-dark: #1a202c;
    
    --border-color: #e2e8f0;
    --border-light: #edf2f7;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    --container-max: 1200px;
    --section-padding: 6rem;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(102, 126, 234, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(102, 126, 234, 0.5);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.nav-cta {
    padding: 0.625rem 1.25rem;
    background: var(--primary-gradient);
    color: white !important;
    border-radius: var(--radius-lg);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px 0 rgba(102, 126, 234, 0.35);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(102, 126, 234, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.app-preview {
    position: relative;
    perspective: 1000px;
}

.app-window {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.app-window:hover {
    transform: rotateY(0) rotateX(0);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.window-title {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-left: auto;
    margin-right: auto;
}

.window-content {
    padding: 1rem;
    min-height: 300px;
    background: var(--bg-primary);
}

.pdf-viewer {
    display: flex;
    gap: 1rem;
    height: 280px;
}

.pdf-sidebar {
    width: 60px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pdf-thumb {
    aspect-ratio: 3/4;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
}

.pdf-thumb.active {
    border-color: var(--primary-color);
}

.pdf-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pdf-toolbar {
    display: flex;
    gap: 0.5rem;
}

.tool-btn {
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
}

.tool-btn.active {
    background: var(--primary-gradient);
}

.pdf-page {
    flex: 1;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    position: relative;
}

.pdf-line {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.pdf-line.short { width: 60%; }
.pdf-line.medium { width: 80%; }

.pdf-highlight {
    position: absolute;
    top: 50%;
    left: 1rem;
    right: 1rem;
    height: 12px;
    background: rgba(255, 235, 59, 0.5);
    border-radius: 2px;
}

.pdf-signature {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.5rem;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 3s ease-in-out infinite;
}

.floating-card svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
}

.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    left: -30px;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 0.6s ease 0.6s both;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

/* Features Section */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

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

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

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

/* AI Features Section */
.ai-features {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-text {
    text-align: left;
}

.ai-text .section-title {
    text-align: left;
}

.ai-text .section-description {
    margin: 0 0 2rem 0;
    text-align: left;
}

.ai-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-features-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ai-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
}

.ai-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.ai-features-list h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.ai-features-list p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* AI Visual */
.ai-visual {
    display: flex;
    justify-content: center;
}

.ai-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
}

.ai-avatar svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.ai-header span {
    font-weight: 600;
    color: white;
    font-size: 0.9375rem;
}

.ai-chat {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 320px;
}

.chat-message {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.chat-message.user {
    background: var(--primary-gradient);
    color: white;
    align-self: flex-end;
    max-width: 85%;
    border-bottom-right-radius: 4px;
}

.chat-message.ai {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    align-self: flex-start;
    max-width: 85%;
    border-bottom-left-radius: 4px;
}

.chat-message.ai ul {
    margin-top: 0.5rem;
    padding-left: 1rem;
}

.chat-message.ai li {
    list-style: disc;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.chat-message.typing {
    display: flex;
    gap: 4px;
    padding: 1rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

/* Smartflow Section */
.smartflow {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.smartflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.conversion-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-base);
}

.conversion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.conversion-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-xl);
}

.conversion-icon svg {
    width: 36px;
    height: 36px;
}

.conversion-icon.excel {
    background: linear-gradient(135deg, #21a366 0%, #107c41 100%);
}

.conversion-icon.excel svg { stroke: white; }

.conversion-icon.word {
    background: linear-gradient(135deg, #2b579a 0%, #1a4277 100%);
}

.conversion-icon.word svg { stroke: white; }

.conversion-icon.ppt {
    background: linear-gradient(135deg, #d24726 0%, #b7472a 100%);
}

.conversion-icon.ppt svg { stroke: white; }

.conversion-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.conversion-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.conversion-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.conversion-features span {
    padding: 0.375rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Workflow */
.smartflow-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.workflow-step {
    text-align: center;
    padding: 1rem;
}

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

.workflow-step h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.workflow-step p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.workflow-arrow {
    color: var(--text-light);
}

.workflow-arrow svg {
    width: 24px;
    height: 24px;
}

/* Tech Stack Section */
.tech-stack {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.tech-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.tech-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.tech-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: var(--radius-lg);
}

.tech-icon svg {
    width: 32px;
    height: 32px;
}

.tech-icon.react { background: rgba(97, 218, 251, 0.15); color: #61dafb; }
.tech-icon.typescript { background: rgba(49, 120, 198, 0.15); color: #3178c6; }
.tech-icon.electron { background: rgba(71, 133, 139, 0.15); color: #47848b; }
.tech-icon.tailwind { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.tech-icon.pdfjs { background: rgba(255, 87, 34, 0.15); stroke: #ff5722; }
.tech-icon.gemini { background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%); color: var(--primary-color); }

.tech-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.tech-card p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Download Section */
.download {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

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

.download-text {
    margin-bottom: 3rem;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.download-card:hover .download-icon {
    background: var(--primary-gradient);
}

.download-card:hover .download-icon svg {
    stroke: white;
}

.platform-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
}

.platform-icon svg {
    width: 32px;
    height: 32px;
}

.download-card.windows .platform-icon {
    background: rgba(0, 120, 212, 0.1);
    color: #0078d4;
}

.download-card.macos .platform-icon {
    background: rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
}

.download-card.linux .platform-icon {
    background: rgba(51, 51, 51, 0.1);
    color: #333;
}

.platform-info {
    flex: 1;
    text-align: left;
}

.platform-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

.platform-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.file-type {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.download-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.download-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-secondary);
    transition: stroke var(--transition-base);
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.info-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

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

.footer-column svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
}

/* Contact Items */
.contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-item svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 0.125rem;
    stroke: var(--primary-color);
}

.contact-item strong {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: white;
}

.contact-link svg {
    stroke: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
        margin-bottom: 2rem;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .app-window {
        transform: none;
    }
    
    .floating-card {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .ai-text {
        text-align: center;
    }
    
    .ai-text .section-title,
    .ai-text .section-description {
        text-align: center;
    }
    
    .ai-text .section-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .smartflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .smartflow-grid .conversion-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .download-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        font-size: 1.25rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .pdf-viewer {
        height: 200px;
    }
    
    .pdf-sidebar {
        width: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .smartflow-grid {
        grid-template-columns: 1fr;
    }
    
    .smartflow-grid .conversion-card:last-child {
        grid-column: auto;
        max-width: none;
    }
    
    .smartflow-workflow {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .download-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: left;
    }
    
    .contact-link {
        justify-content: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
