/* ===================== RESET ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0a0a;
    color: #eaeaea;
    line-height: 1.6;
}

/* ===================== LINKS ===================== */
a {
    text-decoration: none;
    color: inherit;
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    padding: 0 40px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

nav ul li a {
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.85;
}

nav ul li a.active,
nav ul li a:hover {
    opacity: 1;
}

/* ===================== BUTTONS ===================== */
.btn {
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn.primary {
    background: #9b5cff;
    color: #fff;
}

.btn.secondary {
    background: transparent;
    border: 1px solid #9b5cff;
    color: #9b5cff;
}

.btn:hover {
    transform: translateY(-2px);
}

/* ===================== HERO ===================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
}

.hero-content {
    max-width: 550px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
    width: 350px;
    height: 350px;
}

/* ===================== PAGE HERO ===================== */
.page-hero {
    padding: 80px 10%;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-hero p {
    opacity: 0.8;
}

/* ===================== SECTIONS ===================== */
section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

/* ===================== CARDS ===================== */
.card-grid,
.services-grid,
.selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.converter-card,
.service-card,
.feature,
.tech-card,
.step {
    padding: 30px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.converter-card h3,
.service-card h2 {
    margin-bottom: 10px;
}

.converter-card p,
.service-card p {
    opacity: 0.8;
    font-size: 14px;
    margin-bottom: 20px;
}

.converter-card button,
.service-card button {
    margin-top: 10px;
}

/* ===================== FEATURES ===================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.feature span {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

/* ===================== CONVERTER PANEL ===================== */
.converter-panel {
    max-width: 700px;
    margin: auto;
    text-align: center;
}

.upload-box {
    margin: 30px 0;
}

.upload-label {
    display: inline-block;
    padding: 30px;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 18px;
    cursor: pointer;
}

.preview-area {
    margin: 30px 0;
    min-height: 200px;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ===================== FORMS ===================== */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: #fff;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 13px;
    opacity: 0.7;
    pointer-events: none;
    transition: 0.3s;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
    top: -8px;
    background: #0a0a0a;
    padding: 0 6px;
    font-size: 11px;
}

/* ===================== AUTH ===================== */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    text-align: center;
}

.auth-subtitle {
    opacity: 0.8;
    margin-bottom: 30px;
}

/* ===================== FOOTER ===================== */
.footer {
    text-align: center;
    padding: 30px;
    font-size: 14px;
    opacity: 0.7;
}
