
/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

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

/* Refined, pragmatic color palette */
:root {
    --primary: #1a1a1a;
    --primary-light: #2d2d2d;
    --secondary: #0066cc;
    --accent: #0066cc;
    --text: #1a1a1a;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #ffffff;
    --bg-light: #fafafa;
    --bg-dark: #f5f5f5;
    --border: #e5e5e5;
    --border-light: #f0f0f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    letter-spacing: -0.01em;
    font-size: 16px;
}

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

/* Header */
header {
    background: var(--bg);
    color: var(--text);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--text);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 2rem;
    height: 2.3rem;
    object-fit: contain;
    flex-shrink: 0;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}


.nav-menu li {
    margin: 0;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

nav a:hover {
    color: var(--text);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 101;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    background: var(--bg);
    color: var(--text);
    padding: 6rem 0 8rem;
    text-align: left;
    border-bottom: 1px solid var(--text);
    position: relative;
    overflow: hidden;
}

.hero-logo-bg {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.08;
}

.hero-logo-background {
    width: 600px;
    height: 600px;
    filter: grayscale(100%);
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--text);
}

.hero p {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: var(--text);
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background: var(--text);
    color: var(--bg);
    padding: 0.875rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
    border: none;
}

.cta-button:hover {
    background: var(--primary-light);
    color: var(--bg);
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--bg);
    border-top: 1px solid var(--text);
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.feature-card {
    background: var(--bg);
    padding: 0;
    border: none;
    padding: 1.5rem;
    transition: none;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text);
    line-height: 1.5;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: none;
    background: var(--bg-dark);
    filter: grayscale(100%);
}

/* Compliance Section */
.compliance {
    padding: 4rem 0;
    background: var(--bg);
}

.compliance-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.compliance-content > * {
    width: 100%;
    box-sizing: border-box;
}

.compliance-content h3 {
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.compliance-content h3:first-of-type {
    margin-top: 0;
}

.compliance-content p {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    font-weight: 400;
    margin-bottom: 1rem;
}

.compliance-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style: disc;
}

.compliance-content li {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.reference-box {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--text);
    width: 100%;
    box-sizing: border-box;
}

.reference-box h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.reference-box h4 a {
    color: var(--text);
    text-decoration: none;
}

.reference-box h4 a:hover {
    text-decoration: underline;
}

.compliance-content a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.compliance-content a:hover {
    text-decoration-thickness: 2px;
}

.reference-box p {
    color: var(--text);
    line-height: 1.5;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    font-weight: 400;
    margin: 0;
}


.compliance-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 0;
    margin: 2rem auto;
    display: block;
    border: none;
    background: var(--bg);
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: var(--bg);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    background: var(--bg);
    padding: 1rem;
    border: 1px solid var(--text);
    transition: none;
}

.benefit-item h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.benefit-item p {
    color: var(--text);
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    background: var(--bg);
    color: var(--text);
    padding: 4rem 0;
    text-align: left;
    border-top: 1px solid var(--text);
    position: relative;
}

.cta-content {
    max-width: 800px;
}

.cta-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text);
    padding-bottom: 0.5rem;
}

.cta-section p {
    font-size: 0.875rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    color: var(--text);
    font-weight: 400;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
    padding: 0.875rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: var(--bg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text);
    padding: 0.875rem 2rem;
    border: 1px solid var(--border);
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: var(--bg-dark);
    border-color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--bg);
    color: var(--text);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--text);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.footer-section a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: left;
    padding-top: 2rem;
    border-top: 1px solid var(--text);
    color: var(--text-muted);
    font-size: 0.8125rem;
    letter-spacing: -0.01em;
}

/* Comparison Table - NIST Publication Style */
.comparison-section {
    padding: 4rem 0;
    background: var(--bg);
    border-top: 1px solid var(--text);
}

.comparison-table {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-collapse: collapse;
    border: 1px solid var(--text);
    background: var(--bg);
    font-size: 0.875rem;
}

.comparison-table thead {
    background: var(--bg);
}

.comparison-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    color: var(--text);
    font-weight: 400;
    font-size: 1rem;
    border: 1px solid var(--text);
    border-bottom: 1px solid var(--text);
    letter-spacing: -0.01em;
    vertical-align: top;
    background: var(--bg);
}

.comparison-table th:first-child {
    width: 30%;
    font-weight: 600;
}

.comparison-table td {
    padding: 0.75rem 1rem;
    color: var(--text);
    border: 1px solid var(--text);
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
    vertical-align: top;
}

.comparison-table tbody tr {
    background: var(--bg);
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.check-mark {
    color: #22c55e;
    font-weight: 600;
    font-size: 1rem;
}

.partial {
    color: #f97316;
    font-weight: 400;
}

.control-mapping {
    background: var(--bg);
    padding: 1rem;
    border-radius: 0;
    margin: 1.5rem 0;
    border: 1px solid var(--text);
    width: 100%;
    box-sizing: border-box;
}

.control-mapping h4 {
    color: var(--text);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.control-mapping ul {
    list-style: none;
    padding-left: 0;
}

.control-mapping li {
    color: var(--text);
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
    font-size: 0.875rem;
    font-weight: 400;
}

.control-mapping li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text);
    font-size: 0.875rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Hamburger Menu */
    .menu-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--text);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99;
        display: flex;
    }
    
    .nav-menu.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 20px;
        width: 100%;
    }
    
    /* Hero Section */
    .hero {
        padding: 4rem 0 6rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.9375rem;
    }
    
    .hero-logo-background {
        width: 400px;
        height: 400px;
    }
    
    .hero-logo-bg {
        right: -10%;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.5rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-image {
        height: 180px;
    }

    /* Comparison Table */
    .comparison-table {
        font-size: 0.75rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table thead,
    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table th,
    .comparison-table td {
        display: block;
    }
    
    .comparison-table thead {
        display: none;
    }
    
    .comparison-table tr {
        margin-bottom: 1rem;
        border: 1px solid var(--text);
        padding: 0.75rem;
    }
    
    .comparison-table td {
        padding: 0.5rem 0;
        border: none;
        text-align: left;
    }
    
    .comparison-table td:before {
        content: attr(data-label) ": ";
        font-weight: 600;
        display: inline-block;
        min-width: 120px;
    }
    
    .comparison-table td:first-child {
        font-weight: 600;
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border);
    }
    
    .comparison-table td:first-child:before {
        display: none;
    }

    /* Benefits Grid */
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Compliance Image */
    .compliance-image {
        max-width: 100%;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }
    
    .button-group {
        flex-direction: column;
        width: 100%;
    }
    
    .button-group a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.875rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 1.5rem;
        height: 1.725rem;
    }
    
    .hero-logo-background {
        width: 300px;
        height: 300px;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .compliance-content h3 {
        font-size: 1rem;
    }
}

