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

:root {
    --primary-bg: #f5f5f0;
    --secondary-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #6a6a6a;
    --border-color: #e0e0d8;
    --accent-color: #1a1a1a;
    --hover-bg: #ebebeb;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

/* Navigation */
.navbar {
    background-color: var(--primary-bg);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    background-color: rgba(245, 245, 240, 0.95);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.7;
}

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: var(--spacing-xxl) 0;
    text-align: center;
    background-color: var(--primary-bg);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-secondary);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--primary-bg);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.9375rem;
    border-radius: 2px;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* Introduction Section */
.intro-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--secondary-bg);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.section-title {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
}

.intro-paragraph {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

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

/* Platform Section */
.platform-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--primary-bg);
}

.section-heading {
    text-align: center;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    margin-bottom: var(--spacing-sm);
}

.section-subheading {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.6;
}

.section-intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.6;
}

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

.platform-card {
    background-color: var(--secondary-bg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-icon {
    margin-bottom: var(--spacing-md);
}

.card-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.card-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.card-details {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.detail-item {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-sm);
}

.detail-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Dual Scoring Section */
.dual-scoring-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--secondary-bg);
}

.scoring-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.scoring-column {
    background-color: var(--primary-bg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.scoring-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.scoring-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.scoring-factors {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.factor-item {
    background-color: var(--secondary-bg);
    padding: var(--spacing-md);
    border-left: 3px solid var(--accent-color);
}

.factor-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.factor-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.combined-scoring {
    margin-top: var(--spacing-xl);
    background-color: var(--primary-bg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.combined-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.combined-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.tier-card {
    background-color: var(--secondary-bg);
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.tier-card.hot {
    border-color: var(--accent-color);
}

.tier-card.warm {
    border-color: #4a4a4a;
}

.tier-card.cold {
    border-color: #8a8a8a;
}

.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tier-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.tier-criteria {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-sm);
}

.tier-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.tier-action {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-tertiary);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.tier-action strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Features Section */
.features-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--primary-bg);
}

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

.feature-card {
    background-color: var(--secondary-bg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.feature-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
}

.benefit-item {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-tertiary);
    padding-left: 1.5rem;
    position: relative;
}

.benefit-item::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

/* Intelligence Section */
.intelligence-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--secondary-bg);
}

.intelligence-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.intelligence-feature {
    background-color: var(--primary-bg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.intelligence-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.intelligence-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.intelligence-details {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.detail-paragraph {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-tertiary);
}

.detail-paragraph strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Integrations Section */
.integrations-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--primary-bg);
}

.integration-categories {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.integration-category {
    background-color: var(--secondary-bg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.category-title {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
}

.category-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.integration-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.integration-item {
    background-color: var(--primary-bg);
    padding: var(--spacing-md);
    border-left: 3px solid var(--accent-color);
}

.integration-name {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.integration-details {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.integration-capabilities {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-sm);
}

.capability-item {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-tertiary);
}

/* Productivity Section */
.productivity-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--secondary-bg);
}

.productivity-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.productivity-item {
    background-color: var(--primary-bg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.productivity-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.productivity-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.productivity-metrics {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.metric-item {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-tertiary);
}

.metric-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Use Cases Section */
.use-cases-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--primary-bg);
}

.use-cases {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.use-case {
    background-color: var(--secondary-bg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.use-case-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.use-case-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.use-case-scenario {
    background-color: var(--primary-bg);
    padding: var(--spacing-md);
    border-left: 3px solid var(--accent-color);
    margin-top: var(--spacing-md);
}

.scenario-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-sm);
}

.scenario-text:last-child {
    margin-bottom: 0;
}

.scenario-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--secondary-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.contact-info {
    background-color: var(--primary-bg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.contact-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0;
}

.company-legal {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
}

.legal-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.legal-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-tertiary);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--primary-bg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.form-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    background-color: var(--secondary-bg);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.submit-button {
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--primary-bg);
    border: 2px solid var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.submit-button:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.form-note {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-top: var(--spacing-sm);
}

.form-message {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
    border: 1px solid var(--border-color);
}

.form-message.success {
    background-color: #f0f9f0;
    border-color: #1a1a1a;
}

.form-message.error {
    background-color: #fdf0f0;
    border-color: #8a1a1a;
}

.form-message p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--primary-bg);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

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

.footer-logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.footer-info {
    text-align: center;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Responsive Design */
@media (max-width: 968px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-xxl: 5rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .scoring-breakdown {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .platform-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .priority-tiers {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: var(--spacing-xl) 0;
    }

    .platform-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.platform-card,
.feature-card,
.tier-card,
.intelligence-feature,
.productivity-item,
.use-case {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }

    body {
        background-color: white;
    }

    .platform-card,
    .feature-card {
        page-break-inside: avoid;
    }
}