* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background: #f6f9fc;
    padding: 1.5rem;
}

.app-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* Navigation */
.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2.5rem;
    background: white;
    border-bottom: 1px solid #eef2f6;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0b2b4a;
}

.logo span { color: #2563eb; }

.nav-links {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #2c3e5c;
    padding: 0.4rem 0;
    border-bottom: 3px solid transparent;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-links a.active, .nav-links a:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Page Content */
.page-content {
    padding: 2rem 2.5rem 2.5rem;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #eef4ff 0%, #f0f5fe 100%);
    border-radius: 2rem;
    padding: 3rem;
    margin-bottom: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.hero-text h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0b2b4a;
}

.hero-text p {
    color: #3a5670;
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0.8rem 0 1.2rem;
}

.btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover { background: #1d4ed8; }

.hero-icon i { font-size: 5rem; color: #2563eb; opacity: 0.3; }

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-card {
    background: #f8fafd;
    border-radius: 1.4rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e6edf6;
}

.feature-card i { font-size: 2rem; color: #2563eb; margin-bottom: 0.5rem; }
.feature-card h4 { color: #0b2b4a; }
.feature-card p { color: #5d738b; font-size: 0.9rem; }

/* Track */
.track-section {
    background: #f0f5fe;
    padding: 1.8rem 2rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.track-input-group {
    display: flex;
    flex: 1 1 300px;
    gap: 0.5rem;
}

.track-input-group input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: 1px solid #dbe7f5;
    border-radius: 60px;
    font-size: 1rem;
    background: white;
    outline: none;
}

.track-input-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}

.track-input-group button {
    background: #2563eb;
    border: none;
    color: white;
    padding: 0 2rem;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
}

.result-card {
    background: white;
    border-radius: 1.8rem;
    padding: 1.8rem 2rem;
    border: 1px solid #ecf3fa;
    display: none;
}

.result-card.show { display: block; }

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 1.5rem 0;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #dbe7f5;
    transform: translateY(-50%);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    background: white;
    padding: 0 0.3rem;
}

.step-icon {
    width: 2.6rem;
    height: 2.6rem;
    background: #eef2f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #dbe7f5;
    margin-bottom: 0.4rem;
}

.step.active .step-icon {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.step.done .step-icon {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* Admin */
.admin-panel {
    background: #f8fafd;
    border-radius: 1.4rem;
    padding: 1.8rem;
    border: 1px solid #e6edf6;
}

.admin-panel table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-panel th, .admin-panel td {
    padding: 0.7rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid #e6edf6;
}

.admin-panel .status-select {
    padding: 0.2rem 0.5rem;
    border-radius: 30px;
    border: 1px solid #dbe7f5;
}

.btn-sm {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    cursor: pointer;
}

/* Contact Form */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #dbe7f5;
    border-radius: 10px;
}

.contact-form textarea { height: 150px; }

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.alert-success { background: #d1f0e6; color: #0d6b4a; }
.alert-error { background: #fdd; color: #900; }

/* Footer */
.footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eaf0f6;
    text-align: center;
    color: #6f87a2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 700px) {
    .navbar { flex-direction: column; gap: 1rem; }
    .hero { flex-direction: column; text-align: center; }
    .track-section { flex-direction: column; }
    .track-input-group { flex-wrap: wrap; }
    .track-input-group button { width: 100%; }
}