:root {
    --primary: #356285;
    --primary-dark: #2a5276;
    --orange: #f9831d;
    --orange-hover: #e07212;
    --white: #ffffff;
    --green: #10b981;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --green-light: #e6f6f0;
    --orange-light: #fef0e6;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-white { color: var(--white); }
.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.font-medium { font-weight: 500; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.w-full { width: 100%; }
.mt-auto { margin-top: auto; }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--white); }
.bg-dark { background-color: var(--primary-dark); color: var(--white); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 131, 29, 0.3);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    box-shadow: inset 0 0 0 2px var(--white);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Animations */
.target-observe {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.target-observe.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--primary);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.stat-orange {
    background-color: rgba(249, 131, 29, 0.15);
    color: var(--orange);
    border: 1px solid rgba(249, 131, 29, 0.3);
}

.stat-green {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-contact {
    color: var(--white);
}

.phone-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: var(--transition);
}

.phone-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.phone-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.availability {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Background Effects */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.bg-glow-1 {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
}

.bg-glow-2 {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, #4f8ab4 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Typography elements */
.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.service-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.icon-blue {
    background-color: var(--bg-light);
    color: var(--primary);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-orange {
    background-color: var(--orange-light);
    color: var(--orange);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.card-target {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-dark);
}

/* Tracking Section */
.tracking {
    padding: 5rem 0;
}

.tracking-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.track-title { max-width: 400px; }

.tracking-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background-color: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Tracking Mockup */
.tracking-mockup {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1.5rem;
    position: relative;
}

.mockup-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tracking-id {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.tracking-status-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.625rem;
    top: 0.5rem;
    bottom: 0;
    width: 2px;
    background-color: #e5e7eb;
}

.timeline-event {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-event:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -2.125rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--white);
    border: 3px solid var(--white);
}

.bg-gray { background-color: #d1d5db; }
.bg-green { background-color: var(--green); }
.bg-orange { background-color: var(--orange); }

.timeline-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.timeline-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.timeline-event.active h4 {
    color: var(--text-dark);
}

.driver-info {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 0.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label { color: var(--text-muted); }

/* Animations inside mockup */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 131, 29, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(249, 131, 29, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 131, 29, 0); }
}

.pulse { animation: pulse 2s infinite; }

.footer { padding: 2rem 0; font-size: 0.875rem;}

/* Calculator Section */
.calculator {
    padding: 5rem 0;
}

.calculator-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calculator-form {
    max-width: 500px;
}

.form-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.group-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(249, 131, 29, 0.1);
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.dimensions-row {
    align-items: center;
    margin-bottom: 1.5rem;
}

.dim-separator {
    color: var(--text-muted);
    font-weight: bold;
}

.calculator-result {
    position: relative;
}

.result-card {
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none !important;
}

.receipt-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.receipt-value {
    font-weight: 600;
    color: var(--text-dark);
}

.receipt-divider {
    border: none;
    border-top: 1px dashed #d1d5db;
    margin: 0.5rem 0;
}

.total-row .receipt-label {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.total-row .receipt-value {
    font-size: 1.5rem;
    font-weight: 800;
}

.spin-icon {
    font-size: 3rem;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.empty-state {
    margin: auto 0;
}

.error-box {
    margin: auto 0;
    background: var(--orange-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .hero-stats { flex-direction: column; align-items: center; }
    .tracking-split, .calculator-split { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
}
