@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Refined Color Palette - Enterprise SaaS Aesthetic */
    --primary: #0050FF; /* Ultra premium tech blue */
    --primary-dark: #003ECC;
    --primary-light: #E5EDFF;
    --text-main: #09090B; /* Deep, almost pure black */
    --text-muted: #52525B; /* Zinc 600 */
    --bg-main: #FFFFFF;
    --bg-light: #FAFAFA; /* Extremely subtle gray for sectioning */
    --nav-bg: rgba(255, 255, 255, 0.9);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Much softer, wider shadows typical of modern polished UI */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 32px 64px rgba(0, 0, 0, 0.08);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Snappy transition timing function used by Apple and top agencies */
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Polished Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(3rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); letter-spacing: -0.04em; }
h3 { font-size: 1.5rem; letter-spacing: -0.01em; }

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

/* Utilities */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-padding { padding: 140px 0; }
.bg-light { background-color: var(--bg-light); border-top: 1px solid #F4F4F5; border-bottom: 1px solid #F4F4F5; }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* Headers */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 80px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-top: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px; /* Pill shape for premium touch */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 12px;
    letter-spacing: -0.01em;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 80, 255, 0.2);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-secondary:hover {
    background-color: white;
    color: var(--text-main);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--text-main);
    color: white;
}
.btn-accent:hover {
    background-color: #27272A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large { padding: 18px 40px; font-size: 1.125rem; }
.btn-block { width: 100%; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 32px 0;
}
.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }
.brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    color: white;
    transition: var(--transition);
}
.navbar.scrolled .brand { color: var(--text-main); }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a:not(.btn) {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}
.nav-links a:not(.btn):hover { color: white; }
.navbar.scrolled .nav-links a:not(.btn) { color: var(--text-muted); }
.navbar.scrolled .nav-links a:not(.btn):hover { color: var(--text-main); }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Soft dark to vibrant blue gradient overlay */
    background: linear-gradient(to bottom right, rgba(9, 9, 11, 0.7) 0%, rgba(0, 80, 255, 0.5) 100%);
    z-index: -1;
}

.hero-content {
    width: 100%;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-text { max-width: 960px; }
.hero h1 { margin-bottom: 24px; }
.highlight {
    background: linear-gradient(to right, #ffffff, #E5EDFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 56px;
    font-weight: 400;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions { display: flex; gap: 20px; justify-content: center; }

/* Trusted Value Section */
.trusted-value { margin-top: -80px; position: relative; z-index: 10; padding-bottom: 80px; background: transparent; border: none; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.value-card {
    background: white;
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #F4F4F5;
    transition: var(--transition);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.value-card i {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 24px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
}
.value-card h3 { margin-bottom: 12px; font-size: 1.375rem; }
.value-card p { color: var(--text-muted); font-size: 1rem; }

/* Grid 3 */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

/* Services */
.service-card {
    background: white;
    padding: 56px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid #E4E4E7;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    border-color: #D4D4D8;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-icon {
    width: 72px; height: 72px;
    background: var(--bg-light);
    color: var(--text-main);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin-bottom: 32px;
    transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); color: white; }
.service-card h3 { margin-bottom: 16px; font-size: 1.5rem; }
.service-card p { color: var(--text-muted); font-size: 1.05rem; }

/* Process */
.process-steps { display: flex; gap: 40px; position: relative; }
.step { flex: 1; opacity: 0.8; transition: var(--transition); }
.step:hover { opacity: 1; transform: translateY(-4px); }
.step-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 16px;
    display: block;
    width: 100%;
}
.step h3 { font-size: 1.5rem; margin-bottom: 12px; }
.step p { color: var(--text-muted); font-size: 1.05rem; }

/* Live Tracker Dashboard */
.tracker-dashboard {
    background: #09090B; /* Deep elegant dark mode inside white site */
    color: white;
    border-radius: 32px;
    padding: 80px;
    box-shadow: var(--shadow-hover);
}
.tracker-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 80px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.tracker-info h3 { font-size: 2rem; margin-bottom: 16px; }
.status-badge {
    display: inline-flex;
    padding: 6px 16px; background: rgba(0, 80, 255, 0.2);
    color: #60A5FA; border-radius: 20px; font-size: 0.875rem; font-weight: 600;
}
.tracker-route { font-size: 1.5rem; font-weight: 600; color: white; display: flex; gap: 24px; align-items: center; }
.tracker-route i { color: #52525B; }

.progress-container { position: relative; }
.progress-bar {
    position: absolute; top: 36px; left: 0; right: 0; height: 2px;
    background: rgba(255,255,255,0.1); z-index: 1;
}
.progress-bar::after {
    content: ''; position: absolute; height: 100%; background: var(--primary);
    width: 65%; transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.progress-points { display: flex; justify-content: space-between; position: relative; z-index: 2; }
.point { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 140px; }
.point i {
    width: 72px; height: 72px; background: #09090B;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #71717A; border: 2px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.point span { font-size: 0.95rem; font-weight: 500; color: #A1A1AA; }

.point.completed i { background: var(--primary); color: white; border-color: var(--primary); }
.point.completed span { color: white; }
.point.active i { background: white; color: var(--primary); border-color: white; box-shadow: 0 0 0 8px rgba(255,255,255,0.1); }
.point.active span { color: white; font-weight: 600; }

/* Stats */
.blue-gradient {
    background: var(--bg-main);
    color: var(--text-main);
}
.stats-grid { text-align: center; }
.stat-item { padding: 40px; border-right: 1px solid #E4E4E7; }
.stat-item:last-child { border-right: none; }
.stat-value { font-size: 5.5rem; letter-spacing: -0.05em; color: var(--primary); margin-bottom: 8px; }
.stat-label { font-size: 1.125rem; color: var(--text-muted); font-weight: 500;}

/* Split Layout */
.split-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.quote-card {
    background: white; padding: 56px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); border: 1px solid #E4E4E7;
}
.quote-card h2 { margin-bottom: 32px; }
.form-row { display: flex; gap: 24px; margin-bottom: 24px; }
.form-group { flex: 1; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 12px; color: var(--text-muted); }
.form-group input, .form-group select {
    width: 100%; padding: 16px 20px; border: 1px solid #E4E4E7; border-radius: var(--radius-sm);
    font-family: inherit; font-size: 1rem; transition: var(--transition); background: var(--bg-light); color: var(--text-main);
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--primary); outline: none; background: white; box-shadow: 0 0 0 4px var(--primary-light);
}

/* Quote Engine Specifics */
.quote-engine-container {
    max-width: 800px;
    margin: 0 auto;
}
#quote-engine-card {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.engine-header {
    text-align: center;
    margin-bottom: 40px;
}
.engine-header h2 { font-size: 2.5rem; margin-bottom: 8px; }
.engine-header p { color: var(--primary); font-weight: 600; }
.quote-state {
    text-align: center;
    animation: fadeIn 0.5s ease-out forwards;
}
.quote-state.hidden { display: none; }

/* AI Spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}
.ai-spinner {
    width: 64px;
    height: 64px;
    border: 4px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

#qe-status-text {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
#qe-processing p {
    color: var(--text-muted);
}

/* Quote Results */
.result-header h3 { font-size: 1.25rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.price-display {
    font-size: 5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.05em;
    margin-bottom: 32px;
    line-height: 1;
}
.price-display .currency { font-size: 3rem; vertical-align: super; color: var(--text-muted); }
.route-summary {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
    border: 1px solid #E4E4E7;
}
.route-line {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin-bottom: 12px;
}
.route-line i { color: var(--primary); }
.eta { color: var(--text-muted); }
.eta strong { color: var(--text-main); }
.pricing-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding: 0 40px;
}

/* Footer */
.footer { background: #000000; color: white; padding: 120px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; margin-bottom: 80px; }
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 20px; }
.footer-brand p { color: #A1A1AA; font-size: 1.05rem; max-width: 320px; }
.footer-links h4, .footer-contact h4 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: #71717A; margin-bottom: 24px; }
.footer-links ul li { margin-bottom: 16px; }
.footer-links a { color: #E4E4E7; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.footer-contact p { display: flex; align-items: center; gap: 16px; color: #E4E4E7; margin-bottom: 16px; font-size: 1.05rem; }
.footer-contact i { color: var(--primary); font-size: 1.25rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; text-align: center; color: #71717A; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(32px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.animate-up { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 992px) {
    .split-layout { grid-template-columns: 1fr; gap: 64px;}
    .stat-item { border-right: none; border-bottom: 1px solid #E4E4E7; }
    .stat-item:last-child { border-bottom: none; }
    .process-steps { flex-direction: column; }
    .tracker-dashboard { padding: 40px; }
    .point { width: auto; }
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
}
