/**
 * Aethova v11 Design System - Shared Stylesheet
 * This stylesheet provides consistent styling across all pages
 */

/* ==================== FONTS ==================== */
@font-face {
    font-family: 'Futura PT';
    src: local('Futura PT Medium'), local('FuturaPT-Medium'), local('Futura Medium');
    font-weight: 500;
    font-style: normal;
}

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Aethova Website Colors */
    --teal-300: #66C1C1;
    --teal-400: #1A998F;
    --teal-500: #155665;
    --teal-600: #102E3C;
    --teal-700: #0A1F29;

    /* Coral Accent */
    --coral: #FF6B58;
    --coral-light: #FFF0EE;
    --coral-dark: #E84A3A;

    /* Light Mode (Default) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F7F9;
    --bg-elevated: #FFFFFF;

    --text-primary: #0A1F29;
    --text-secondary: #3D4F5F;
    --text-muted: #6B7C8A;

    --primary: var(--teal-400);
    --primary-hover: var(--teal-500);
    --primary-light: #E6F4F3;

    --border: #E2E8ED;
    --border-hover: #CBD5DC;

    /* Fonts */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-logo: 'Futura PT', 'Futura', 'Century Gothic', sans-serif;

    /* Methodology Colors */
    --four-currents: #0EA5E9;
    --ai-readiness: #10B981;
}

/* ==================== DARK MODE ==================== */
body.dark-mode {
    --bg-primary: var(--teal-700);
    --bg-secondary: var(--teal-600);
    --bg-elevated: #0D252F;

    --text-primary: #F5F7F9;
    --text-secondary: #B8C4CC;
    --text-muted: #8A9BA8;

    --primary: var(--teal-300);
    --primary-hover: var(--teal-400);
    --primary-light: rgba(102, 193, 193, 0.15);

    --border: #1E3A47;
    --border-hover: #2D4F5F;

    --coral-light: rgba(255, 107, 88, 0.15);
}

/* ==================== BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

/* ==================== NAVIGATION ==================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.nav-logo {
    font-family: var(--font-logo);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary);
    text-decoration: none;
}

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

.nav-tagline {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
    padding-left: 0.5rem;
    border-left: 1px solid var(--border);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ==================== THEME TOGGLE ==================== */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: var(--font-primary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-primary);
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--coral);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 88, 0.3);
    color: #FFFFFF;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

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

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

.btn-teal:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    color: #FFFFFF;
}

/* ==================== SECTIONS & CONTAINERS ==================== */
section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.bg-alt {
    background: var(--bg-secondary);
}

/* ==================== TYPOGRAPHY ==================== */
.section-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.65;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    line-height: 1.25;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

p {
    line-height: 1.65;
}

/* ==================== CARDS ==================== */
.card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.75rem;
    transition: all 0.2s ease;
}

.card:hover {
    border-color: var(--primary);
}

/* ==================== FORMS ==================== */
input, textarea, select {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-elevated);
    color: var(--text-primary);
    transition: border-color 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted);
}

/* ==================== LISTS ==================== */
.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '→';
    color: var(--primary);
    font-weight: 600;
}

/* ==================== FOOTER ==================== */
footer {
    padding: 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-left {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.9;
}

.footer-left a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-left a:hover {
    color: var(--primary);
}

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

.footer-links a {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-decoration: none;
}

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

/* ==================== METHODOLOGY CARDS ==================== */
.methodology-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.75rem;
}

.methodology-card.four-currents {
    border-color: var(--four-currents);
    background: rgba(14, 165, 233, 0.08);
}

.methodology-card.ai-readiness {
    border-color: var(--ai-readiness);
    background: rgba(16, 185, 129, 0.08);
}

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

.methodology-logo {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.methodology-logo.four-currents {
    color: var(--four-currents);
}

.methodology-logo.ai-readiness {
    color: var(--ai-readiness);
}

.methodology-badge span {
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.methodology-badge.four-currents span {
    background: rgba(14, 165, 233, 0.2);
    color: var(--four-currents);
}

.methodology-badge.ai-readiness span {
    background: rgba(16, 185, 129, 0.2);
    color: var(--ai-readiness);
}

.methodology-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.methodology-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.methodology-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    margin-top: 1.25rem;
    transition: all 0.2s ease;
}

.methodology-btn.four-currents {
    background: var(--four-currents);
    color: #FFFFFF;
}

.methodology-btn.four-currents:hover {
    background: #0284C7;
}

.methodology-btn.ai-readiness {
    background: var(--ai-readiness);
    color: #FFFFFF;
}

.methodology-btn.ai-readiness:hover {
    background: #059669;
}

/* ==================== FAQ STYLES ==================== */
.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.25rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== PAGE HEADER (for secondary pages) ==================== */
.page-header {
    padding-top: 120px;
    padding-bottom: 3rem;
    background: var(--bg-secondary);
}

.page-header .container {
    max-width: 900px;
}

.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
}

/* ==================== CONTENT SECTION (for secondary pages) ==================== */
.content-section {
    padding: 4rem 2rem;
}

.content-section .container {
    max-width: 900px;
}

.content-section h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.content-section h3 {
    font-size: 1.125rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

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

.content-section ul, .content-section ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.content-section li {
    margin-bottom: 0.5rem;
}

.content-section a {
    color: var(--primary);
    text-decoration: underline;
}

.content-section a:hover {
    color: var(--primary-hover);
}

/* ==================== EMAIL CAPTURE ==================== */
.email-capture {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.email-capture h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.email-capture p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.email-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}

.email-form input {
    flex: 1;
}

.email-form .btn {
    white-space: nowrap;
}

/* ==================== TESTIMONIAL ==================== */
.testimonial-block {
    max-width: 640px;
    border-left: 3px solid var(--primary);
    padding-left: 1.75rem;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 500;
}

.testimonial-author {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==================== COOKIE CONSENT ==================== */
#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-top: 2px solid var(--primary);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    display: none;
}

#cookie-consent .consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

#cookie-consent p {
    margin: 0;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    min-width: 300px;
}

#cookie-consent .consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .nav-container {
        height: 64px;
    }

    .nav-tagline {
        display: none;
    }

    section {
        padding: 3.5rem 1.25rem;
    }

    .page-header {
        padding-top: 100px;
    }

    .email-form {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
