@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    /* background-color: #12151c; */
    background:#0a0e18;
    color: beige;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    height: auto;
    margin: 0;
    /* overflow: hidden; */
}

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


.navbar {
    position: fixed;
    z-index: 1;
    box-sizing: border-box;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    /* background: rgba(10, 14, 24, 0.8); Semi-transparent to match background */
    border-radius: 0rem 0rem 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px); /* Adds a premium frosted glass effect */
    margin-bottom: -50px;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 5vw, 2rem);
    flex-wrap: wrap;
}

.nav-links h1 {
    color: #F5F5DC;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin: 0;
    margin-top: -0.3rem;
    margin-right: 2rem;
    padding: 0;
}

.nav-links a {
    color: #F5F5DC;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.nav-links a:hover {
    opacity: 0.7;
}



.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-weight: 300;
    font-size: 4rem;
    /* font-weight: 800; */
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title span {
    font-weight: 300;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.6),
        0 0 15px rgba(125, 144, 231, 0.8),
        0 0 35px rgba(88, 115, 255, 0.55),
        0 0 65px rgba(88, 115, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: gray;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background: #303f66;
    color: #FFFFFF;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #303f66;
}

.btn-secondary:hover {
    border-color: #525f88;
}

.code-block {
    background: #1b1f29;
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid #2c2f3a;
    font-size: 0.9rem;
    line-height: 1.8;
    box-shadow:
        0 0 30px rgba(59, 91, 200, 0.08),
        0 0 80px rgba(59, 91, 200, 0.04);

}

.code-block pre {
    margin: 0;
    padding: 0;
}

.code-block .keyword {
    color: #c084fc;
}

.code-block .string {
    color: #34d399;
}



.section-title {
    text-align: center;
    /* margin-bottom: 4rem; */
    margin-top: 4rem;
    font-size: 2.5rem;
    font-weight: 400;
}

.features {
    width: 100%;
    padding: 2rem 0 2rem 0;
}

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

.feature-card {
    /* background: #2c2f3a; */
    border-radius: 1rem;
    padding: 2rem;
    /* border: 2px solid #3d3f4b; */
}

.feature-icon {
    width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #d3d3d3;
    font-size: 0.95rem;
}

.additional-features {
    width: 100%;
    background-color: #121724;
    padding: 2rem 0 2rem 0;
}


.tools-section {
    width: 100%;
    max-width: 1400px;
    padding: 2rem 0 2rem 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.tool-card {
    /* background: #2c2f3a; */
    border-radius: 1rem;
    padding: 2rem;
    /* border: 2px solid #3d3f4b; */
}

.tool-icon {
    width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tool-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tool-description {
    color: #d3d3d3;
    font-size: 0.9rem;
}


.setup-section {
    background: #121724;
    width: 100%;
    padding: 4rem 1.5rem;
    box-sizing: border-box;
}

.setup-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.setup-content hr {
    opacity: 0.3;
    margin: 0.75rem;
}

.setup-section .section-title {
    text-align: center;
    margin: 1rem 0 3rem;
    font-size: 2.5rem;
    font-weight: 400;
}

.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.setup-step {
    display: grid;
    /* grid-template-columns: 48px 165px minmax(0, 1fr) 280px; */
    grid-template-columns: 48px 165px minmax(0, 1fr) 340px;

    gap: 3rem;
    align-items: center;
}

.command code {
    margin: 0.5rem;
}

.command span {
    color: #d3d3d3;
    margin-left: 0.5rem;
    font-weight: 600;
}

.step-number {
    width: 44px;
    height: 44px;
    background: #2c2f3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-sizing: border-box;
    transform: translate(25%);
}

.setup-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.setup-step p {
    color: #d3d3d3;
    line-height: 1.5;
    margin: 0;
}

.setup-step code {
    display: block;
    background: #1b1f29;
    padding: 0.6rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    width: max-content;
    box-sizing: border-box;
}



.commands-section {
    width: 100%;
    max-width: 1400px;
    padding: 2rem 0 2rem 0;
}
.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.command-card {
    background: #2c2f3a;
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid #3d3f4b;
}

.command-card code {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.command-card p {
    color: #d3d3d3;
    font-size: 0.9rem;
}

.footer {
    background: #2c2f3a;
    margin-top: 2rem;
    padding-top: 1rem;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 500;
}

.footer-text {
    color: #d3d3d3;
}

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

.footer a {
    color: #d3d3d3;
}

.footer-links a:hover {
    color: beige;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #3d3f4b;
    color: #d3d3d3;
}

/* tablet */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Hero */
    .hero-container {
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    /* Feature cards */
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    /* Built-in tools */
    .tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Setup */
    .setup-content {
        max-width: 850px;
    }

    .setup-step {
        grid-template-columns: 44px 150px minmax(0, 1fr);
        gap: 1.25rem;
    }

    .command-options {
        grid-column: 2 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        min-width: 0;
    }

    .command {
        min-width: 0;
    }

    .command code {
        width: 100%;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        box-sizing: border-box;
    }
}

/* mobile */

@media (max-width: 768px) {

    body {
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        margin: 0;
        overflow-x: hidden;
    }

    /* General container */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1.25rem;
        box-sizing: border-box;
    }

    /* Navigation */
    .navbar {
        top: 0;
        left: 0;
        width: 100%;
        padding: 0.85rem 1rem;
        justify-content: center;
        background: rgba(10, 14, 24, 0.92);
        backdrop-filter: blur(12px);
        margin: 0;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 0.75rem 1rem;
    }

    .nav-links h1 {
        font-size: 1.1rem;
        margin: 0;
    }

    .nav-links a {
        font-size: 0.7rem;
        letter-spacing: 0.04rem;
    }

    .hero {
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 7rem 1.25rem 3rem;
        box-sizing: border-box;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-container {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;

        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.85rem 1.1rem;
        font-size: 0.9rem;
    }

    /* Hero code block */
    .code-block {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 1.1rem;
        font-size: 0.75rem;
        line-height: 1.7;
        overflow-x: auto;
        border-radius: 0.75rem;
    }

    .code-block pre {
        white-space: pre;
        max-width: 100%;
    }

    /* Section headings */
    .section-title {
        font-size: 2rem;
        margin-top: 2.5rem;
        margin-bottom: 2rem;
    }

    /* Features */
    .features,
    .additional-features {
        width: 100%;
        padding: 1.5rem 0 2rem;
        box-sizing: border-box;
    }

    .features-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
        min-width: 0;
        box-sizing: border-box;
    }

    .feature-title {
        font-size: 1.15rem;
    }

    .feature-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .feature-icon {
        width: 2rem;
        height: 2rem;
        object-fit: contain;
    }

    /* Built-in tools */
    .tools-section {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem 0 2.5rem;
        box-sizing: border-box;
    }

    .tools-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .tool-card {
        padding: 1.5rem;
        min-width: 0;
        box-sizing: border-box;
    }

    .tool-icon {
        width: 2rem;
        height: 2rem;
        object-fit: contain;
    }

    .tool-title {
        font-size: 1.05rem;
    }

    .tool-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Setup section */
    .setup-section {
        padding: 2.5rem 0;
    }

    .setup-section .section-title {
        font-size: 2rem;
        margin: 0 0 2rem;
    }

    .setup-content {
        width: 100%;
        max-width: 600px;
    }

    .setup-content hr {
        margin: 1rem 0;
        opacity: 0.2;
    }

    /* Each setup step */
    .setup-step {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 0.75rem 1rem;
        align-items: start;
    }

    .step-number {
        grid-column: 1;
        grid-row: 1 / span 3;
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        transform: none;
    }

    .setup-step h3 {
        grid-column: 2;
        font-size: 1.1rem;
        line-height: 1.4;
        margin: 0;
    }

    .setup-step p {
        grid-column: 2;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Windows and Linux commands */
    .command-options {
        grid-column: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.85rem;
        width: 100%;
        min-width: 0;
    }

    .command {
        width: 100%;
        min-width: 0;
    }

    .command-label {
        display: block;
        margin: 0 0 0.4rem 0;
        font-size: 0.75rem;
    }

    .command code,
    .setup-step code {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0.75rem;
        font-size: 0.75rem;
        line-height: 1.6;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        box-sizing: border-box;
    }
}