* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f8fafc;
    color: #334155;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #0284c7;
}

/* Tool Navigation Links */
.tool-menu {
    display: flex;
    gap: 12px;
}

.tool-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: 0.2s;
}

.tool-link:hover, .tool-link.active {
    background: #f0f9ff;
    color: #0284c7;
}

/* Right Nav Actions */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
    color: #64748b;
    font-size: 14px;
}

.lang-selector select {
    border: none;
    background: transparent;
    outline: none;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
}

.btn-auth {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-login {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.btn-login:hover {
    border-color: #0284c7;
    color: #0284c7;
}

.btn-signup {
    background: #0284c7;
    border: none;
    color: white;
}

.btn-signup:hover {
    background: #0369a1;
}

/* Hero Section */
.hero-section {
    max-width: 950px;
    margin: 30px auto;
    padding: 0 20px;
    text-align: center;
}

/* Quick Action Tabs Above Upload */
.action-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.action-tab {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: 0.2s;
}

.action-tab:hover, .action-tab.active {
    background: #0284c7;
    color: white;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.main-title {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.sub-title {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Upload Container */
.upload-container {
    background: #ffffff;
    border: 2px dashed #38bdf8;
    border-radius: 16px;
    padding: 45px 20px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.05);
}

.upload-container:hover {
    border-color: #0284c7;
    background: #f0f9ff;
}

.upload-icon {
    font-size: 52px;
    color: #0284c7;
    margin-bottom: 15px;
}

.upload-text {
    font-size: 18px;
    color: #334155;
    font-weight: 500;
    margin-bottom: 5px;
}

.browse-text {
    color: #0284c7;
    font-weight: 600;
    text-decoration: underline;
}

.file-limits {
    display: block;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.btn-primary {
    background: #0284c7;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
    background: #0369a1;
    transform: translateY(-2px);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 25px;
    font-size: 13px;
    color: #64748b;
}

.trust-badges i {
    color: #0284c7;
}

/* Controls Section */
.controls-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    margin-top: 35px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.preview-box img {
    max-width: 100%;
    max-height: 280px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
    margin-bottom: 25px;
}

.setting-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.setting-group label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.setting-group.full-width {
    grid-column: span 2;
}

.setting-group input {
    padding: 11px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

.hidden {
    display: none;
}

/* Steps Grid */
.section-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 28px;
    color: #0f172a;
}

.section-heading p {
    color: #64748b;
    margin-top: 5px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.step-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.step-num {
    width: 40px;
    height: 40px;
    background: #0284c7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-card h3 {
    margin-bottom: 10px;
    color: #1e293b;
}

.step-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 8% 30px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.6;
}

.footer-col h4 {
    color: white;
    margin-bottom: 18px;
    font-size: 15px;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 13px;
    transition: 0.2s;
}

.footer-col a:hover {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
}

.powered-by span {
    color: #38bdf8;
    font-weight: 700;
}
