/* RenoPilot Landing Page Styles */

:root {
    --primary-color: #2563EB; /* Bright Blue */
    --primary-dark: #1E40AF;
    --secondary-color: #F59E0B; /* Amber/Construction */
    --text-color: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --success: #10B981;
    --danger: #EF4444;
    --border-color: #E5E7EB;
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

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

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

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

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

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

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 9rem 0 5rem 0; /* Top padding for navbar */
    overflow: hidden;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin: 1.5rem 0 2.5rem 0;
    max-width: 500px;
}

.cta-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.75rem;
}

/* Hero Visual Animation */
.mockup-container {
    position: relative;
    perspective: 1000px;
}

.mockup-screen {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-container:hover .mockup-screen {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    background: #F3F4F6;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.red { background: #EF4444; }
.yellow { background: #F59E0B; }
.green { background: #10B981; }

.mockup-content {
    display: flex;
    height: 300px;
}

.mockup-sidebar {
    width: 60px;
    background: #F9FAFB;
    border-right: 1px solid var(--border-color);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-item {
    width: 100%;
    height: 30px;
    background: #E5E7EB;
    border-radius: 6px;
}
.sidebar-item.active { background: var(--primary-color); opacity: 0.2; }

.mockup-main {
    flex: 1;
    padding: 20px;
}

.mockup-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-box {
    flex: 1;
    height: 50px;
    background: #EFF6FF;
    border-radius: 8px;
    border: 1px solid #DBEAFE;
    color: #1D4ED8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    border-bottom: 1px solid #F3F4F6;
}

.checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #D1D5DB;
    border-radius: 4px;
}
.checkbox.checked {
    background: var(--success);
    border-color: var(--success);
}

.line {
    height: 10px;
    background: #F3F4F6;
    border-radius: 5px;
}
.line.long { width: 80%; }
.line.medium { width: 50%; }

.tag {
    font-size: 0.7rem;
    background: #D1FAE5;
    color: #065F46;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
}

/* Pain Points */
.pain-points {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pain-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.pain-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pain-card h3 {
    margin-bottom: 0.75rem;
}

.pain-card p {
    color: var(--text-light);
}

/* Features */
.features {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 1.5rem;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.feature-card:hover {
    background-color: #F8FAFC;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: #EFF6FF;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    margin-top: 3rem;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-arrow {
    font-size: 2rem;
    color: #D1D5DB;
}

/* Benefits */
.benefits {
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: white;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.benefit-check {
    color: var(--success);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

/* Pricing */
.pricing {
    padding: 5rem 0;
    background-color: #FAFAFA;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: start;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--border-color);
}

.pricing-trial {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.pricing-card h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
}

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

.price-period {
    color: var(--text-light);
}

.pricing-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Final CTA */
.final-cta {
    padding: 5rem 0 7rem;
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 1rem;
}

.final-cta p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: #9CA3AF;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #374151;
    padding-top: 2rem;
    color: #9CA3AF;
    font-size: 0.875rem;
}

.language-select {
    padding: 0.5rem;
    border-radius: 4px;
    background: #374151;
    color: white;
    border: none;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: none;
    flex-direction: column;
    gap: 1rem;
}

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

.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid #F3F4F6;
}

.mobile-nav-link.highlight {
    color: var(--primary-color);
    font-weight: bold;
    border-bottom: none;
}

/* Responsive */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual {
        display: none; /* Simplify for mobile, or show below */
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .steps-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2.5rem; }
}

@media (max-width: 576px) {
    .pricing-trial {
        transform: scale(1);
    }
}
