/* =============================================
   MobilityMY - Wheelchair Rental Website
   Modern, Clean, Accessible Design
   ============================================= */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;

    /* 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;

    /* Semantic */
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   Typography
   ============================================= */

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

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

/* =============================================
   Buttons
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--gray-800);
    border-color: var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

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

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* =============================================
   Header & Navigation
   ============================================= */

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
    font-weight: 600;
}

.phone-link:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* =============================================
   Hero Section
   ============================================= */

.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, #e0f2fe 100%);
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
}

.feature-icon {
    color: var(--success);
    font-weight: bold;
}

/* Hero Image / Showcase */
.hero-image {
    position: relative;
}

.image-card {
    position: relative;
    z-index: 2;
}

.wheelchair-showcase {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.showcase-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--warning);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.wheelchair-visual {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-bottom: 24px;
}

.wheelchair-icon {
    font-size: 8rem;
}

.showcase-info h3 {
    margin-bottom: 8px;
}

.showcase-info p {
    color: var(--gray-500);
    margin-bottom: 16px;
}

.showcase-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.price-label {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.price-value span {
    font-size: 1rem;
    font-weight: 500;
}

/* Floating Cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.float-card-1 {
    top: 20px;
    left: -40px;
}

.float-card-2 {
    bottom: 40px;
    right: -20px;
    animation-delay: 1.5s;
}

.float-icon {
    font-size: 2rem;
}

.float-card strong {
    display: block;
    color: var(--gray-900);
}

.float-card small {
    color: var(--gray-500);
    font-size: 0.875rem;
}

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

/* =============================================
   Trust Bar
   ============================================= */

.trust-bar {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.trust-bar .container {
    text-align: center;
}

.trust-label {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-item {
    color: var(--gray-400);
    font-weight: 600;
    font-size: 1rem;
}

/* =============================================
   Section Headers
   ============================================= */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* =============================================
   Products Section
   ============================================= */

.products {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card.featured {
    border: 2px solid var(--primary);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gray-800);
    color: var(--white);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    z-index: 1;
}

.product-badge.featured-badge {
    background: var(--primary);
}

.product-image {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    padding: 40px;
    text-align: center;
}

.product-icon {
    font-size: 6rem;
}

.product-content {
    padding: 24px;
}

.product-content h3 {
    margin-bottom: 12px;
}

.product-desc {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.product-features {
    margin-bottom: 24px;
}

.product-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-600);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.product-pricing {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.price-box {
    flex: 1;
    background: var(--gray-50);
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.price-type {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.price-amount small {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
}

/* More Products / Accessories */
.more-products {
    text-align: center;
}

.more-products h3 {
    margin-bottom: 24px;
}

.accessory-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.accessory-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    color: var(--gray-700);
}

.accessory-icon {
    font-size: 1.25rem;
}

/* =============================================
   Rental Section
   ============================================= */

.rental {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.rental-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.rental-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}

.rental-card:hover {
    border-color: var(--gray-200);
}

.rental-card.popular {
    background: var(--primary);
    color: var(--white);
}

.rental-card.popular .rental-header h3,
.rental-card.popular .rental-row,
.rental-card.popular .rental-price {
    color: var(--white);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.rental-header {
    text-align: center;
    margin-bottom: 32px;
}

.rental-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.rental-header p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.rental-prices {
    margin-bottom: 32px;
}

.rental-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: var(--gray-600);
}

.rental-card.popular .rental-row {
    border-color: rgba(255,255,255,0.2);
}

.rental-row:last-child {
    border-bottom: none;
}

.rental-price {
    font-weight: 700;
    color: var(--gray-900);
}

.rental-note {
    text-align: center;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.rental-note p {
    color: var(--gray-600);
}

/* =============================================
   Why Us Section
   ============================================= */

.why-us {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* =============================================
   Locations Section
   ============================================= */

.locations {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.location-card {
    background: var(--gray-50);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
}

.location-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.location-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.delivery-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--success);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

/* =============================================
   Testimonials
   ============================================= */

.testimonials {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.testimonials .section-badge {
    background: rgba(255,255,255,0.2);
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.1);
}

.stars {
    color: var(--warning);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    opacity: 0.95;
}

.testimonial-card footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-card footer strong {
    font-size: 1rem;
}

.testimonial-card footer span {
    opacity: 0.7;
    font-size: 0.875rem;
}

/* =============================================
   FAQ Section
   ============================================= */

.faq {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-800);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 24px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* =============================================
   CTA Section
   ============================================= */

.cta {
    padding: var(--section-padding) 0;
    background: var(--gray-900);
    color: var(--white);
}

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

.cta h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta > .container > .cta-content > p {
    color: var(--gray-400);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.cta-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid var(--gray-800);
}

.info-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
}

.info-item p {
    color: var(--gray-400);
    font-size: 0.95rem;
}

/* =============================================
   Footer
   ============================================= */

.footer {
    padding: 60px 0 30px;
    background: var(--gray-900);
    border-top: 1px solid var(--gray-800);
}

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

.footer-brand p {
    color: var(--gray-400);
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-brand .logo {
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--gray-400);
    font-size: 0.95rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--gray-500);
}

.footer-legal a:hover {
    color: var(--white);
}

/* =============================================
   Responsive Design
   ============================================= */

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

    .hero-subtitle {
        margin: 0 auto 32px;
    }

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

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

    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .float-card-1 {
        left: 0;
    }

    .float-card-2 {
        right: 0;
    }

    .product-grid,
    .rental-grid,
    .features-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .cta-info {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links,
    .nav-actions .phone-link {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-features {
        flex-direction: column;
        gap: 12px;
    }

    .float-card {
        display: none;
    }

    .product-grid,
    .rental-grid,
    .features-grid,
    .testimonial-grid,
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .trust-logos {
        gap: 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    .product-pricing {
        flex-direction: column;
    }

    .rental-row {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .accessory-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .accessory-item {
        justify-content: center;
    }
}

/* =============================================
   Print Styles
   ============================================= */

@media print {
    .header,
    .cta,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .hero {
        padding: 20px 0;
        background: none;
    }
}
