/* =====================================================
   SWIFTSHIP LOGISTICS - MAIN STYLESHEET
   ===================================================== */

:root {
    --primary: #0F172A;
    --secondary: #2563EB;
    --accent: #F97316;
    --bg: #FFFFFF;
    --text: #334155;
    --text-light: #64748B;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --light-bg: #F8FAFC;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --gradient: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #2563EB 100%);
    --gradient-accent: linear-gradient(135deg, #F97316, #EF4444);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---- PRELOADER ---- */
.preloader {
    position: fixed; inset: 0;
    background: var(--primary);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
    font-size: 3rem; color: var(--accent);
    animation: pulse 1s ease-in-out infinite;
    margin-bottom: 1.5rem;
}
.preloader-bar {
    width: 200px; height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px; overflow: hidden;
    margin: 0 auto;
}
.preloader-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 999px;
    animation: loadBar 1.5s ease forwards;
}
@keyframes loadBar { to { width: 100%; } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 6rem 0; }
.text-center { text-align: center; }
.text-danger { color: var(--danger) !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.hidden { display: none; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; color: var(--primary); line-height: 1.2; }
.section-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent);
    background: rgba(249,115,22,0.1); padding: 0.4rem 1rem;
    border-radius: 999px; margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800; margin-bottom: 1rem;
}
.section-title span { color: var(--secondary); }
.section-desc { font-size: 1.05rem; color: var(--text-light); max-width: 600px; }
.section-header { margin-bottom: 3.5rem; }

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.75rem; border-radius: var(--radius);
    font-weight: 600; font-size: 0.95rem; cursor: pointer;
    text-decoration: none; border: none; transition: var(--transition);
    white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,0.1); opacity: 0;
    transition: var(--transition);
}
.btn:hover::after { opacity: 1; }
.btn-primary { background: var(--secondary); color: #fff; }
.btn-primary:hover { background: #1D4ED8; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,0.4); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #EA6C00; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(249,115,22,0.4); }
.btn-outline {
    background: transparent; color: var(--secondary);
    border: 2px solid var(--secondary);
}
.btn-outline:hover { background: var(--secondary); color: #fff; }
.btn-outline-white {
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---- FORMS ---- */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--primary); }
.form-control {
    width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--border);
    border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem;
    color: var(--text); background: var(--bg); transition: var(--transition);
    outline: none;
}
.form-control:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }
.form-control::placeholder { color: var(--text-muted); }
.input-group { position: relative; }
.input-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.input-group .form-control { padding-left: 2.75rem; }
.input-group .toggle-pass { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--text-muted); background: none; border: none; }
.form-error { color: var(--danger); font-size: 0.82rem; margin-top: 0.3rem; display: flex; align-items: center; gap: 0.3rem; }
.form-text { color: var(--text-muted); font-size: 0.82rem; margin-top: 0.3rem; }

/* ---- ALERTS ---- */
.alert {
    padding: 0.9rem 1.25rem; border-radius: var(--radius);
    display: flex; align-items: flex-start; gap: 0.75rem;
    margin-bottom: 1.25rem; font-size: 0.92rem; font-weight: 500;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:none; } }
.alert-success { background: rgba(16,185,129,0.1); color: #065F46; border: 1px solid rgba(16,185,129,0.3); }
.alert-danger  { background: rgba(239,68,68,0.1);  color: #7F1D1D; border: 1px solid rgba(239,68,68,0.3); }
.alert-info    { background: rgba(59,130,246,0.1); color: #1E3A8A; border: 1px solid rgba(59,130,246,0.3); }
.alert-warning { background: rgba(245,158,11,0.1); color: #78350F; border: 1px solid rgba(245,158,11,0.3); }

/* ---- CARDS ---- */
.card {
    background: var(--bg); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); border: 1px solid var(--border);
    overflow: hidden; transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 1.75rem; }

/* ---- BADGES ---- */
.badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.3rem 0.85rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-pending    { background: rgba(245,158,11,0.15); color: #B45309; }
.badge-pickup     { background: rgba(59,130,246,0.15); color: #1D4ED8; }
.badge-transit    { background: rgba(37,99,235,0.15);  color: #1E40AF; }
.badge-out        { background: rgba(249,115,22,0.15); color: #C2410C; }
.badge-delivered  { background: rgba(16,185,129,0.15); color: #065F46; }
.badge-cancelled  { background: rgba(239,68,68,0.15);  color: #B91C1C; }
.badge-sm { font-size: 0.7rem; padding: 0.15rem 0.5rem; background: var(--accent); color: #fff; border-radius: 999px; margin-left: 0.3rem; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 0; transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(15,23,42,0.97); backdrop-filter: blur(20px);
    padding: 0.65rem 0; box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.navbar .container { display: flex; align-items: center; gap: 2rem; }
.navbar-brand {
    display: flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
    color: #fff; text-decoration: none; flex-shrink: 0;
}
.navbar-brand i { color: var(--accent); font-size: 1.6rem; }
.navbar-brand strong { color: var(--accent); }
.navbar-nav {
    list-style: none; display: flex; gap: 0.25rem;
    margin: 0 auto;
}
.navbar-nav a {
    color: rgba(255,255,255,0.8); text-decoration: none;
    font-weight: 500; font-size: 0.92rem;
    padding: 0.5rem 0.9rem; border-radius: 8px; transition: var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active {
    color: #fff; background: rgba(255,255,255,0.1);
}
.navbar-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.notif-bell { position: relative; color: rgba(255,255,255,0.8); font-size: 1.1rem; text-decoration: none; transition: var(--transition); }
.notif-bell:hover { color: var(--accent); }
.notif-count {
    position: absolute; top: -6px; right: -8px;
    background: var(--accent); color: #fff; font-size: 0.65rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.user-dropdown { position: relative; }
.user-btn {
    display: flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.1); color: #fff;
    border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius);
    padding: 0.5rem 1rem; cursor: pointer; font-size: 0.9rem; font-weight: 500;
    transition: var(--transition); font-family: var(--font-body);
}
.user-btn:hover { background: rgba(255,255,255,0.2); }
.user-btn i.fa-user-circle { font-size: 1.1rem; color: var(--accent); }
.dropdown-menu {
    position: absolute; top: calc(100% + 0.75rem); right: 0;
    background: #fff; border-radius: var(--radius); min-width: 200px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: var(--transition); z-index: 100;
}
.user-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.7rem 1.25rem; color: var(--text); text-decoration: none;
    font-size: 0.9rem; font-weight: 500; transition: var(--transition);
}
.dropdown-menu a:hover { background: var(--light-bg); color: var(--secondary); }
.dropdown-divider { height: 1px; background: var(--border); margin: 0.25rem 0; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.25rem; }
.hamburger span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; transition: var(--transition); border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh; background: var(--gradient);
    display: flex; align-items: center; position: relative; overflow: hidden;
    padding: 8rem 0 4rem;
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.hero-particles span {
    position: absolute; width: 4px; height: 4px;
    background: rgba(249,115,22,0.5); border-radius: 50%;
    animation: floatParticle linear infinite;
}
@keyframes floatParticle {
    from { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    to { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg-shapes .shape {
    position: absolute; border-radius: 50%;
    background: rgba(37,99,235,0.1);
    animation: shapeFloat 8s ease-in-out infinite;
}
@keyframes shapeFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }
.hero-content { position: relative; z-index: 2; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(249,115,22,0.2); color: var(--accent);
    border: 1px solid rgba(249,115,22,0.3); padding: 0.4rem 1rem;
    border-radius: 999px; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease both;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem); color: #fff;
    font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s 0.15s ease both;
}
.hero-title .accent-word { color: var(--accent); }
.hero-title .blue-word { color: #60A5FA; }
.hero-desc {
    font-size: 1.1rem; color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem; max-width: 480px;
    animation: fadeInUp 0.6s 0.3s ease both;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeInUp 0.6s 0.45s ease both; }
.hero-stats { display: flex; gap: 2rem; margin-top: 3rem; animation: fadeInUp 0.6s 0.6s ease both; }
.hero-stat .number { font-size: 2rem; font-weight: 900; color: #fff; font-family: var(--font-display); }
.hero-stat .label { font-size: 0.82rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-visual { position: relative; animation: fadeInRight 0.8s 0.3s ease both; }
.hero-card {
    background: rgba(255,255,255,0.08); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg);
    padding: 2rem; color: #fff;
}
.hero-track-form { }
.hero-track-form h3 { font-size: 1.2rem; margin-bottom: 1.25rem; color: #fff; }
.hero-track-input { display: flex; gap: 0.75rem; }
.hero-track-input input {
    flex: 1; background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2); color: #fff;
    padding: 0.8rem 1rem; border-radius: var(--radius); font-family: var(--font-body);
    outline: none; transition: var(--transition);
}
.hero-track-input input::placeholder { color: rgba(255,255,255,0.5); }
.hero-track-input input:focus { border-color: var(--accent); background: rgba(255,255,255,0.15); }
.hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.25rem; }
.hero-feature {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; color: rgba(255,255,255,0.7);
}
.hero-feature i { color: var(--accent); width: 16px; }

@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:none; } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:none; } }

/* ===== TRACK RESULT ===== */
.track-result {
    margin-top: 1.5rem; background: rgba(255,255,255,0.08);
    border-radius: var(--radius); padding: 1rem;
    border: 1px solid rgba(255,255,255,0.15);
}
.track-result .status-pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(16,185,129,0.2); color: #6EE7B7;
    padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
    margin-bottom: 0.75rem;
}
.track-result .track-info p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 0.25rem; }
.track-result .track-info strong { color: #fff; }
.track-progress { display: flex; align-items: center; margin-top: 1rem; }
.track-step { display: flex; flex-direction: column; align-items: center; flex: 1; }
.track-step .dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,0.3); margin-bottom: 0.4rem; position: relative; z-index: 1;
}
.track-step.done .dot { background: var(--accent); }
.track-step.active .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(249,115,22,0.3); }
.track-step .step-label { font-size: 0.65rem; color: rgba(255,255,255,0.5); text-align: center; }
.track-step.done .step-label, .track-step.active .step-label { color: rgba(255,255,255,0.8); }
.track-line { flex: 1; height: 2px; background: rgba(255,255,255,0.15); margin-bottom: 1rem; }
.track-line.done { background: var(--accent); }

/* ===== FEATURES STRIP ===== */
.features-strip { background: var(--primary); padding: 2rem 0; }
.features-strip .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1rem; }
.feature-pill {
    display: flex; align-items: center; gap: 0.75rem;
    color: rgba(255,255,255,0.85); font-size: 0.92rem; font-weight: 500;
}
.feature-pill i { color: var(--accent); font-size: 1.2rem; }

/* ===== SERVICES SECTION ===== */
.services-section { background: var(--light-bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }
.service-card {
    background: var(--bg); border-radius: var(--radius-lg); padding: 2rem;
    border: 1px solid var(--border); transition: var(--transition);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient); opacity: 0; transition: var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover * { color: rgba(255,255,255,0.9) !important; }
.service-card:hover .service-icon { background: rgba(255,255,255,0.15) !important; }
.service-icon {
    width: 64px; height: 64px; border-radius: var(--radius);
    background: rgba(37,99,235,0.1); display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--secondary); margin-bottom: 1.25rem;
    transition: var(--transition); position: relative; z-index: 1;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; position: relative; z-index: 1; transition: var(--transition); }
.service-card p { font-size: 0.9rem; color: var(--text-light); position: relative; z-index: 1; transition: var(--transition); }
.service-card .learn-more {
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: var(--secondary); font-size: 0.88rem; font-weight: 600;
    text-decoration: none; margin-top: 1rem; position: relative; z-index: 1;
    transition: var(--transition);
}
.service-card:hover .learn-more { color: rgba(255,255,255,0.9); }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--bg); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; position: relative; }
.step-card { text-align: center; padding: 2rem 1.5rem; position: relative; }
.step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--gradient); color: #fff;
    font-size: 1.5rem; font-weight: 900; font-family: var(--font-display);
    margin: 0 auto 1.25rem; position: relative;
    box-shadow: 0 8px 25px rgba(37,99,235,0.3);
    animation: stepPulse 3s ease-in-out infinite;
}
@keyframes stepPulse { 0%,100% { box-shadow: 0 8px 25px rgba(37,99,235,0.3); } 50% { box-shadow: 0 8px 35px rgba(37,99,235,0.6); } }
.step-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.step-card p { font-size: 0.9rem; color: var(--text-light); }

/* ===== STATS ===== */
.stats-section { background: var(--gradient); padding: 5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.stat-item { text-align: center; color: #fff; }
.stat-item .stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900;
    font-family: var(--font-display); color: var(--accent);
    display: block; line-height: 1;
}
.stat-item .stat-icon { font-size: 2rem; margin-bottom: 1rem; color: rgba(255,255,255,0.4); }
.stat-item .stat-label { font-size: 1rem; color: rgba(255,255,255,0.75); margin-top: 0.5rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--light-bg); overflow: hidden; }
.testimonial-slider { position: relative; }
.testimonial-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.testimonial-card {
    min-width: 100%; padding: 0 1rem;
}
.testimonial-inner {
    background: var(--bg); border-radius: var(--radius-lg);
    padding: 2.5rem; max-width: 700px; margin: 0 auto;
    box-shadow: var(--shadow); border: 1px solid var(--border);
    position: relative;
}
.testimonial-inner::before {
    content: '\201C'; position: absolute; top: 1rem; left: 1.75rem;
    font-size: 5rem; color: var(--secondary); opacity: 0.1;
    font-family: Georgia, serif; line-height: 1;
}
.testimonial-stars { color: #FBBF24; margin-bottom: 1rem; font-size: 1rem; }
.testimonial-text { font-size: 1.05rem; color: var(--text); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--gradient); display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1.2rem; flex-shrink: 0;
}
.testimonial-author .name { font-weight: 700; font-size: 0.95rem; }
.testimonial-author .role { font-size: 0.82rem; color: var(--text-muted); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.slider-btn {
    width: 44px; height: 44px; border-radius: 50%;
    border: 2px solid var(--border); background: var(--bg); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text); transition: var(--transition);
}
.slider-btn:hover { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot {
    width: 8px; height: 8px; border-radius: 999px;
    background: var(--border); border: none; cursor: pointer;
    transition: var(--transition); padding: 0;
}
.slider-dot.active { background: var(--secondary); width: 24px; }

/* ===== CTA SECTION ===== */
.cta-section { background: var(--gradient); padding: 6rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(249,115,22,0.15) 0%, transparent 70%);
}
.cta-section h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; position: relative; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== FOOTER ===== */
.footer { background: var(--primary); color: rgba(255,255,255,0.8); }
.footer-top { padding: 5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.footer-logo i { color: var(--accent); font-size: 1.5rem; }
.footer-logo strong { color: var(--accent); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
    width: 38px; height: 38px; border-radius: 8px;
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: var(--transition); font-size: 0.95rem;
}
.social-links a:hover { background: var(--secondary); color: #fff; transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: var(--transition); display: flex; align-items: center; gap: 0.5rem; }
.footer-col ul a i { font-size: 0.7rem; color: var(--accent); }
.footer-col ul a:hover { color: var(--accent); padding-left: 4px; }
.contact-info-list li { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 0.6rem; display: flex; align-items: flex-start; gap: 0.6rem; }
.contact-info-list li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== PAGE HERO ===== */
.page-hero {
    background: var(--gradient); padding: 9rem 0 5rem;
    text-align: center; position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 500px; margin: 0 auto 1.5rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb i { font-size: 0.7rem; }

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: 100vh; background: var(--gradient);
    display: flex; align-items: center; padding: 6rem 1.5rem 2rem;
}
.auth-container { width: 100%; max-width: 480px; margin: 0 auto; }
.auth-card { background: var(--bg); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--primary); font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; text-decoration: none; }
.auth-logo i { color: var(--accent); font-size: 1.7rem; }
.auth-logo strong { color: var(--accent); }
.auth-title { font-size: 1.6rem; text-align: center; margin-bottom: 0.4rem; }
.auth-subtitle { color: var(--text-muted); text-align: center; margin-bottom: 2rem; font-size: 0.92rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted); }
.auth-footer a { color: var(--secondary); text-decoration: none; font-weight: 600; }

/* ===== TRACK PAGE ===== */
.track-hero { background: var(--gradient); padding: 9rem 0 4rem; }
.track-search-box { background: rgba(255,255,255,0.08); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); padding: 2.5rem; max-width: 600px; margin: 0 auto; }
.track-input-row { display: flex; gap: 0.75rem; }
.track-input-row input { flex: 1; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 0.9rem 1.25rem; border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; outline: none; }
.track-input-row input::placeholder { color: rgba(255,255,255,0.5); }
.track-input-row input:focus { border-color: var(--accent); }
.track-result-section { padding: 4rem 0; }
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before { content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -2.5rem; top: 4px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--border); border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--border);
}
.timeline-item.active::before { background: var(--accent); box-shadow: 0 0 0 2px var(--accent), 0 0 0 5px rgba(249,115,22,0.2); }
.timeline-item.done::before { background: var(--success); box-shadow: 0 0 0 2px var(--success); }
.timeline-item .time { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.timeline-item h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.timeline-item p { font-size: 0.88rem; color: var(--text-light); }
.track-detail-card { background: var(--bg); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.detail-item .label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.detail-item .value { font-size: 0.95rem; font-weight: 600; color: var(--primary); }

/* ===== CALCULATOR ===== */
.calc-section { padding: 9rem 0 5rem; background: var(--light-bg); }
.calc-card { background: var(--bg); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); max-width: 700px; margin: 0 auto; }
.calc-result { margin-top: 2rem; background: var(--gradient); border-radius: var(--radius); padding: 2rem; text-align: center; color: #fff; display: none; }
.calc-result.show { display: block; animation: fadeInUp 0.3s ease; }
.calc-result .price { font-size: 3rem; font-weight: 900; color: var(--accent); }
.calc-result .price-label { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.price-breakdown { margin-top: 1.25rem; text-align: left; }
.price-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.price-row.total { font-weight: 700; color: #fff; border-bottom: none; padding-top: 0.75rem; font-size: 1rem; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== DASHBOARD ===== */
.dash-layout { display: flex; min-height: 100vh; padding-top: 70px; }
.dash-sidebar {
    width: 260px; background: var(--primary); color: #fff;
    position: fixed; top: 70px; left: 0; bottom: 0;
    overflow-y: auto; z-index: 100; transition: var(--transition);
}
.dash-sidebar-header { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.dash-sidebar-header .user-info { display: flex; align-items: center; gap: 0.75rem; }
.dash-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.dash-user-name { font-weight: 600; font-size: 0.95rem; }
.dash-user-role { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.dash-nav { list-style: none; padding: 1rem 0; }
.dash-nav li a {
    display: flex; align-items: center; gap: 0.85rem;
    padding: 0.8rem 1.5rem; color: rgba(255,255,255,0.65);
    text-decoration: none; font-size: 0.92rem; transition: var(--transition);
}
.dash-nav li a:hover, .dash-nav li a.active {
    color: #fff; background: rgba(255,255,255,0.08);
    border-right: 3px solid var(--accent);
}
.dash-nav li a i { width: 18px; text-align: center; }
.dash-nav .nav-section { padding: 1rem 1.5rem 0.4rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); }
.dash-main { margin-left: 260px; flex: 1; background: var(--light-bg); min-height: calc(100vh - 70px); }
.dash-content { padding: 2rem; }
.dash-page-title { font-size: 1.5rem; margin-bottom: 0.25rem; }
.dash-breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; }
.dash-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.dash-stat-card { background: var(--bg); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); display: flex; align-items: center; gap: 1rem; }
.dash-stat-icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.dash-stat-icon.blue { background: rgba(37,99,235,0.1); color: var(--secondary); }
.dash-stat-icon.orange { background: rgba(249,115,22,0.1); color: var(--accent); }
.dash-stat-icon.green { background: rgba(16,185,129,0.1); color: var(--success); }
.dash-stat-icon.purple { background: rgba(139,92,246,0.1); color: #8B5CF6; }
.dash-stat-value { font-size: 1.7rem; font-weight: 800; font-family: var(--font-display); color: var(--primary); }
.dash-stat-label { font-size: 0.82rem; color: var(--text-muted); }
.dash-card { background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.dash-card-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.dash-card-header h3 { font-size: 1rem; }
.dash-card-body { padding: 1.5rem; }
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
thead th { text-align: left; padding: 0.75rem 1rem; background: var(--light-bg); color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; border-bottom: 1px solid var(--border); }
tbody td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
tbody tr:hover { background: var(--light-bg); }
tbody tr:last-child td { border-bottom: none; }
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state i { font-size: 3rem; color: var(--text-muted); margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== NOTIF PAGE ===== */
.notif-item { display: flex; gap: 1rem; padding: 1.25rem; border-bottom: 1px solid var(--border); transition: var(--transition); }
.notif-item:hover { background: var(--light-bg); }
.notif-item.unread { background: rgba(37,99,235,0.04); border-left: 3px solid var(--secondary); }
.notif-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(37,99,235,0.1); display: flex; align-items: center; justify-content: center; color: var(--secondary); flex-shrink: 0; }
.notif-title { font-weight: 600; font-size: 0.92rem; margin-bottom: 0.25rem; }
.notif-msg { font-size: 0.88rem; color: var(--text-light); margin-bottom: 0.25rem; }
.notif-time { font-size: 0.78rem; color: var(--text-muted); }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; }
.contact-info-card { background: var(--gradient); border-radius: var(--radius-lg); padding: 2.5rem; color: #fff; }
.contact-info-card h3 { color: #fff; margin-bottom: 0.75rem; }
.contact-info-card p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail-icon { width: 44px; height: 44px; border-radius: var(--radius); background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail h4 { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin-bottom: 0.25rem; }
.contact-detail p { color: #fff; font-size: 0.92rem; margin: 0; }
.contact-form-card { background: var(--bg); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); }

/* ===== ABOUT PAGE ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual { position: relative; }
.about-img-wrapper { border-radius: var(--radius-lg); overflow: hidden; background: var(--gradient); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.about-img-wrapper i { font-size: 8rem; color: rgba(255,255,255,0.15); }
.about-badge { position: absolute; bottom: -1rem; left: -1rem; background: var(--accent); color: #fff; border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-lg); }
.about-badge .num { font-size: 2rem; font-weight: 900; line-height: 1; }
.about-badge .txt { font-size: 0.78rem; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.value-card { background: var(--bg); border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--border); text-align: center; transition: var(--transition); }
.value-card:hover { border-color: var(--secondary); transform: translateY(-4px); }
.value-card i { font-size: 2rem; color: var(--secondary); margin-bottom: 1rem; }
.value-card h4 { margin-bottom: 0.5rem; }
.value-card p { font-size: 0.88rem; color: var(--text-light); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.75rem; }
.team-card { background: var(--bg); border-radius: var(--radius-lg); padding: 2rem; text-align: center; border: 1px solid var(--border); transition: var(--transition); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.8rem; font-weight: 700; color: #fff; }
.team-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.team-card .role { font-size: 0.85rem; color: var(--accent); font-weight: 600; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--secondary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border: none; font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(37,99,235,0.4);
    opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right.visible { opacity: 1; transform: none; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { max-width: 400px; }
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero-stats { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 4rem 0; }
    .navbar-nav, .navbar-actions .btn { display: none; }
    .hamburger { display: block; }
    .navbar-actions { gap: 0.5rem; }
    .navbar-actions .notif-bell, .navbar-actions .user-dropdown { display: flex; }
    .navbar-nav {
        display: flex !important; flex-direction: column;
        position: fixed; top: 70px; left: 0; right: 0;
        background: var(--primary); padding: 1.5rem;
        transform: translateX(-100%); transition: var(--transition);
        min-height: calc(100vh - 70px); gap: 0.25rem;
    }
    .navbar-nav.open { transform: none; }
    .navbar-nav a { font-size: 1.1rem; padding: 0.85rem 1rem; border-radius: var(--radius); }
    .navbar-actions .btn { display: inline-flex !important; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .calc-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-stats { flex-wrap: wrap; }
    .detail-grid { grid-template-columns: 1fr; }
    .track-input-row { flex-direction: column; }
    .dash-sidebar { transform: translateX(-100%); }
    .dash-sidebar.open { transform: none; }
    .dash-main { margin-left: 0; }
    .dash-content { padding: 1.25rem; }
    .dash-stats-row { grid-template-columns: 1fr 1fr; }
    .hero-track-input { flex-direction: column; }
    .hero-features { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .auth-card { padding: 2rem 1.5rem; }
    .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .btn-lg { padding: 0.85rem 1.5rem; font-size: 0.95rem; }
    .dash-stats-row { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .hero-stat .number { font-size: 1.5rem; }
}