/* BrowserCoach Live - Main Stylesheet */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

/* Colors */
:root {
    --navy: #1e293b;
    --teal: #14b8a6;
    --amber: #f59e0b;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --white: #ffffff;
}

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

/* Centered Content */
.centered-content {
    text-align: center;
}

.centered-content .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.centered-content .section-header,
.centered-content .features-grid,
.centered-content .preset-cards,
.centered-content .content-split,
.centered-content .performance-metrics,
.centered-content .safety-features,
.centered-content .products-grid,
.centered-content .benefits-grid {
    width: 100%;
    max-width: 1200px;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--navy);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--navy);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #475569;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    color: var(--white);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text p {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-accept {
    background: var(--teal);
    color: var(--white);
}

.cookie-accept:hover {
    background: #0f9488;
}

.cookie-reject {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid #475569;
}

.cookie-reject:hover {
    background: #475569;
    color: var(--white);
}

.cookie-customize {
    background: var(--amber);
    color: var(--navy);
}

.cookie-customize:hover {
    background: #d97706;
}

.cookie-link {
    color: var(--teal);
    text-decoration: none;
    font-size: 0.85rem;
    white-space: nowrap;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Cookie Customization Panel */
.cookie-customization {
    display: none;
    background: var(--white);
    color: var(--navy);
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 0;
}

.cookie-customization.show {
    display: block;
}

.cookie-custom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-custom-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--navy);
}

.cookie-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-category {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.cookie-label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-label input[type="checkbox"] {
    margin-right: 0.5rem;
}

.cookie-category-name {
    font-weight: 600;
    color: var(--navy);
    display: flex;
    align-items: center;
}

.cookie-category-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-left: 1.5rem;
}

.cookie-custom-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Header */
.header {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--medium-gray);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-section a {
    text-decoration: none;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
}

.brand-name:hover {
    color: var(--teal);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.preset-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 1rem;
}

.content-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Legacy hero-image for compatibility */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sections */
.section-white {
    background: var(--white);
    padding: 4rem 0;
}

.section-gray {
    background: var(--light-gray);
    padding: 4rem 0;
}

.section-navy {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.section-icon {
    margin-bottom: 1.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-item h3 {
    margin-bottom: 1rem;
}

.feature-item p {
    margin: 0;
    color: #64748b;
}

/* Preset Cards */
.preset-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.preset-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.preset-card h3 {
    margin-bottom: 1rem;
}

.preset-card p {
    margin-bottom: 1.5rem;
    color: #64748b;
}

/* Content Split */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.content-text {
    text-align: left;
}

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

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
}

.check-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.check-icon {
    background: var(--teal);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Performance Metrics */
.performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.metric-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #64748b;
    font-weight: 500;
}

/* Safety Features */
.safety-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.safety-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.safety-item h3 {
    margin-bottom: 1rem;
}

.safety-item p {
    margin: 0;
    color: #64748b;
}

/* Products Section */
.products {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0;
}

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

.product-card {
    background: var(--white);
    color: var(--navy);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.product-card.featured {
    border: 3px solid var(--amber);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--amber);
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal);
    margin: 1rem 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 600;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-item h3 {
    margin-bottom: 1rem;
}

.benefit-item p {
    margin: 0;
    color: #64748b;
}

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

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

.btn-primary:hover {
    background: #0f9488;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-amber {
    background: var(--amber);
    color: var(--navy);
}

.btn-amber:hover {
    background: #d97706;
    transform: translateY(-2px);
}

/* Contacts Section */
.contacts {
    background: var(--light-gray);
    padding: 4rem 0;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.contact-item a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    margin: 0;
    color: #64748b;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

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

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

.footer-brand p {
    color: #94a3b8;
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links {
    display: contents;
}

.link-group h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.link-group a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    padding: 0.4rem 0;
    transition: color 0.2s ease;
}

.link-group a:hover {
    color: var(--teal);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-img {
        height: 250px;
    }
    
    .features-grid,
    .preset-cards,
    .safety-features,
    .products-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .content-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .content-text {
        text-align: center;
    }
    
    .performance-metrics {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        display: flex;
        gap: 2rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-img {
        height: 200px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}