/* ========================================
   Scan My Boiler - Website Styles
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #FF6B35;
    --color-primary-dark: #E55A2B;
    --color-secondary: #FF8C42;
    --color-accent: #2563EB;
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-text-muted: #9CA3AF;
    --color-background: #FFFFFF;
    --color-background-alt: #F9FAFB;
    --color-background-dark: #111827;
    --color-border: #E5E7EB;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --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(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

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

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

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

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

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

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

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

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

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

.nav-links .btn {
    padding: 10px 20px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--color-background-alt) 0%, var(--color-background) 100%);
}

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

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    margin-bottom: 40px;
}

.hero-note {
    margin-top: 12px;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

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

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--color-text-light);
}

.checkmark {
    color: var(--color-primary);
    font-weight: 700;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    max-width: 300px;
}

.phone-mockup img {
    border-radius: 40px;
    box-shadow: var(--shadow-xl);
}

.now-available-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    transform: rotate(12deg);
}

/* Features Section */
.features {
    padding: 100px 0;
}

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

.feature-card {
    padding: 32px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.1));
    border-radius: var(--border-radius);
    color: var(--color-primary);
    margin-bottom: 20px;
}

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

.feature-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--color-background-alt);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 12px;
}

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

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 16px;
    color: var(--color-text-muted);
}

/* Manufacturers Section */
.manufacturers {
    padding: 80px 0;
}

.brand-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.brand {
    padding: 12px 24px;
    background: var(--color-background-alt);
    border-radius: 50px;
    font-weight: 500;
    color: var(--color-text-light);
    transition: var(--transition);
}

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

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--color-background-alt);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

.pricing-card {
    flex: 1;
    max-width: 380px;
    padding: 40px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.pricing-header h3 {
    color: var(--color-text-light);
    font-weight: 600;
    margin-bottom: 8px;
}

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

.price-note {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--color-text-light);
    position: relative;
    padding-left: 28px;
}

.pricing-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* Download Section */
.download {
    padding: 100px 0;
    text-align: center;
}

.download-buttons {
    margin-top: 40px;
}

.app-store-button img {
    height: 54px;
    transition: var(--transition);
}

.app-store-button:hover img {
    transform: scale(1.05);
}

.download-note {
    margin-top: 16px;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--color-background-dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo-icon {
    font-size: 2rem;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-tagline {
    margin-top: 16px;
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    color: white;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

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

    .hero-features {
        align-items: center;
    }

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

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

    .step-arrow {
        transform: rotate(90deg);
        padding: 8px 0;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .navbar .container {
        height: 64px;
    }

    .nav-links {
        display: none;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}
