/* =========================================================================
   Petrol Pump ERP - Frontend Landing Page (home.css)
   ========================================================================= */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #091e3a 0%, #0f4c81 50%, #1e3a8a 100%);
    color: #ffffff;
    padding: 90px 0 110px;
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 50px;
    background: #f8fafc;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.hero-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #ffffff;
    letter-spacing: -0.03em;
}
.hero-title span {
    background: linear-gradient(90deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 540px;
}

/* Floating Fuel Calculator Card */
.fuel-calc-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--text-main);
}
.fuel-calc-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Live Price Marquee / Ticker */
.rate-ticker-wrapper {
    background: #0f172a;
    padding: 12px 0;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}
.rate-ticker-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s ease;
}
.rate-ticker-card:hover {
    transform: translateY(-2px);
    border-color: #60a5fa;
}

/* Feature Cards */
.feature-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}
.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* Stats Counter Section */
.stats-section {
    background: #0f172a;
    color: #ffffff;
    padding: 70px 0;
}
.stat-item {
    text-align: center;
    padding: 1rem;
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #fbbf24;
    margin-bottom: 0.25rem;
}
.stat-label {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Fleet CTA Banner */
.fleet-cta-banner {
    background: linear-gradient(135deg, #1e3a8a, #0f4c81);
    border-radius: 20px;
    padding: 3.5rem 3rem;
    color: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(15, 76, 129, 0.25);
}

/* Footer (Frontend) */
.footer-frontend {
    background: #090e1a;
    color: #94a3b8;
    padding: 70px 0 25px;
    margin-top: auto;
    border-top: 1px solid #1e293b;
}
.footer-frontend h5 {
    color: #f8fafc;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}
.footer-frontend a {
    color: #94a3b8;
    transition: color 0.2s ease;
}
.footer-frontend a:hover {
    color: #fbbf24;
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    margin-top: 50px;
    font-size: 0.85rem;
}
