/* ===================================
   Find My Car - Website Styles
   Version: 2.0
   Author: Your Name
   =================================== */

/* CSS Variables for Easy Customization */
:root {
    /* Colors - Feel free to customize! */
    --primary-color: #2563eb;      /* Blue - Main brand color */
    --primary-dark: #1e40af;       /* Darker blue for hover states */
    --secondary-color: #10b981;    /* Green - Success/positive actions */
    --accent-color: #f59e0b;       /* Amber - Highlights */
    
    --text-dark: #1f2937;          /* Almost black for main text */
    --text-gray: #6b7280;          /* Gray for secondary text */
    --text-light: #9ca3af;         /* Light gray for subtle text */
    
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;            /* Light gray background */
    --bg-dark: #111827;            /* Dark background for footer */
    
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* ===================================
   Layout Components
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Navigation Bar
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 700;
    font-size: 1.25rem;
}

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

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-weight: 500;
    color: var(--text-gray);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding-top: 120px;
    padding-bottom: var(--spacing-2xl);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: var(--spacing-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.hero-badges {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background-color: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

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

/* Phone Mockup */
.phone-mockup {
    background: #1f2937;
    border-radius: 2.5rem;
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    background: white;
    border-radius: 2rem;
    aspect-ratio: 9 / 19.5;
    overflow: hidden;
}

.phone-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.phone-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-gray);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===================================
   Screenshots Section
   =================================== */
.screenshots {
    padding: var(--spacing-2xl) 0;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.screenshot-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
}

.screenshot-caption {
    padding: var(--spacing-sm);
    background: var(--bg-gray);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.875rem;
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.screenshot-placeholder {
    aspect-ratio: 9 / 19.5;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.screenshots-note {
    text-align: center;
    padding: var(--spacing-md);
    background-color: #fef3c7;
    border-radius: var(--radius-lg);
    color: #92400e;
    border: 1px solid #fbbf24;
}

.screenshots-note code {
    background-color: #fde68a;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

/* ===================================
   Privacy Highlight Section
   =================================== */
.privacy-highlight {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.privacy-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.privacy-icon {
    font-size: 5rem;
    flex-shrink: 0;
}

.privacy-text h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.privacy-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.privacy-link {
    display: inline-block;
    font-weight: 600;
    border-bottom: 2px solid white;
    padding-bottom: 2px;
}

.privacy-link:hover {
    opacity: 0.8;
}

/* ===================================
   Download Section
   =================================== */
.download {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-gray);
}

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

.download-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.download-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-xl);
}

.download-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.play-store-badge img {
    height: 80px;
    transition: transform 0.3s ease;
}

.play-store-badge:hover img {
    transform: scale(1.05);
}

.download-info {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.info-item {
    color: var(--text-gray);
}

.info-item strong {
    color: var(--text-dark);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-text {
    color: #9ca3af;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

.footer-note {
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* You can implement a mobile menu later */
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-content {
        flex-direction: column;
        text-align: center;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .download-info {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.screenshot-item {
    animation: fadeIn 0.6s ease-out;
}
