/* Color Palette - Same as On Time App */
:root {
    --primary-color: #fff9f4;    /* Light cream */
    --secondary-color: #94cec3;  /* Teal */
    --accent-color: #0f0550;     /* Dark blue */
    --tertiary-color: #dba8a0;   /* Light pink */
    --text-dark: #0f0550;
    --text-light: #ffffff;
    --shadow: rgba(15, 5, 80, 0.1);
    --gradient: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link:hover {
    color: var(--secondary-color);
}

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

.nav-link:hover::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--accent-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out;
}

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

.hero-description {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--accent-color);
    box-shadow: 0 10px 30px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow);
}

.btn-secondary {
    background: rgba(15, 5, 80, 0.8);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(15, 5, 80, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
    margin-top: 2rem;
}

.phone-mockup {
    position: relative;
    animation: phoneFloat 4s ease-in-out infinite;
    transform: translateY(20px);
}

.phone-img {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* Animated Map Background */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Real Map Container */
.real-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
}

.real-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.1) brightness(0.9) blur(1px);
}



/* Floating Route Info Cards */
.route-info {
    position: absolute;
    z-index: 3;
    animation: floatCard 6s ease-in-out infinite;
}

.route-info-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.route-info-2 {
    top: 45%;
    right: 35%;
    animation-delay: 2s;
}

.route-info-3 {
    bottom: 12%;
    right: 11%;
    animation-delay: 4s;
}

.route-card {
    background: rgba(255, 249, 244, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 206, 195, 0.3);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 25px rgba(15, 5, 80, 0.15);
    transition: all 0.3s ease;
    min-width: 200px;
}

.route-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(15, 5, 80, 0.25);
    background: rgba(255, 249, 244, 1);
}

.route-card i {
    font-size: 1.2rem;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.route-card span {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.route-status {
    background: var(--secondary-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        background: var(--secondary-color);
        transform: scale(1);
    }
    50% {
        background: var(--tertiary-color);
        transform: scale(1.05);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.9;
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
        opacity: 1;
    }
    66% {
        transform: translateY(-5px) rotate(-1deg);
        opacity: 0.95;
    }
}

/* Map Responsive Adjustments */
@media (max-width: 768px) {
    .real-map {
        opacity: 0.8;
    }

    .route-info {
        display: none;
    }
}



/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.section-title:hover {
    transform: translateY(-5px);
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    transition: opacity 0.3s ease;
}

.section-header:hover .section-subtitle {
    opacity: 1;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 249, 244, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(148, 206, 195, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(15, 5, 80, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(148, 206, 195, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(148, 206, 195, 0.2), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(15, 5, 80, 0.2);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: white;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(15, 5, 80, 0.2);
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: var(--gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(15, 5, 80, 0.3);
}

.feature-card:hover .feature-icon::after {
    opacity: 0.3;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    transition: opacity 0.3s ease;
}

.feature-card:hover p {
    opacity: 1;
}

/* Apps Section */
.apps {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 50%, rgba(148, 206, 195, 0.3) 100%);
    position: relative;
    overflow: hidden;
}

.apps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 15s ease-in-out infinite;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.app-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(15, 5, 80, 0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 80px rgba(15, 5, 80, 0.25);
    border-color: var(--secondary-color);
}

.app-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 15px 40px rgba(15, 5, 80, 0.2);
}

.app-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 35px;
    background: var(--gradient);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 25px 60px rgba(15, 5, 80, 0.3);
}

.app-card:hover .app-icon::before {
    opacity: 0.3;
    transform: scale(1.1);
}

.app-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.app-card:hover h3 {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.app-features {
    list-style: none;
    text-align: left;
    max-width: 280px;
    margin: 0 auto;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    padding: 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.app-features li:hover {
    background: rgba(148, 206, 195, 0.1);
    transform: translateX(10px);
}

.app-features i {
    color: var(--secondary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.app-features li:hover i {
    color: var(--tertiary-color);
    transform: scale(1.2);
}

/* Download Section */
.download {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(15, 5, 80, 0.9) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(148, 206, 195, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(219, 168, 160, 0.2) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.download .section-title {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.download .section-subtitle {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 249, 244, 0.95);
    backdrop-filter: blur(20px);
    color: var(--accent-color);
    border-radius: 20px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(148, 206, 195, 0.3), transparent);
    transition: left 0.6s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 1);
}

.download-btn i {
    font-size: 2rem;
}

.download-btn div {
    text-align: left;
}

.download-btn span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
}

.download-btn strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.qr-container.show {
    opacity: 1;
    transform: scale(1);
}

.qr-code {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: var(--accent-color);
    color: var(--text-light);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.footer-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
}

.footer-description {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    color: var(--text-light);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(148, 206, 195, 0.3);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--secondary-color);
    transition: height 0.3s ease;
    border-radius: 2px;
}

.footer-links a:hover::before {
    height: 100%;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    color: var(--text-light);
    background: rgba(255,255,255,0.05);
    padding-left: 1rem;
}

.contact-item i {
    width: 20px;
    color: var(--secondary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    /* border-top: 1px solid rgba(255,255,255,0.1); */
    padding: 2rem 0;
    /* background: rgba(0,0,0,0.2); */
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

.made-with-love {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.made-with-love i {
    color: #e74c3c;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Animations */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Additional Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(148, 206, 195, 0.3); }
    50% { box-shadow: 0 0 40px rgba(148, 206, 195, 0.6); }
}

.btn-primary:hover {
    animation: pulse 2s infinite;
}

.feature-icon {
    animation: bounce 3s ease-in-out infinite;
}

.feature-icon:hover {
    animation: glow 1.5s ease-in-out infinite;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        align-items: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card, .app-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-main {
        gap: 1.5rem;
    }

    .footer-section {
        padding: 0 1rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }

    .phone-mockup {
        transform: translateY(10px);
    }

    .phone-img {
        max-width: 250px;
    }
}
