/* PDF YANTRA - GLOBAL STYLESHEET
    Design: Premium, Minimal, Modern
*/

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    
    /* Color Variants */
    --blue: #2563eb; --blue-light: #eff6ff;
    --red: #ef4444; --red-light: #fef2f2;
    --green: #22c55e; --green-light: #f0fdf4;
    --orange: #f59e0b; --orange-light: #fffbeb;
    --indigo: #6366f1; --indigo-light: #eef2ff;
    --teal: #14b8a6; --teal-light: #f0fdfa;

    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Helpers */
h1, h2, h3, h4 { color: var(--dark); font-weight: 700; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-blue-light { background: var(--blue-light); }
.text-blue { color: var(--blue); }
.bg-red-light { background: var(--red-light); }
.text-red { color: var(--red); }
.bg-green-light { background: var(--green-light); }
.text-green { color: var(--green); }
.bg-indigo-light { background: var(--indigo-light); }
.text-indigo { color: var(--indigo); }
.bg-orange-light { background: var(--orange-light); }
.text-orange { color: var(--orange); }
.bg-teal-light { background: var(--teal-light); }
.text-teal { color: var(--teal); }

/* Header & Nav */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-icon {
    background: var(--primary);
    color: white;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 1.2rem;
}

.logo-text {
    color: var(--dark);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

/* Hero Home */
.hero-home {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.hero-home h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.hero-search input {
    width: 100%;
    padding: 18px 25px 18px 55px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    outline: none;
}

.hero-search .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Tool Hero (Inner Pages) */
.tool-hero {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 { font-size: 2.8rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 30px; }

.hero-stats {
    display: flex;
    gap: 20px;
}

.hero-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

.mockup-placeholder {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
}

/* Tool Grid & Cards */
.tool-section { margin-bottom: 60px; }
.section-title { margin-bottom: 30px; display: flex; align-items: center; gap: 12px; }

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tool-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tool-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.tool-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Tool Box UI */
.tool-box {
    background: var(--white);
    border: 3px dashed var(--border);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 60px;
    transition: all 0.3s;
}

.tool-box.drag-over {
    border-color: var(--primary);
    background: var(--blue-light);
}

.upload-icon {
    width: 80px;
    height: 80px;
    color: var(--primary);
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: white; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* File List UI */
.file-list {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.file-item {
    background: #f1f5f9;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-text { color: white; }
.footer-links h4 { color: white; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links, .mobile-menu-btn { display: none; }
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .hero-home h1 { font-size: 2.5rem; }
    .hero-content { text-align: center; }
    .hero-stats { justify-content: center; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
}