/* PACT Main Website - Landing Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;600;700;800&family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
    --bg-light: #FAFAF8;
    --primary: #0E6B53;
    --secondary: #E8C24A;
    --tertiary: #14302A;
    --text-dark: #14302A;
    --text-muted: rgba(20, 48, 42, 0.7);
    --border-color: rgba(20, 48, 42, 0.1);
    
    --font-headline: 'Fraunces', serif;
    --font-body: 'Hanken Grotesk', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    line-height: 1.2;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo-mark {
    width: 32px;
    height: 32px;
    border: 3px solid var(--tertiary);
    border-radius: 6px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.logo-text {
    font-family: var(--font-headline);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--tertiary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--tertiary);
    font-size: 1rem;
    transition: color 0.2s;
}

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

.auth-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.auth-actions .login-link {
    font-weight: 600;
    color: var(--tertiary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--tertiary);
    color: #FFF;
}

.btn-primary:hover {
    background-color: #0b1a16;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 1rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--tertiary);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    color: #D4A33B; /* Slightly darker gold for better readability on light bg */
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-cta .disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* How it works & Dashboard Mockup */
.how-it-works {
    padding: 2rem 1rem 6rem;
    text-align: center;
}

.how-it-works-header {
    margin-bottom: 3rem;
}

.how-it-works-header h2 {
    font-size: 2.5rem;
    color: var(--tertiary);
    margin-bottom: 0.5rem;
}

.how-it-works-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.dashboard-mockup-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.dashboard-mockup {
    background: #FFF;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    height: 500px;
}

/* Sidebar Mockup */
.mockup-sidebar {
    width: 200px;
    background: #FAF9F6;
    border-right: 1px solid var(--border-color);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
}

.mockup-sidebar .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.mockup-sidebar .logo-mark {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.mockup-sidebar .logo-dot { width: 5px; height: 5px; }
.mockup-sidebar .logo-text { font-size: 1.2rem; }

.mockup-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.mockup-nav-item {
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mockup-nav-item.active {
    background: #F0EFEA;
    color: var(--tertiary);
}

.mockup-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.mockup-avatar {
    width: 32px; height: 32px;
    background: var(--tertiary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.mockup-user-info { font-size: 0.75rem; line-height: 1.2; }
.mockup-user-name { font-weight: 700; color: var(--tertiary); }
.mockup-user-email { color: var(--text-muted); font-size: 0.65rem;}

/* Content Mockup */
.mockup-content {
    flex: 1;
    padding: 2.5rem;
    background: #FFF;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mockup-header h2 { font-size: 1.5rem; }
.mockup-header p { font-size: 0.85rem; color: var(--text-muted); }

.mockup-btn {
    background: var(--tertiary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.mockup-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mockup-stat-card {
    flex: 1;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
}

.mockup-stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; margin-bottom: 0.5rem; }
.mockup-stat-value { font-size: 1.5rem; font-family: var(--font-headline); font-weight: 600; }

.mockup-goals {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}
.mockup-goals-header {
    display: flex; justify-content: space-between; margin-bottom: 1rem;
}
.mockup-goals-header h3 { font-size: 1rem; }
.mockup-goal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}
.mockup-goal-item:last-child { border-bottom: none; padding-bottom: 0; }
.mockup-goal-progress {
    flex: 1; margin: 0 1rem; height: 6px; background: #E7EEE6; border-radius: 3px;
}
.mockup-goal-bar { height: 100%; background: var(--tertiary); border-radius: 3px; }

/* Features Section */
.features {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(14, 107, 83, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--tertiary);
}

.feature-icon svg {
    width: 32px; height: 32px;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--tertiary);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Bottom Section */
.cta-bottom {
    background: #F4EEDF; /* Very light warm beige */
    padding: 5rem 1rem;
    text-align: center;
    margin: 4rem 5% 0;
    border-radius: 20px 20px 0 0;
}

.cta-bottom .logo-mark {
    margin: 0 auto 1.5rem;
}

.cta-bottom h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--tertiary);
}

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

/* Footer */
footer {
    background: var(--bg-light);
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

footer .security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--tertiary);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    padding: 8px;
    z-index: 2001;
}

/* Responsive */
@media (max-width: 900px) {
    .features { grid-template-columns: 1fr; gap: 2rem; }
    .hero h1 { font-size: 3.5rem; }
    
    .mobile-menu-btn {
        display: block;
        order: 2;
    }
    
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: var(--sand);
    }
    
    .nav-links {
        display: none;
    }
    
    .header.mobile-menu-open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: var(--sand2);
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 24px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-bottom: 1px solid rgba(0,0,0,0.05);
        z-index: 2000;
    }
    
    .auth-actions {
        display: flex;
        gap: 0.5rem;
    }
    
    .auth-actions button {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .login-link {
        font-size: 0.9rem;
    }
    
    .header.mobile-menu-open .nav-links {
        margin-bottom: 24px;
    }
    
    .header.mobile-menu-open .nav-links a {
        padding: 16px;
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--line);
    }
    
    .dashboard-mockup { flex-direction: column; height: auto; }
    .mockup-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-color); }
    .mockup-stats { flex-direction: column; }
}
