nav {
    background: hsla(0, 0%, 100%, .95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1)
}

@media(max-width: 768px) {
    nav {
        padding: 1rem 5%
    }
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .3s cubic-bezier(0.4, 0, 0.2, 1)
}

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

.nav-links a {
    color: #50392c;
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    transition: color .3s cubic-bezier(0.4, 0, 0.2, 1)
}

.nav-links a:hover {
    color: #50392c
}

@media(max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: .85rem
    }
}

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

section {
    padding: 80px 0
}

@media(max-width: 768px) {
    section {
        padding: 60px 0
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem
}

.section-tag {
    display: inline-block;
    font-weight: 600;
    font-size: .875rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block
}

.btn-primary {
    background: #fff;
    color: #50392c
}

.btn-primary:hover {
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15)
}

.btn-secondary {
    background: rgba(0, 0, 0, 0);
    color: #fff;
    border: 2px solid #fff
}

.btn-secondary:hover {
    background: #fff;
    color: #50392c;
    transform: translateY(-2px)
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap
}

footer {
    background: #f3f4f6;
    padding: 3rem 5%;
    text-align: center
}

footer a {
    color: #50392c;
    text-decoration: none
}

footer a:hover {
    text-decoration: underline
}

@keyframes fadeIn {
    to {
        opacity: 1
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn .6s ease forwards
}

.fade-in:nth-child(1) {
    animation-delay: 0.1s
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s
}

.fade-in:nth-child(3) {
    animation-delay: 0.3s
}

.fade-in:nth-child(4) {
    animation-delay: 0.4s
}

.fade-in:nth-child(5) {
    animation-delay: 0.5s
}

.fade-in:nth-child(6) {
    animation-delay: 0.6s
}

.fade-in:nth-child(7) {
    animation-delay: 0.7s
}

.fade-in:nth-child(8) {
    animation-delay: 0.8s
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2937;
    line-height: 1.6;
    background: #fff
}

nav {
    background: #fff;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e5e7eb
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
    text-decoration: none
}

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

.nav-links a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    transition: color .3s cubic-bezier(0.4, 0, 0.2, 1)
}

.nav-links a:hover {
    color: #10b981
}

@media(max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: .85rem
    }
}

.btn-nav {
    background: #10b981;
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background .3s cubic-bezier(0.4, 0, 0.2, 1)
}

.btn-nav:hover {
    background: #059669;
    color: #fff
}

.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: center;
    padding: 4rem 2rem
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/img/greeknamecorrection-banner2.jpg");
    background-size: cover;
    background-position: center;
    filter: blur(1px);
    z-index: 0
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75));
    z-index: 1
}

@media(max-width: 768px) {
    .hero {
        padding: 3rem 1rem
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.1
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6
}

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

@media(max-width: 768px) {
    .hero-buttons {
        flex-direction: column
    }
}

.btn-primary {
    background: #10b981;
    color: #fff
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, .3)
}

@media(max-width: 768px) {
    .btn-primary {
        width: 100%;
        text-align: center
    }
}

.btn-secondary {
    background: #f9fafb;
    color: #1f2937;
    border: 1px solid #e5e7eb
}

.btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-2px)
}

@media(max-width: 768px) {
    .btn-secondary {
        width: 100%;
        text-align: center
    }
}

.features {
    background: #f9fafb;
    padding: 4rem 2rem
}

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

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem
}

@media(max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem
    }
}

@media(max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr
    }
}

.feature-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1)
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
    border-color: #10b981
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: .75rem
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: #1f2937
}

.feature-desc {
    color: #6b7280;
    font-size: .85rem;
    line-height: 1.5
}

.examples {
    padding: 4rem 2rem
}

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

.example-card {
    background: #1f2937;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    overflow-x: auto
}

.example-card pre {
    color: #f3f4f6;
    font-family: "Courier New", monospace;
    font-size: .9rem;
    line-height: 1.6;
    margin: 0
}

.example-card code {
    color: #f3f4f6
}

.example-label {
    color: #6b7280;
    font-size: .9rem;
    margin-bottom: 1rem;
    display: block
}

.code-comment {
    color: #9ca3af
}

.code-string {
    color: #fbbf24
}

.code-keyword {
    color: #60a5fa
}

.demo {
    background: #f9fafb;
    padding: 4rem 2rem
}

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

.demo-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem
}

.demo-input {
    width: 100%;
    padding: .75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: inherit
}

.demo-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .1)
}

.demo-output {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    min-height: 60px
}

.demo-output-label {
    font-size: .85rem;
    color: #6b7280;
    margin-bottom: .5rem;
    display: block
}

.demo-result {
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 500
}

.demo-label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 500
}

.demo-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: .9rem;
    color: #6b7280
}

.demo-options label {
    display: flex;
    align-items: center;
    gap: .35rem;
    cursor: pointer
}

.demo-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0
}

.demo-options-group {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    background: #f9fafb
}

.demo-options-group legend {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b7280;
    padding: 0 .5rem
}

.demo-options-group label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: #1f2937;
    cursor: pointer;
    margin-bottom: .5rem
}

.demo-options-group label:last-child {
    margin-bottom: 0
}

.demo-options-group select {
    margin-left: .25rem;
    padding: .25rem .5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: .9rem;
    background: #fff;
    color: #1f2937
}

.demo-json {
    margin-top: 1rem;
    padding: 1rem;
    background: #1f2937;
    color: #f3f4f6;
    border-radius: 6px;
    font-size: .8rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word
}

.demo-hint {
    margin-top: 1rem;
    font-size: .85rem;
    color: #6b7280
}

.cli-section {
    padding: 4rem 2rem;
    background: #fff
}

.section-desc {
    text-align: center;
    color: #6b7280;
    margin-bottom: 1.5rem
}

.section-desc code {
    background: #f9fafb;
    padding: .2rem .5rem;
    border-radius: 4px;
    font-size: .9em
}

.footer-link {
    color: #10b981;
    text-decoration: none
}

.footer-link:hover {
    text-decoration: underline
}

.stats {
    padding: 4rem 2rem;
    background: #fff
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto
}

.stat-item {
    text-align: center
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    display: block;
    margin-bottom: .5rem
}

.stat-label {
    color: #6b7280;
    font-size: .95rem
}

.installation {
    background: #f9fafb;
    padding: 4rem 2rem
}

.install-code {
    background: #1f2937;
    color: #f3f4f6;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: "Courier New", monospace;
    font-size: .95rem;
    max-width: 700px;
    margin: 0 auto;
    overflow-x: auto
}

.install-note {
    color: #6b7280;
    font-size: .9rem;
    margin-top: 1rem;
    text-align: center
}

.install-buttons {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap
}

footer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 3rem 2rem;
    text-align: center
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap
}

.footer-links a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    transition: color .3s cubic-bezier(0.4, 0, 0.2, 1)
}

.footer-links a:hover {
    color: #10b981
}

.footer-text {
    color: #6b7280;
    font-size: .9rem
}