/* Custom styles for the application */
:root {
    --ink-900: #0b1f24;
    --ink-700: #1e3a40;
    --ink-500: #456870;
    --primary-600: #1f6f5b;
    --primary-500: #2f8f76;
    --accent-500: #f2c94c;
    --accent-600: #e7b93a;
    --coral-500: #e07a5f;
    --sand-50: #f6f4ef;
    --sand-100: #efeae2;
    --surface-0: #ffffff;
    --shadow-soft: 0 16px 40px rgba(11, 31, 36, 0.12);
    --shadow-card: 0 12px 28px rgba(11, 31, 36, 0.1);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --gradient-hero: linear-gradient(120deg, rgba(47, 143, 118, 0.15), rgba(242, 201, 76, 0.2), rgba(224, 122, 95, 0.12));
}

body {
    font-family: "DM Sans", system-ui, -apple-system, sans-serif;
    color: var(--ink-900);
    background: radial-gradient(circle at top left, #f7f5f2 0%, #f4f0e8 45%, #f1e8dc 100%);
    min-height: 100vh;
}

h1, h2, h3, h4, h5 {
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    color: var(--ink-900);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

.app-shell {
    background: var(--surface-0);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(30, 58, 64, 0.08);
}

.app-nav {
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid rgba(30, 58, 64, 0.08);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.brand-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
    box-shadow: 0 0 0 6px rgba(47, 143, 118, 0.15);
}

.hero {
    padding: 4.5rem 2.5rem 3.5rem;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ccircle cx='24' cy='24' r='2.2' fill='rgba(30,58,64,0.15)'/%3E%3Ccircle cx='96' cy='58' r='1.8' fill='rgba(30,58,64,0.12)'/%3E%3Ccircle cx='54' cy='94' r='2' fill='rgba(30,58,64,0.1)'/%3E%3C/svg%3E");
    opacity: 0.35;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.6rem, 3vw + 1.2rem, 3.6rem);
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem;
    color: var(--ink-700);
}

.primary-btn {
    background: var(--primary-600);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    box-shadow: 0 12px 18px rgba(31, 111, 91, 0.24);
}

.primary-btn:hover {
    background: var(--primary-500);
    color: #ffffff;
}

.ghost-btn {
    border-radius: 999px;
    border: 1px solid rgba(31, 111, 91, 0.25);
    color: var(--primary-600);
    padding: 0.7rem 1.2rem;
    font-weight: 600;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(31, 111, 91, 0.12);
    color: var(--ink-700);
    font-size: 0.85rem;
    font-weight: 600;
}

.workflow-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(30, 58, 64, 0.1);
    background: var(--surface-0);
    box-shadow: var(--shadow-card);
    padding: 1.8rem;
}

.section-title {
    font-size: 1.5rem;
}

.file-preview {
    background: var(--sand-50);
    border: 1px dashed rgba(30, 58, 64, 0.15);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-size: 0.95rem;
    color: var(--ink-500);
}

.stat-card {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(30, 58, 64, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

.list-card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(30, 58, 64, 0.08);
    padding: 1.2rem;
    background: var(--surface-0);
}

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

.order-input {
    width: 72px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(30, 58, 64, 0.2);
    padding: 0.4rem 0.5rem;
}

.app-footer {
    color: var(--ink-500);
    font-size: 0.9rem;
}

.badge-soft {
    background: rgba(242, 201, 76, 0.2);
    color: var(--ink-700);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-weight: 600;
    font-size: 0.8rem;
}

.upload-drop {
    border-radius: var(--radius-md);
    border: 2px dashed rgba(47, 143, 118, 0.4);
    padding: 1.2rem;
    background: rgba(47, 143, 118, 0.06);
}

.alert-custom {
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 111, 91, 0.2);
    background: rgba(31, 111, 91, 0.08);
    color: var(--ink-700);
}
