/* ---------- GLOBAL STYLES ---------- */
body {
    font-family: 'Inter', 'Arial', sans-serif;
    margin: 0;
    background: #f9fafc; /* ultra-clean neutral background */
    color: #1a1a1a;
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ---------- HEADER ---------- */
header {
    background: #ffffff;
    color: #1a1a1a;
    padding: 20px 0;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .logo {
    font-size: 1.9em;
    font-weight: 800;
    display: inline-block;
    margin-left: 20px;
    color: #0043f7; /* premium accent blue */
    letter-spacing: 1px;
}

header nav {
    display: inline-block;
    float: right;
    margin-right: 20px;
}

header nav a {
    color: #333;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

header nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #0043f7;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -6px;
    left: 0;
}

header nav a:hover::after {
    width: 100%;
}

header nav a:hover {
    color: #0043f7;
}

/* ---------- HERO SECTION ---------- */
.hero {
    text-align: center;
    padding: 120px 20px;
    background: #f0f4ff; /* soft premium background */
    border-bottom: 1px solid #e6e8f0;
    color: #1a1a1a;
}

.hero h1 {
    font-size: 3.2em;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25em;
    margin-bottom: 40px;
    color: #555;
}

/* ---------- BUTTONS ---------- */
.home-buttons .btn {
    display: inline-block;
    margin: 10px;
    padding: 15px 40px;
    background: #0043f7; /* premium blue */
    color: white;
    font-weight: 600;
    font-size: 1em;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,67,247,0.2);
}

.home-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,67,247,0.25);
}

/* ---------- TOOL & INFO SECTIONS ---------- */
.tool-section, .info-section {
    max-width: 700px;
    margin: 70px auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.tool-section:hover, .info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.tool-section h2, .info-section h2 {
    margin-bottom: 25px;
    color: #0043f7;
    font-weight: 800;
    font-size: 1.8em;
}

/* ---------- FORM ELEMENTS ---------- */
input[type=file], input[type=text] {
    width: 100%;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 15px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    font-size: 1em;
}

input[type=file]:focus, input[type=text]:focus {
    outline: none;
    border-color: #0043f7;
    box-shadow: 0 0 10px rgba(0,67,247,0.2);
}

button.btn {
    width: 100%;
    padding: 16px;
    background: #0043f7;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
}

button.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,67,247,0.3);
}

/* ---------- ERROR MESSAGE ---------- */
.error {
    background: #ffe6e6;
    color: #d60000;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 6px solid #ff3b2f;
}

/* ---------- FOOTER ---------- */
footer {
    text-align: center;
    padding: 35px;
    background: #f7f8fa;
    color: #555;
    font-size: 0.95em;
    margin-top: 60px;
    border-top: 1px solid #e6e8f0;
}
