/* ExpLens Static Site Styles */

/* =====================
   CSS Variables & Reset
   ===================== */
:root {
    /* Color Palette - Light, bright, professional */
    --primary-color: #206bc3;
    --primary-dark: #1a5aa3;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;

    /* Neutrals */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-lighter: #f3f4f6;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;

    /* Shadows */
    --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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 5rem 0;
    --section-padding-mobile: 3rem 0;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* =====================
   Typography
   ===================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* =====================
   Layout
   ===================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding);
}

/* =====================
   Header & Navigation
   ===================== */
header {
    background-color: #206bc3;
    border-bottom: 1px solid #1a5aa3;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* =====================
   Buttons
   ===================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

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

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

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

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

.btn-link {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.5rem 0;
    font-weight: 600;
}

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

/* =====================
   Hero Section
   ===================== */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 5rem 0;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

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

.hero-image {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(var(--shadow-xl));
}

/* =====================
   Value Proposition
   ===================== */
.value-prop {
    background-color: var(--bg-white);
}

.value-prop h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

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

.value-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.value-icon img {
    width: 100%;
    height: 100%;
}

.value-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =====================
   Problem/Solution Section
   ===================== */
.problem-solution {
    background-color: var(--bg-lighter);
}

.problem-box,
.solution-box {
    margin-bottom: 4rem;
}

.problem-box:last-child,
.solution-box:last-child {
    margin-bottom: 0;
}

.problem-box h2,
.solution-box h2 {
    margin-bottom: 2rem;
}

.problem-content,
.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.problem-text ul,
.solution-text ul {
    list-style-position: inside;
    margin: 1rem 0;
    padding-left: 1rem;
}

.problem-text li,
.solution-text li {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.problem-visual img,
.solution-visual img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.solution-feature {
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

.solution-feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.solution-feature p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* =====================
   Features Section
   ===================== */
.features-detailed {
    background-color: var(--bg-white);
}

.features-detailed h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-list {
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    opacity: 0.3;
}

.feature-details h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-details p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =====================
   Pricing Section
   ===================== */
.pricing {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.pricing-container h3 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.pricing-container h3:first-child {
    margin-top: 0;
}

.pricing-container p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.pricing-container ul {
    list-style-position: inside;
    margin: 1rem 0 1.5rem 1rem;
    color: var(--text-secondary);
}

.pricing-container ul li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.pricing-container a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.pricing-container a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.pricing-highlight {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--secondary-color);
    margin-top: 2rem;
}

.pricing-highlight p {
    margin-bottom: 0;
}

.pricing-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.pricing-card.primary-pricing {
    border: 3px solid var(--primary-color);
    position: relative;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3rem;
}

.price-period {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.pricing-note {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.pricing-card p {
    text-align: left;
    margin-top: 1rem;
}

/* =====================
   Resources Section
   ===================== */
.resources {
    background-color: var(--bg-white);
}

.resources h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.resource-card {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

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

.resource-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.resource-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-arrow {
    transform: translateX(5px);
}

/* =====================
   Footer
   ===================== */
footer {
    background-color: var(--text-primary);
    color: var(--bg-light);
    padding: 3rem 0 1.5rem;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 48px;
    height: 48px;
}

.footer-tagline {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.footer-column h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: var(--text-light);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* =====================
   Responsive Design
   ===================== */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Layout */
    section {
        padding: var(--section-padding-mobile);
    }

    .container {
        padding: 0 1rem;
    }

    /* Navigation */
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    /* Problem/Solution */
    .problem-content,
    .solution-content {
        grid-template-columns: 1fr;
    }

    /* Features */
    .feature-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-number {
        font-size: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
    }

    .value-grid,
    .resources-grid,
    .pricing-content {
        grid-template-columns: 1fr;
    }
}
