/* Auxiliary Pages CSS - TapTempo Insights */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #ffffff;
}

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

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #2C3E50;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #2C3E50;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #2C3E50;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2C3E50;
}

p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.last-updated {
    font-style: italic;
    color: #64748b;
    margin-bottom: 2rem;
    text-align: center;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    border-radius: 12px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C3E50;
    margin: 0;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2D6A4F;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #2D6A4F 0%, #34d399 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8fafc;
}

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

.content-text h3 {
    color: #2D6A4F;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-text h3:first-child {
    margin-top: 0;
}

.content-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.content-image-placeholder {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

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

.content-visual svg {
    max-width: 100%;
    height: auto;
}

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

.approach-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-4px);
}

.approach-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.approach-icon svg {
    border-radius: 12px;
}

.approach-card h3 {
    color: #2D6A4F;
    margin-bottom: 1rem;
}

.approach-card p {
    color: #64748b;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-placeholder {
    background-color: #f8fafc;
    border-left: 4px solid #FF6B6B;
    padding: 2rem;
    border-radius: 8px;
}

.legal-placeholder p {
    margin-bottom: 1rem;
}

.legal-placeholder ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-placeholder li {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.legal-content h2 {
    color: #2D6A4F;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    color: #FF6B6B;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #64748b;
}

/* Footer */
.footer {
    background-color: #1a202c;
    color: white;
    padding: 60px 0 30px 0;
    margin-top: auto;
}

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

.footer-brand .brand {
    margin-bottom: 1rem;
    justify-content: flex-start;
}

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

.footer-brand p {
    color: #a0aec0;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.link-group h4 {
    color: white;
    margin-bottom: 1rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.5rem;
}

.link-group a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #F1C40F;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .brand-name {
        font-size: 1.25rem !important;
    }
    
    .page-hero {
        padding: 60px 0;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .approach-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .content-image-placeholder {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .brand {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .legal-placeholder {
        padding: 1.5rem;
    }
    
    .approach-icon svg {
        width: 50px;
        height: 50px;
    }
}

/* Ensure minimum height for pages */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}