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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0a0f14;
}

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

/* Navigation (moved here from index.html) */
.navbar {
    background-color: #333;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
}

.menu-link {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: black;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Shown on computers only (see the desktop layout below) */
.nav-brand,
.text-link {
    display: none;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0f14 0%, #1a232e 100%);
    text-align: center;
}

.hero-logo {
    max-height: 30vh;
    width: auto;
    margin-bottom: 2rem;
    border: 2px solid #00d4ff;
    border-radius: 10px;
}

.brand-title {
    font-size: 3.00rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.hero h2 {
    font-size: 1.6765rem;
    color: #a0aec0;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.2125rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: #a0aec0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    color: #a0aec0;
    text-decoration: none;
    background-color: #0a0f14;
    border: 2px solid #00d4ff;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Brand Title - matches button gradient */
.brand-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: #0a0f14;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #a0aec0;
}

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

.service-card {
    background-color: #1a232e;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2d3748;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

.service-card h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.intro-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #a0aec0;
    font-size: 1.1rem;
}

.use-case, .solution {
    margin: 1.5rem 0;
}

.use-case h4, .solution h4 {
    color: #7b2cbf;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.use-case p, .solution p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.solution p:first-of-type {
    font-size: 1rem;
}

.service-card em {
    display: block;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background-color: rgba(0, 212, 255, 0.1);
    border-left: 3px solid #00d4ff;
    color: #a0aec0;
    font-style: normal;
    font-size: 0.9rem;
}

/* Solutions Section */
.solutions {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0f14 0%, #1a232e 100%);
}

.solutions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #a0aec0;
}

.solution-item {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background-color: #1a232e;
    border-radius: 12px;
    border-left: 4px solid #00d4ff;
}

.solution-item h3 {
    color: #7b2cbf;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.principle-points {
    padding-left: 2rem;
}

.principle-tagline {
    margin-top: 1em;
    font-size: 1.1em;
    font-weight: bold;
}

.principle-emphasis {
    font-size: 1.1em;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: #0a0f14;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #2d3748;
    border-radius: 8px;
    background-color: #1a232e;
    color: white;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00d4ff;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 1rem;
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Footer */
.footer {
    background-color: #0a0f14;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #1a232e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-logo {
        max-height: 19.5vh;
    }

    .brand-title {
        font-size: 2.3rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .services, .solutions, .contact { padding: 3rem 0; }

    .navbar ul {
        gap: 10px;
    }

    .menu-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ------------------------------------------------------------------ */
/* Computers (1024px and wider). Phones and tablets keep the layout    */
/* above until the mobile version is done.                            */
/* ------------------------------------------------------------------ */
@media (min-width: 1024px) {
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, 'Helvetica Neue', Arial, sans-serif;
    }

    section {
        scroll-margin-top: 72px;
    }

    /* Top bar: brand on the left, links on the right */
    .navbar {
        padding: 0;
        background-color: rgba(10, 15, 20, 0.85);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid #1a232e;
    }

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

    .nav-brand {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: #e2e8f0;
        font-weight: 700;
        font-size: 1.05rem;
        text-decoration: none;
    }

    .nav-brand img {
        border-radius: 6px;
        border: 1px solid #00d4ff;
    }

    .navbar ul {
        margin: 0;
        max-width: none;
        gap: 2.5rem;
    }

    .menu-link {
        padding: 0.5rem 0;
        background: none;
        color: #cbd5e1;
        -webkit-text-fill-color: currentColor;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s ease;
    }

    .menu-link:hover {
        color: #00d4ff;
        transform: none;
        box-shadow: none;
    }

    /* Hero: text on the left, logo on the right, and short enough that
       the Product section starts on the first screen */
    .hero {
        min-height: auto;
        padding: 6rem 0 5rem;
        text-align: left;
    }

    .hero .container {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
        column-gap: 4rem;
        align-items: center;
    }

    .hero-copy {
        grid-column: 1;
        grid-row: 1;
    }

    .hero-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        width: 100%;
        max-width: 380px;
        max-height: none;
        height: auto;
        margin: 0;
        box-shadow: 0 30px 80px rgba(123, 44, 191, 0.25);
    }

    .brand-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-tagline span {
        display: inline-block;
        padding: 0.35rem 0.9rem;
        margin-right: 0.25rem;
        border: 1px solid rgba(0, 212, 255, 0.35);
        border-radius: 999px;
        color: #cbd5e1;
        letter-spacing: 0.02em;
    }

    .hero p {
        font-size: 1.2rem;
        line-height: 1.7;
        max-width: 36rem;
        margin: 0 0 2.25rem;
    }

    .hero-actions {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .cta-button {
        padding: 1rem 2.25rem;
        color: #fff;
        background: linear-gradient(135deg, #00a8d6, #7b2cbf);
        border: none;
    }

    .text-link {
        display: inline;
        color: #00d4ff;
        font-weight: 600;
        text-decoration: none;
    }

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

    /* Product: one wide row per product, the problem beside the
       solution, so each reads in a screen instead of three columns
       a screen and a half tall */
    .services {
        padding: 5rem 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        counter-reset: product;
    }

    .service-card {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        column-gap: 3rem;
        padding: 2.5rem 3rem;
        counter-increment: product;
    }

    .service-card:hover {
        transform: translateY(-2px);
    }

    .service-card h3 {
        grid-column: 1 / -1;
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }

    .service-card h3::before {
        content: counter(product, decimal-leading-zero);
        margin-right: 0.75rem;
        color: #4a5568;
        font-weight: 600;
    }

    .use-case {
        grid-column: 1;
        margin: 0;
        padding-right: 3rem;
        border-right: 1px solid #2d3748;
    }

    .solution {
        grid-column: 2;
        margin: 0;
    }

    .use-case h4,
    .solution h4 {
        color: #b18cf0;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-bottom: 0.75rem;
    }

    .use-case p,
    .solution p {
        margin-bottom: 0.9rem;
    }

    /* Key Principles: three cards side by side */
    .solutions {
        padding: 5rem 0 6rem;
    }

    .solutions .container {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .solutions h2 {
        grid-column: 1 / -1;
        margin-bottom: 1.5rem;
    }

    .solution-item {
        max-width: none;
        margin: 0;
        display: flex;
        flex-direction: column;
        border-left: none;
        border-top: 3px solid #00d4ff;
        color: #cbd5e1;
        line-height: 1.7;
    }

    .solution-item h3 {
        color: #b18cf0;
        font-size: 1.3rem;
        line-height: 1.35;
    }

    .principle-points {
        padding-left: 1.25rem;
        margin-top: 0.75rem;
    }

    .principle-points li {
        margin-bottom: 0.4rem;
    }

    .principle-tagline {
        margin-top: auto;
        padding-top: 1rem;
        font-size: 1rem;
        color: #fff;
    }

    .principle-emphasis {
        font-size: 1em;
        color: #fff;
    }

    .footer {
        padding: 2rem 0;
        color: #a0aec0;
        font-size: 0.9rem;
    }
}