/* RabbitShipper.com - Main Stylesheet */
/* Modern fulfillment company design */

:root {
    /* Primary Colors - Orange/Coral for speed & energy */
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8A5C;
    
    /* Secondary - Deep Blue for trust */
    --secondary: #1E3A5F;
    --secondary-dark: #152A45;
    --secondary-light: #2E5A8F;
    
    /* Accent */
    --accent: #00D4AA;
    --accent-dark: #00B894;
    
    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--gray-900);
    text-decoration: none;
}
.logo:hover { color: var(--gray-900); }
.logo-icon { font-size: 2rem; }
.logo-text strong { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}
.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.hero-subtitle {
    color: var(--gray-300);
    font-size: 1.25rem;
    margin-bottom: 40px;
}

/* Tracking Box */
.tracking-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 8px;
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    margin: 0 auto;
}

.tracking-form {
    display: flex;
}

.tracking-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 0 20px;
}

.tracking-icon {
    font-size: 1.5rem;
    margin-right: 15px;
}

.tracking-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 18px 0;
    font-size: 16px;
    color: var(--gray-800);
    outline: none;
}
.tracking-input-wrapper input::placeholder {
    color: var(--gray-400);
}

.tracking-input-wrapper button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.tracking-input-wrapper button:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.tracking-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: #FEF2F2;
    color: var(--error);
    border-radius: var(--radius-md);
    margin-top: 10px;
    font-weight: 500;
}

/* Tracking Results */
.tracking-results {
    padding: 60px 0;
    background: var(--gray-50);
}

.result-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white);
}

.result-status {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.result-tracking-num small {
    display: block;
    opacity: 0.7;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.result-tracking-num strong {
    font-size: 1.25rem;
    font-family: monospace;
}

.result-details {
    padding: 30px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
@media (max-width: 768px) {
    .detail-grid { grid-template-columns: repeat(2, 1fr); }
}

.detail-item .label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 5px;
}
.detail-item .value {
    font-weight: 600;
    color: var(--gray-800);
}

.carrier-tracking {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

/* Timeline */
.tracking-timeline {
    padding: 30px;
    border-top: 1px solid var(--gray-200);
}

.tracking-timeline h3 {
    margin-bottom: 25px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding-bottom: 25px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item:not(:first-child) .timeline-dot {
    background: var(--gray-300);
    box-shadow: 0 0 0 2px var(--gray-300);
}

.timeline-time {
    font-size: 13px;
    color: var(--gray-500);
}
.timeline-status {
    font-weight: 600;
    color: var(--gray-800);
    margin: 3px 0;
}
.timeline-location {
    font-size: 14px;
    color: var(--gray-600);
}
.timeline-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 5px;
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}
.section-header h2 {
    margin-bottom: 15px;
}
.section-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
}

.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    transition: all 0.3s;
}
.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, #FFF5F0 0%, #FFF 50%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}
.service-features li {
    padding: 8px 0;
    color: var(--gray-600);
    font-size: 14px;
}

/* Integration Section */
.integration {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.integration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 900px) {
    .integration-content { grid-template-columns: 1fr; }
}

.integration-text h2 {
    margin-bottom: 20px;
}
.integration-text > p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.integration-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.int-feature {
    display: flex;
    gap: 15px;
}
.int-icon {
    font-size: 1.5rem;
}
.int-feature h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}
.int-feature p {
    font-size: 14px;
    color: var(--gray-500);
}

.platforms-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.platform-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}
.platform-card:hover { transform: translateY(-5px); }
.platform-card span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}
.platform-card p {
    font-weight: 600;
    color: var(--gray-700);
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: var(--secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}
.stat-label {
    color: var(--gray-300);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Why Us */
.why-us {
    padding: var(--section-padding) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
@media (max-width: 900px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .why-grid { grid-template-columns: 1fr; }
}

.why-item {
    text-align: center;
    padding: 20px;
}
.why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.why-item h3 {
    margin-bottom: 15px;
}
.why-item p {
    color: var(--gray-600);
}

/* CTA */
.cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 15px;
}
.cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 30px;
}
.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.cta .btn-primary:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
}

/* Footer */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo {
    margin-bottom: 20px;
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand > p {
    margin-bottom: 20px;
    line-height: 1.7;
}
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--gray-400);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    font-size: 14px;
}
@media (max-width: 600px) {
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

.footer-badges {
    display: flex;
    gap: 20px;
}
.footer-badges span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero { padding: 140px 0 80px; }
    
    .tracking-input-wrapper {
        flex-direction: column;
        padding: 15px;
    }
    .tracking-input-wrapper input {
        width: 100%;
        text-align: center;
    }
    .tracking-input-wrapper button {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    .tracking-icon { display: none; }
    
    .result-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
