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

:root {
    --primary-color: #7AB443;
    --primary-dark: #5A9A2A;
    --primary-light: #9ACC66;
    --text-color: #1d1d1f;
    --text-light: #6e6e73;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --border-color: #e5e5e7;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-green: 0 8px 24px rgba(122, 180, 67, 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

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

/* Hero Brand */
.hero-brand {
    margin-bottom: 40px;
}

.hero-logo {
    height: 68px;
    width: auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    background: var(--background);
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero h1 .accent {
    color: var(--primary-color);
}

.hero .tagline {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 35px;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero .tagline a {
    color: #7AB443;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.hero .tagline a:visited {
    color: #7AB443;
}

.hero .tagline a:hover {
    border-bottom-color: #7AB443;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(122, 180, 67, 0.35);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 40px 20px;
    background-color: var(--background);
    text-align: center;
}

.about h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about .lead {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Section */
.why {
    padding: 50px 20px;
    background-color: var(--background);
    text-align: center;
}

.why h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-intro {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-color);
    max-width: 750px;
    margin: 0 auto 15px;
}

.section-intro strong {
    color: var(--text-color);
}

.info-box {
    background: linear-gradient(135deg, rgba(122, 180, 67, 0.08) 0%, rgba(122, 180, 67, 0.04) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 24px 28px;
    margin: 30px auto 0;
    max-width: 750px;
    border-radius: 12px;
    text-align: left;
}

.info-box p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
}

/* Hero Screenshot */
.hero-screenshot {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.mac-frame {
    background: linear-gradient(180deg, #e8e8e8 0%, #d0d0d0 100%);
    border-radius: 12px;
    padding: 8px 8px 24px;
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.5);
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}

.mac-frame .screenshot-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* Screenshots Gallery Section */
.screenshots {
    padding: 80px 20px;
    background-color: var(--background);
}

.screenshots h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-color);
}

.screenshots .section-intro {
    text-align: center;
    margin-bottom: 40px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot-card {
    text-align: center;
}

.screenshot-card .screenshot-frame {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: var(--background-alt);
}

.screenshot-card .screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-card:hover .screenshot-frame {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.screenshot-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-color);
}

.screenshot-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Features Section */
.features {
    padding: 50px 20px 40px;
    background-color: var(--background-alt);
}

.features h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color);
}

.features-intro {
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--background);
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.feature-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-light);
}

/* Security Comparison Section */
.security {
    padding: 50px 20px;
    background-color: var(--background);
}

.security h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
}

.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto 30px;
}

.comparison-card {
    background-color: var(--background-alt);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.comparison-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.comparison-card p {
    font-size: 15px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card ul li {
    font-size: 15px;
    padding: 8px 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.comparison-card ul li:last-child {
    border-bottom: none;
}

.security-note {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.security-note strong {
    color: var(--text-color);
}

.security-note em {
    font-style: italic;
}

/* Legal Section */
.legal {
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--background-alt) 0%, var(--background) 100%);
    border-top: 1px solid var(--border-color);
}

.legal h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

.legal-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.legal-highlight {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

.legal-section {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 25px 30px;
    background-color: var(--background);
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: left;
}

.legal-section h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.legal-section p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.legal-section ul li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 8px;
}

.legal-section strong {
    font-weight: 600;
    color: var(--text-color);
}

.legal-section em {
    font-style: italic;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-case {
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 28px 32px;
    background-color: var(--background);
    border-left: 4px solid var(--primary-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: left;
}

.legal-case h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.legal-case p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
}

.legal-case ul {
    margin: 10px 0 0 20px;
    padding: 0;
    list-style: none;
}

.legal-case ul li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 8px;
}

.legal-case strong {
    font-weight: 600;
    color: var(--text-color);
}

.legal-case em {
    font-style: italic;
}

.legal-case a {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
}

.legal-case a:hover {
    text-decoration: underline;
}

/* Featured legal case with image */
.legal-case-featured {
    padding: 32px;
}

.legal-case-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.legal-case-text {
    flex: 1;
}

.legal-case-text p {
    margin-bottom: 12px;
}

.legal-case-text p:last-child {
    margin-bottom: 0;
}

.legal-case-image {
    flex-shrink: 0;
    width: 220px;
}

.legal-case-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .legal-case-content {
        flex-direction: column;
    }
    
    .legal-case-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Use Cases / Final CTA Section */
.use-cases {
    padding: 80px 20px;
    background-color: var(--text-color);
    text-align: center;
    color: white;
}

.use-cases h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.use-cases p {
    font-size: 18px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.85);
}

.use-cases .opensource-note {
    font-size: 16px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.6);
}

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

.use-cases .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.use-cases .btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.use-case-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.use-case-list li {
    font-size: 16px;
    padding: 16px 20px;
    margin-bottom: 12px;
    background-color: var(--background-alt);
    border-radius: 10px;
    box-shadow: var(--shadow);
    color: var(--text-color);
    transition: transform 0.2s ease;
}

.use-case-list li strong {
    font-weight: 600;
}

.use-case-list li:hover {
    transform: translateX(5px);
}

/* For Whom Section */
.for-whom {
    padding: 50px 20px;
    background-color: var(--background-alt);
}

.for-whom h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
    color: var(--text-color);
}

.persona-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.persona-card {
    background-color: var(--background);
    padding: 28px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid var(--border-color);
}

.persona-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.persona-icon {
    font-size: 40px;
    margin-bottom: 14px;
    display: inline-block;
}

.persona-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.persona-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    padding: 80px 20px;
    background: var(--text-color);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.85;
}

.cta .opensource-note {
    font-size: 16px;
    margin-bottom: 18px;
    opacity: 0.7;
}

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

.cta .btn-secondary {
    border-color: rgba(255,255,255,0.3);
    color: white;
}

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

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

footer .footer-logo {
    height: 32px;
    margin-bottom: 16px;
    opacity: 0.9;
}

footer p {
    margin: 0 0 10px 0;
    opacity: 0.7;
    font-size: 14px;
}

footer p:last-child {
    margin-bottom: 0;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero .tagline {
        font-size: 16px;
    }

    .hero-screenshot {
        margin-top: 40px;
    }

    .mac-frame {
        max-width: 100%;
    }

    .screenshot-placeholder {
        min-height: 200px;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .screenshot-card .screenshot-placeholder {
        min-height: 180px;
    }

    .screenshots h2,
    .about h2,
    .why h2,
    .features h2,
    .security h2,
    .legal h2,
    .use-cases h2,
    .for-whom h2,
    .cta h2 {
        font-size: 26px;
    }

    .about .lead,
    .section-intro {
        font-size: 16px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .persona-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison {
        grid-template-columns: 1fr;
    }

    .use-case-list li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 20px 40px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero .tagline {
        font-size: 15px;
    }

    .hero-screenshot {
        margin-top: 30px;
    }

    .screenshot-placeholder {
        min-height: 160px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .persona-grid {
        grid-template-columns: 1fr;
    }
}
