/* Apple-inspired CSS for FinFindr */

:root {
    /* Colors */
    --primary-color: #0071e3;
    --secondary-color: #86868b;
    --background-color: #ffffff;
    --text-color: #1d1d1f;
    --light-text-color: #86868b;
    --highlight-color: #0071e3;
    --border-color: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: -0.015em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

a {
    color: var(--highlight-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.logo-text {
    color: var(--text-color);
}

.highlight {
    color: var(--highlight-color);
}

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

.nav-links li {
    margin-left: var(--spacing-md);
}

.nav-links a {
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--highlight-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.hero-content {
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(90deg, #000000 0%, #434343 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0062cc;
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background-color: white;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-md);
    border-radius: 18px;
    background-color: #f5f5f7;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

/* Organization Preview */
.organization-preview {
    padding: var(--spacing-xl) 0;
    background-color: #f5f5f7;
    text-align: center;
}

.org-chart-preview {
    margin: var(--spacing-lg) 0;
}

.org-level {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.org-node {
    background-color: white;
    border-radius: 12px;
    padding: var(--spacing-sm);
    margin: 0 var(--spacing-xs);
    min-width: 120px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.org-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.ceo-node {
    background-color: var(--highlight-color);
    color: white;
}

.node-title {
    font-weight: 600;
    font-size: 1rem;
}

.node-subtitle {
    font-size: 0.75rem;
    color: var(--secondary-color);
}

.ceo-node .node-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.center-button {
    margin-top: var(--spacing-md);
}

/* AI Agents Preview */
.ai-agents-preview {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.agent-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.agent-category {
    background-color: #f5f5f7;
    border-radius: 18px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.agent-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.agent-category h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.agent-category p {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.agent-category ul {
    list-style: none;
    text-align: left;
}

.agent-category li {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-sm);
    position: relative;
}

.agent-category li:before {
    content: "•";
    color: var(--highlight-color);
    position: absolute;
    left: 0;
}

/* CEO Interface Preview */
.ceo-interface-preview {
    padding: var(--spacing-xl) 0;
    background-color: #f5f5f7;
}

.interface-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin: var(--spacing-lg) 0;
}

.dashboard-mockup {
    background-color: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dashboard-header {
    background-color: #f5f5f7;
    padding: var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-title {
    font-weight: 500;
    font-size: 0.875rem;
}

.dashboard-controls {
    display: flex;
    gap: 5px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

.dashboard-body {
    display: flex;
    height: 400px;
}

.dashboard-sidebar {
    width: 180px;
    background-color: #f5f5f7;
    padding: var(--spacing-sm);
    border-right: 1px solid var(--border-color);
}

.sidebar-item {
    padding: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    border-radius: 8px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-item:hover, .sidebar-item.active {
    background-color: rgba(0, 113, 227, 0.1);
    color: var(--highlight-color);
}

.dashboard-main {
    flex: 1;
    padding: var(--spacing-sm);
    overflow-y: auto;
}

.dashboard-row {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.dashboard-card {
    flex: 1;
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: var(--spacing-sm);
}

.card-title {
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.card-value {
    font-size: 1.5rem;
    font-weight: 600;
}

.card-trend {
    font-size: 0.75rem;
    font-weight: 500;
}

.card-trend.positive {
    color: #34c759;
}

.card-trend.negative {
    color: #ff3b30;
}

.dashboard-chart {
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    height: 200px;
}

.chart-header {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.chart-placeholder {
    height: 160px;
    background: linear-gradient(90deg, var(--highlight-color) 0%, #34c759 100%);
    border-radius: 8px;
    opacity: 0.2;
}

.dashboard-table {
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: var(--spacing-sm);
    width: 100%;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.table-title {
    font-size: 0.875rem;
    font-weight: 500;
}

.table-control {
    font-size: 0.75rem;
    color: var(--highlight-color);
    cursor: pointer;
}

.table-row {
    display: flex;
    align-items: center;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
}

.decision-priority {
    width: 60px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    text-align: center;
    margin-right: var(--spacing-sm);
}

.decision-priority.high {
    background-color: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.decision-priority.medium {
    background-color: rgba(255, 149, 0, 0.1);
    color: #ff9500;
}

.decision-priority.low {
    background-color: rgba(52, 199, 89, 0.1);
    color: #34c759;
}

.decision-title {
    font-size: 0.875rem;
}

.interface-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.interface-feature {
    margin-bottom: var(--spacing-sm);
}

.interface-feature h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.interface-feature i {
    color: var(--highlight-color);
    margin-right: 5px;
}

.interface-feature p {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

/* Implementation Timeline */
.implementation {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.timeline {
    margin: var(--spacing-lg) 0;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--highlight-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 1;
    margin: 0 var(--spacing-md);
}

.timeline-content {
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: var(--spacing-sm);
    width: calc(50% - 60px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-period {
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-top: var(--spacing-xs);
}

/* CTA Section */
.cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--highlight-color) 0%, #5ac8fa 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

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

.cta .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: #f5f5f7;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
}

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

.footer-logo .logo-text {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.footer-logo p {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-column h3 {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

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

.footer-column li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.copyright {
    font-size: 0.75rem;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--highlight-color);
    color: white;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
    
    .interface-preview {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding: var(--spacing-md) 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links li {
        margin: var(--spacing-xs) 0;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .agent-categories {
        grid-template-columns: 1fr;
    }
    
    .interface-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .timeline-item {
        flex-direction: column !important;
    }
    
    .timeline-content {
        width: 100%;
        margin-top: var(--spacing-sm);
    }
    
    .timeline:before {
        left: 20px;
    }
    
    .timeline-marker {
        margin-left: 0;
    }
}
