:root {
    /* Premium Color Palette */
    --primary: #4F46E5;
    /* Indigo 600 - More modern than standard blue */
    --primary-light: #818CF8;
    --primary-dark: #3730A3;
    --secondary: #0EA5E9;
    /* Sky 500 */
    --accent: #F43F5E;
    /* Rose 500 for CTAs */

    --bg-body: #F8FAFC;
    /* Slate 50 */
    --bg-card: #FFFFFF;

    --text-main: #1E293B;
    /* Slate 800 */
    --text-muted: #64748B;
    /* Slate 500 */
    --text-light: #94A3B8;

    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #0EA5E9 100%);
    --gradient-hero: linear-gradient(rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.7));

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    --container-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Utils */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 8px;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--bg-body);
}

.btn-accent {
    background: var(--accent);
}

.btn-accent:hover {
    background: #E11D48;
    /* Rose 600 */
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background: var(--gradient-hero), url('https://images.unsplash.com/photo-1517677284097-9b7be88bb856?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    display: flex;
    align-items: center;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: 40px;
}

.hero-content {
    max-width: 800px;
    padding-top: 40px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
}

/* Cards */
.services-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.card {
    background: var(--bg-card);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.card:hover .icon-box {
    background: var(--primary);
    color: white;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Features */
.features-section {
    padding: 100px 0;
    background: white;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-img {
    flex: 1;
    position: relative;
}

.feature-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.feature-content {
    flex: 1;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.feature-list i {
    color: #10B981;
    /* Emerald 500 */
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* CTA Banner */
.cta-banner {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Footer */
footer {
    background: #0F172A;
    /* Slate 900 */
    color: #E2E8F0;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: #94A3B8;
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94A3B8;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--primary);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #64748B;
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Add JS toggle later */
    .hero h1 {
        font-size: 2.5rem;
    }

    .feature-row {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Tracking Input Styling (Unique) */
.track-input-group {
    background: white;
    padding: 8px;
    border-radius: 100px;
    display: flex;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 40px auto 0;
    /* Center it */
}

.track-input {
    border: none;
    background: transparent;
    padding: 0 24px;
    flex: 1;
    font-size: 1.1rem;
    outline: none;
}

.track-btn {
    border-radius: 100px;
    padding: 12px 32px;
    font-size: 1rem;
}