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

:root {
    --primary-blue: #00aeef;
    --dark-blue: #003c71;
    --light-blue: #e6f7ff;
    --green: #10b981;
    --amber: #f59e0b;
    --red: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-700: #374151;
    --gray-900: #111827;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: #ffffff;
}

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

/* Navigation */
.navbar {
    background: var(--dark-blue);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1.4s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--dark-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark-blue);
}

/* Problem Section */
.problem {
    padding: 80px 0;
    background: var(--gray-50);
}

.problem h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.problem-card p {
    color: var(--gray-700);
    line-height: 1.8;
}

/* Solution Section */
.solution {
    padding: 80px 0;
}

.solution h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

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

.solution-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.solution-text p {
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.solution-text ul {
    list-style: none;
    margin: 1.5rem 0;
}

.solution-text li {
    padding: 0.75rem 0;
    color: var(--gray-700);
    line-height: 1.8;
}

/* Metric Card Demo */
.metric-card-demo {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.metric-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.metric-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.value-item {
    text-align: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.value-item.highlight {
    background: var(--light-blue);
    border: 2px solid var(--primary-blue);
}

.value-item .label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.value-item .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.status-indicator {
    text-align: center;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 600;
}

.status-green {
    background: #d1fae5;
    color: #065f46;
}

/* Features Preview */
.features-preview {
    padding: 80px 0;
    background: var(--gray-50);
}

.features-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.feature-card p {
    color: var(--gray-700);
    line-height: 1.8;
}

.cta-center {
    text-align: center;
}

/* Features Hero */
.features-hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.features-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.features-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Feature Detail Sections */
.feature-detail {
    padding: 80px 0;
}

.feature-detail.alt {
    background: var(--gray-50);
}

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

.feature-content.reverse {
    direction: rtl;
}

.feature-content.reverse > * {
    direction: ltr;
}

.feature-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-blue);
    color: var(--dark-blue);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.feature-description {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    color: var(--gray-700);
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* Demo Boxes */
.demo-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.demo-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.demo-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.demo-metric {
    text-align: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.demo-metric.highlight {
    background: var(--light-blue);
    border: 2px solid var(--primary-blue);
}

.demo-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.demo-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.demo-status {
    text-align: center;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 600;
}

.demo-status.green {
    background: #d1fae5;
    color: #065f46;
}

/* Time Travel Demo */
.demo-date-picker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-blue);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.date-icon {
    font-size: 1.5rem;
}

.date-text {
    font-weight: 600;
    color: var(--dark-blue);
}

.demo-change {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.change-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.change-user {
    font-weight: 600;
    color: var(--dark-blue);
}

.change-desc {
    color: var(--gray-700);
}

.change-time {
    font-size: 0.875rem;
    color: var(--gray-700);
}

/* Import Results Demo */
.demo-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.result-label {
    font-weight: 600;
    color: var(--gray-700);
}

.result-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Consistency Report Demo */
.demo-issues {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.issue-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

.issue-item.warning {
    background: #fef3c7;
}

.issue-icon {
    font-size: 1.5rem;
}

.issue-text strong {
    display: block;
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

.issue-text p {
    color: var(--gray-700);
    margin: 0;
}

/* CRAIDs Demo */
.craids-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.craid-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

.craid-item.risk {
    background: #fee2e2;
}

.craid-item.assumption {
    background: #dbeafe;
}

.craid-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.craid-item.risk .craid-badge {
    background: #dc2626;
    color: white;
}

.craid-item.assumption .craid-badge {
    background: #2563eb;
    color: white;
}

.craid-text {
    color: var(--gray-700);
    font-weight: 500;
}

/* Roles Demo */
.roles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.role-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.role-badge {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    min-width: 80px;
    text-align: center;
}

.role-badge.admin {
    background: #dc2626;
    color: white;
}

.role-badge.pm {
    background: var(--primary-blue);
    color: white;
}

.role-badge.viewer {
    background: var(--gray-300);
    color: var(--gray-700);
}

.role-desc {
    color: var(--gray-700);
}

/* More Features */
.more-features {
    padding: 80px 0;
}

.more-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.more-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.more-feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.more-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.more-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.more-feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-blue);
}

.more-feature-card p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
footer {
    background: var(--gray-900);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

footer a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .solution-content,
    .feature-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-content.reverse {
        direction: ltr;
    }

    .metric-values,
    .demo-metrics {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
    }

    h2 {
        font-size: 2rem !important;
    }
}
