* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #eef3e3;
    background: radial-gradient(circle at top, rgba(121, 193, 15, 0.22), transparent 28%),
        linear-gradient(180deg, #050504 0%, #0b0a08 28%, #0f2710 60%, #191813 100%);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('Assets/grass-texture.png') center / cover no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

.hero-logo {
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: auto;
    display: flex;
}

.hero-visual {
    display: grid;
    gap: 1.75rem;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
select {
    font: inherit;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    gap: 1rem;
    background: rgba(14, 24, 16, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #f4f7eb;
}

.header-logo {
    width: 42px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.navcontainer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.navitem {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1rem;
    color: #d6e2c1;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.navitem:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
    color: #f9fbe7;
}

main {
    padding: 6rem 2rem 3rem;
    position: relative;
    z-index: 1;
}

.hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
}

.hero-copy {
    max-width: 620px;
    animation: fadeInUp 0.9s ease both;
}

.eyebrow {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
    color: #b6cf7b;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-copy h1 {
    font-size: clamp(3.2rem, 4vw, 4.8rem);
    margin: 0;
    line-height: 0.98;
    color: #f9fce4;
    text-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.hero-copy p {
    margin: 1.5rem 0 2rem;
    max-width: 34rem;
    line-height: 1.8;
    color: #dbe3c0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.glass-card,
.status-card,
.feature-card,
.feature-block,
.tool-section,
.console-panel {
    background: rgba(10, 10, 8, 0.92);
    border: 1px solid rgba(121, 193, 15, 0.12);
    border-radius: 28px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(18px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: none;
    border-radius: 999px;
    padding: 1rem 1.45rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #79c10f 0%, #5f8d0f 100%);
    color: #0d120d;
    box-shadow: 0 18px 36px rgba(121, 193, 15, 0.28);
}

.btn-secondary,
.btn-ghost {
    background: rgba(18, 20, 18, 0.92);
    color: #e8f1cf;
    border: 1px solid rgba(121, 193, 15, 0.22);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: rgba(38, 40, 34, 0.9);
    color: #b1bba2;
}

.console-line {
    padding: 0.45rem 0.6rem;
    margin-bottom: 0.35rem;
    border-radius: 12px;
    background: rgba(17, 21, 16, 0.72);
}

.console-info {
    color: #dbe3b4;
}

.console-error {
    color: #f6c79a;
}

.console-warn {
    color: #f2e6b1;
}

.glass-card,
.status-card,
.feature-card,
.feature-block,
.tool-section,
.console-panel {
    background: rgba(8, 10, 6, 0.92);
    border: 1px solid rgba(121, 193, 15, 0.12);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(20px);
}

.btn-ghost:hover {
    background: rgba(39, 48, 39, 0.95);
}

.btn-large {
    width: 100%;
    padding: 1.1rem;
}

.hero-card {
    padding: 2rem;
    display: grid;
    gap: 1.4rem;
    animation: fadeInRight 0.9s ease both;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.card-label {
    color: #9fbe82;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.status-badge,
.console-badge {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(64, 95, 43, 0.2);
    color: #e6f0c6;
    font-weight: 700;
}

.status-live {
    background: rgba(197, 240, 141, 0.16);
    color: #d3f48e;
}

.stats-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat span {
    display: block;
    color: #b9d897;
    font-size: 0.95rem;
}

.stat strong {
    font-size: 1rem;
}

.tool-section {
    margin-top: 3rem;
    padding: 2rem;
    animation: fadeInUp 1s ease both;
}

.tool-header {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.tool-header h2 {
    margin: 0.35rem 0 0;
}

.tool-state {
    text-align: right;
}

.state-label {
    display: block;
    color: #a9c886;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.tool-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 1.75rem;
    margin-top: 2rem;
}

.tool-panel {
    display: grid;
    gap: 1.2rem;
}

.file-button {
    width: min(100%, 320px);
}

input[type="file"] {
    display: none;
}

.field-label {
    font-size: 0.95rem;
    color: #d5dfb7;
}

select {
    width: 100%;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(124, 177, 67, 0.22);
    background: rgba(15, 23, 16, 0.92);
    color: #eef3e3;
}

.status-panel {
    display: grid;
    gap: 1rem;
}

.status-card {
    padding: 1.25rem 1.35rem;
    border-radius: 22px;
}

.panel-title {
    display: block;
    font-size: 0.85rem;
    color: #a8c48c;
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-card p {
    margin: 0;
    font-size: 1.05rem;
    color: #eef5da;
}

.console-panel {
    margin-top: 1.75rem;
    padding: 1.5rem;
}

.console-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.console-output {
    min-height: 190px;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(10, 15, 11, 0.95);
    border: 1px solid rgba(124, 177, 67, 0.18);
    overflow-y: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.95rem;
    color: #d3e2b0;
    line-height: 1.65;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.feature-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: 16px;
    background: rgba(124, 177, 67, 0.18);
    color: #d5e6b7;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin: 0 0 0.75rem;
}

.feature-card p {
    margin: 0;
    line-height: 1.75;
    color: #d9e3bc;
}

.feature-block {
    padding: 2rem;
}

.feature-block h2 {
    margin: 0.75rem 0 1rem;
}

.feature-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-block ul li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
    color: #d8e3b3;
}

.feature-block ul li i {
    color: #8cb45c;
}

.center-block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.center-block i {
    font-size: 2rem;
    color: #bfe18d;
}

footer {
    padding: 2rem;
    margin-top: 3rem;
    background: rgba(10, 15, 11, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-grid h3 {
    margin-top: 0;
}

.footer-grid p {
    max-width: 44rem;
    line-height: 1.8;
    color: #cad2a3;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-item {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c6d6a2;
    background: rgba(54, 68, 44, 0.32);
    border-radius: 16px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-item:hover {
    transform: translateY(-2px);
    background: rgba(124, 177, 67, 0.2);
    color: #eef8df;
}

footer p {
    color: #9ab27a;
    margin-top: 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1100px) {
    .hero,
    .tool-grid,
    .info-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    header {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 720px) {
    .hero {
        gap: 1.4rem;
    }
    .hero-copy h1 {
        font-size: clamp(2.8rem, 10vw, 3.8rem);
    }
    .tool-header,
    .console-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .tool-state {
        text-align: left;
    }
}
