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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --blue: #0066cc;
    --green: #4CAF50;
    --dark: #1a1a1a;
    --light: #f5f5f5;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    * {
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.1);
    }
}

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

.blue {
    color: var(--blue);
}

.green {
    color: var(--green);
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-primary {
    padding: 12px 30px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #0066cc 0%, #4CAF50 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.hero-bg .shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
}

.hero-bg .shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.hero-bg .shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
    }
}

.road-animation {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.road-line {
    position: absolute;
    bottom: 30px;
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    animation: roadMove 1.5s linear infinite;
}

.road-line:nth-child(1) { left: 10%; animation-delay: 0s; }
.road-line:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.road-line:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.road-line:nth-child(4) { left: 70%; animation-delay: 0.9s; }

@keyframes roadMove {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateX(-800px);
        opacity: 0;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-hero {
    padding: 18px 45px;
    background: white;
    color: var(--blue);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    padding: 18px 45px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: var(--blue);
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 42px;
    color: white;
    font-weight: 800;
}

.stat p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.vehicle-float {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
}

.vehicle {
    font-size: 80px;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.vehicle:nth-child(2) {
    animation-delay: 0.3s;
}

.vehicle:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 20px;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.feature-card {
    background: white;
    padding: 45px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.15);
    border-color: var(--blue);
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 25px;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.service-card {
    background: var(--light);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    border: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--green);
}

.service-card.featured {
    background: var(--gradient);
    color: white;
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
    color: white;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--blue);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.service-icon {
    font-size: 70px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.price {
    font-size: 20px;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 25px;
}

.service-card.featured .price {
    color: white;
}

.service-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.service-card ul li {
    padding: 12px 0;
    color: #666;
    font-size: 15px;
}

.service-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.service-card.featured .service-btn {
    background: white;
    color: var(--blue);
}

.service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Safety Section */
.safety-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(76, 175, 80, 0.05) 100%);
}

.safety-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.safety-item {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.safety-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.safety-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.safety-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.safety-item p {
    color: #666;
    line-height: 1.8;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: white;
}

.pricing-info {
    max-width: 700px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--light);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.pricing-details {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-item span:first-child {
    color: #666;
}

.pricing-item span:last-child {
    font-weight: 700;
    color: var(--blue);
    font-size: 18px;
}

.note {
    text-align: center;
    color: #999;
    font-size: 14px;
    font-style: italic;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
}

.download-content p {
    font-size: 22px;
    margin-bottom: 50px;
    opacity: 0.95;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: var(--dark);
    padding: 18px 35px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.app-icon {
    font-size: 40px;
}

.app-btn small {
    display: block;
    font-size: 12px;
    color: #666;
}

.app-btn strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.contact-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-item p {
    color: #666;
    font-size: 16px;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-col p {
    color: #999;
    margin-bottom: 25px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--green);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-container {
        padding: 15px 20px;
    }
}

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

    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        padding: 12px 20px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 20px;
    }

    /* Hero Section */
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }

    .btn-hero,
    .btn-outline {
        width: 100%;
        text-align: center;
        padding: 16px 35px;
        font-size: 16px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat h3 {
        font-size: 32px;
    }

    .stat p {
        font-size: 14px;
    }

    .vehicle-float {
        flex-direction: row;
        gap: 20px;
        margin-top: 30px;
    }

    .vehicle {
        font-size: 45px;
    }

    /* Sections Padding */
    .features-section,
    .services-section,
    .safety-section,
    .pricing-section,
    .download-section,
    .contact-section {
        padding: 60px 0;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 16px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 35px 25px;
    }

    .feature-icon {
        font-size: 50px;
        margin-bottom: 20px;
    }

    .feature-card h3 {
        font-size: 22px;
    }

    .feature-card p {
        font-size: 15px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 35px 25px;
    }

    .service-icon {
        font-size: 60px;
    }

    .service-card h3 {
        font-size: 24px;
    }

    .price {
        font-size: 18px;
    }

    .service-card ul li {
        font-size: 14px;
        padding: 10px 0;
    }

    .service-btn {
        padding: 14px 35px;
        font-size: 15px;
    }

    /* Safety */
    .safety-features {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .safety-item {
        padding: 30px 25px;
    }

    .safety-icon {
        font-size: 45px;
    }

    .safety-item h3 {
        font-size: 20px;
    }

    .safety-item p {
        font-size: 15px;
    }

    /* Pricing */
    .pricing-card {
        padding: 35px 25px;
    }

    .pricing-card h3 {
        font-size: 24px;
    }

    .pricing-details {
        padding: 25px 20px;
    }

    .pricing-item {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        padding: 15px 0;
    }

    .pricing-item span:last-child {
        font-size: 16px;
    }

    /* Download Section */
    .download-content h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    .download-content p {
        font-size: 18px;
        margin-bottom: 35px;
    }

    .download-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .app-btn {
        width: 100%;
        justify-content: center;
        padding: 18px 30px;
    }

    /* Contact */
    .contact-content {
        gap: 40px;
    }

    .contact-info {
        gap: 25px;
    }

    .contact-item {
        padding: 25px 20px;
    }

    .contact-icon {
        font-size: 40px;
    }

    .contact-item h3 {
        font-size: 20px;
    }

    .contact-form {
        padding: 35px 25px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 15px;
        font-size: 15px;
    }

    .btn-submit {
        padding: 16px;
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 60px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 35px;
    }

    .footer-logo {
        font-size: 24px;
    }

    .footer-col h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-col ul li {
        margin-bottom: 10px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .footer-bottom p {
        font-size: 14px;
    }

    /* Road Animation - Mobile */
    .road-animation {
        height: 60px;
    }

    .road-line {
        width: 60px;
        height: 3px;
        bottom: 20px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Hero */
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat h3 {
        font-size: 28px;
    }

    .stat p {
        font-size: 12px;
    }

    .vehicle {
        font-size: 35px;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 14px;
    }

    /* Cards */
    .feature-card,
    .service-card,
    .safety-item,
    .contact-item {
        padding: 25px 20px;
    }

    .feature-icon,
    .service-icon {
        font-size: 45px;
    }

    .feature-card h3,
    .service-card h3,
    .safety-item h3 {
        font-size: 20px;
    }

    /* Download */
    .download-content h2 {
        font-size: 26px;
    }

    .download-content p {
        font-size: 16px;
    }

    .app-btn {
        padding: 15px 25px;
        gap: 12px;
    }

    .app-icon {
        font-size: 35px;
    }

    .app-btn strong {
        font-size: 16px;
    }

    /* Contact Form */
    .contact-form {
        padding: 25px 20px;
    }

    /* Logo */
    .logo img {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 18px;
    }

    /* Buttons */
    .btn-hero,
    .btn-outline {
        padding: 14px 30px;
        font-size: 15px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
    }

    .vehicle-float {
        margin-top: 20px;
    }

    .vehicle {
        font-size: 40px;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets for mobile */
    .nav-menu a,
    .btn-primary,
    .btn-hero,
    .btn-outline,
    .service-btn,
    .app-btn,
    .btn-submit {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Disable hover animations on touch devices */
    .feature-card:hover,
    .service-card:hover,
    .safety-item:hover {
        transform: none;
    }

    /* Simplify animations for better performance */
    .vehicle {
        animation: none;
    }

    .feature-icon {
        animation: none;
    }
}