@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --nd-bg-dark: #0F172A; /* Deep Navy */
    --nd-bg-light: #F8FAFC;
    --nd-white: #FFFFFF;
    --nd-primary: #3B82F6; /* Tech Blue */
    --nd-border: #CBD5E1;
    --nd-text-main: #1E293B;
    --nd-text-muted: #64748B;
    --nd-radius: 4px; /* Swiss style - small radius */
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }

body {
    background-color: var(--nd-bg-light);
    color: var(--nd-text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: 15px;
    /* Grid pattern for density */
    background-image: linear-gradient(var(--nd-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--nd-border) 1px, transparent 1px);
    background-size: 40px 40px;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

.nd-it-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--nd-white);
    border-left: 1px solid var(--nd-border);
    border-right: 1px solid var(--nd-border);
    min-height: 100vh;
}

/* HEADER */
.nd-it-header {
    background: var(--nd-white);
    border-bottom: 2px solid var(--nd-bg-dark);
    padding: 0 24px;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nd-it-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--nd-bg-dark);
    text-transform: uppercase;
}
.nd-it-logo img { width: 32px; height: 32px; }

/* Desktop Menu */
.nd-it-nav-desk { display: flex; height: 100%; gap: 1px; background: var(--nd-border); border-left: 1px solid var(--nd-border); }
.nd-it-link {
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--nd-white);
    color: var(--nd-text-main);
    transition: 0.2s;
}
.nd-it-link:hover { background: var(--nd-bg-dark); color: var(--nd-white); }

/* Mobile Hamburger */
.nd-it-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
}
.nd-it-bar { width: 100%; height: 3px; background: var(--nd-bg-dark); transition: 0.3s; }

/* Mobile Menu Overlay */
.nd-it-mob-nav {
    position: fixed;
    top: 72px; left: 0; width: 100%; height: 0;
    background: var(--nd-bg-dark);
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}
.nd-it-mob-nav.active { height: auto; border-bottom: 2px solid var(--nd-primary); }
.nd-it-mob-link {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--nd-white);
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

/* HERO SECTION */
.nd-it-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    border-bottom: 1px solid var(--nd-border);
}
.nd-it-hero-content {
    padding: 80px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--nd-border);
}
.nd-it-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--nd-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid var(--nd-primary);
    padding: 4px 8px;
    width: fit-content;
}
.nd-it-h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--nd-bg-dark);
    margin-bottom: 24px;
    font-weight: 700;
}
.nd-it-lead {
    font-size: 1.1rem;
    color: var(--nd-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}
.nd-it-btn {
    display: inline-block;
    background: var(--nd-bg-dark);
    color: var(--nd-white);
    padding: 16px 32px;
    font-weight: 700;
    font-size: 0.95rem;
    width: fit-content;
    transition: 0.3s;
}
.nd-it-btn:hover { background: var(--nd-primary); }

.nd-it-hero-img {
    width: 100%; height: 100%; min-height: 450px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.5s;
}
.nd-it-hero:hover .nd-it-hero-img { filter: grayscale(0%); }

/* SECTIONS */
.nd-it-section { padding: 60px 48px; border-bottom: 1px solid var(--nd-border); }
.nd-it-bg-alt { background: var(--nd-bg-light); }

.nd-it-h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--nd-bg-dark);
    margin-bottom: 40px;
    font-weight: 700;
    border-left: 5px solid var(--nd-primary);
    padding-left: 16px;
}

/* BENTO GRID (Density) */
.nd-it-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--nd-border); /* Creates borders */
    border: 1px solid var(--nd-border);
}
.nd-it-card {
    background: var(--nd-white);
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: 0.2s;
}
.nd-it-card:hover { background: #F1F5F9; }

.nd-it-card-icon {
    width: 48px; height: 48px;
    background: var(--nd-bg-dark);
    color: var(--nd-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 24px;
}
.nd-it-h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: var(--nd-bg-dark); }
.nd-it-p { font-size: 0.9rem; color: var(--nd-text-muted); text-align: justify; line-height: 1.7; }

/* STORY/ABOUT (Text Heavy) */
.nd-it-story { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: center; }
.nd-it-story-img { width: 100%; border: 1px solid var(--nd-bg-dark); padding: 10px; }

/* FORM */
.nd-it-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--nd-white);
    padding: 48px;
    border: 1px solid var(--nd-bg-dark);
    box-shadow: 10px 10px 0px rgba(15, 23, 42, 0.1);
}
.nd-it-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.nd-it-label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--nd-bg-dark); margin-bottom: 8px; text-transform: uppercase; }
.nd-it-input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--nd-border);
    background: var(--nd-bg-light);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border-radius: 0;
}
.nd-it-input:focus { outline: none; border-color: var(--nd-primary); background: var(--nd-white); }

/* FOOTER */
.nd-it-footer { background: var(--nd-bg-dark); color: var(--nd-white); padding: 64px 48px; }
.nd-it-ft-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.nd-it-ft-h { font-family: 'Space Grotesk', sans-serif; font-weight: 700; margin-bottom: 24px; color: var(--nd-primary); }
.nd-it-ft-link { display: block; color: #94A3B8; margin-bottom: 12px; font-size: 0.9rem; }
.nd-it-ft-link:hover { color: var(--nd-white); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .nd-it-nav-desk { display: none; }
    .nd-it-burger { display: flex; }
    .nd-it-hero { grid-template-columns: 1fr; }
    .nd-it-hero-content { padding: 40px 24px; border-right: none; border-bottom: 1px solid var(--nd-border); }
    .nd-it-hero-img { height: 300px; }
    .nd-it-section { padding: 40px 24px; }
    .nd-it-grid-3 { grid-template-columns: 1fr; }
    .nd-it-story { grid-template-columns: 1fr; }
    .nd-it-form-row { grid-template-columns: 1fr; }
    .nd-it-header { padding: 0 20px; }
    .nd-it-h1 { font-size: 2.5rem; }
}