/* Global styles and reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111111;
    background: #050505;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

/* Color tokens */
:root {
    --idr-orange: #ff7a1a;
    --idr-orange-soft: rgba(255, 122, 26, 0.12);
    --idr-bg: #050607;
    --idr-surface: #0d0f12;
    --idr-surface-alt: #12151a;
    --idr-border-subtle: rgba(255, 255, 255, 0.08);
    --idr-text-main: #f5f5f5;
    --idr-text-muted: #a0a4ad;
    --idr-accent: #ffffff;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
}

body {
    color: var(--idr-text-main);
    background: radial-gradient(circle at top left, #261103 0, #050607 38%, #020203 100%);
}

/* Header & navigation */
header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(22px);
    background: linear-gradient(
        to bottom,
        rgba(5, 6, 7, 0.96),
        rgba(5, 6, 7, 0.88),
        rgba(5, 6, 7, 0.72)
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 0.85rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-mark {
    width: 140px;
    height: auto;
    display: block;
}

.nav-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.nav-text strong {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-text span {
    font-size: 0.75rem;
    color: var(--idr-text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.nav-links a {
    position: relative;
    padding-block: 0.25rem;
    color: var(--idr-text-muted);
    transition: color 0.18s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--idr-orange);
    transition: width 0.2s ease-out;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--idr-accent);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.12s ease-out;
}

.btn-primary {
    background: var(--idr-orange);
    color: #111;
    box-shadow: 0 12px 30px rgba(255, 122, 26, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(255, 122, 26, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--idr-text-main);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.04);
}

.nav-toggle {
    display: none;
    padding: 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(5, 6, 7, 0.85);
    color: var(--idr-text-main);
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--idr-text-main);
    position: relative;
    display: block;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--idr-text-main);
}

.nav-toggle span::before {
    top: -5px;
}

.nav-toggle span::after {
    top: 5px;
}

/* Hero */
.hero {
    padding-block: 4.5rem 3.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: var(--idr-orange);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--idr-orange);
    box-shadow: 0 0 12px rgba(255, 122, 26, 0.8);
}

.hero-title {
    font-size: clamp(2.7rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-top: 1.35rem;
    margin-bottom: 1.1rem;
}

.hero-title span {
    background: linear-gradient(120deg, #ffe8bf, #ffb347, #ff7a1a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    max-width: 35rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--idr-text-muted);
}

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

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
    font-size: 0.75rem;
    color: var(--idr-text-muted);
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.35);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 6, 7, 0.78);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 999px;
}

.hero-visual {
    position: relative;
}

.hero-panel {
    position: relative;
    border-radius: 20px;
    padding: 1.6rem 1.5rem 1.5rem;
    background: radial-gradient(circle at top left, rgba(255, 122, 26, 0.25), transparent 55%),
        radial-gradient(circle at bottom, rgba(255, 255, 255, 0.06), transparent 65%),
        var(--idr-surface);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.hero-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.hero-panel-title {
    font-size: 0.9rem;
    color: var(--idr-text-muted);
}

.hero-panel-title strong {
    display: block;
    font-size: 1.05rem;
    color: var(--idr-text-main);
}

.hero-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-orbit {
    position: relative;
    margin-top: 0.6rem;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 55%);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.hero-orbit-core {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    background: conic-gradient(
        from 160deg,
        #ffb347,
        #ff7a1a,
        #ff5722,
        #ffb347
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(255, 122, 26, 0.8);
}

.hero-orbit-core span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #111;
    text-align: center;
}

.hero-orbit-item {
    position: absolute;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.7rem;
    color: var(--idr-text-muted);
    backdrop-filter: blur(12px);
}

.hero-orbit-item strong {
    margin-right: 0.3rem;
    color: var(--idr-text-main);
}

.hero-orbit-item:nth-child(1) {
    top: 15%;
    left: 12%;
}

.hero-orbit-item:nth-child(2) {
    top: 12%;
    right: 8%;
}

.hero-orbit-item:nth-child(3) {
    bottom: 15%;
    left: 16%;
}

.hero-orbit-item:nth-child(4) {
    bottom: 10%;
    right: 14%;
}

.hero-pipeline {
    margin-top: 1.35rem;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    background: rgba(5, 6, 7, 0.75);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--idr-text-muted);
}

.hero-pipeline-steps {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.hero-pipeline-steps span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hero-pipeline-steps span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.hero-pipeline-steps span:first-child::before {
    background: #4ade80;
}

.hero-pipeline-arrow {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Sections */
main {
    scroll-margin-top: 80px;
}

section {
    padding-block: 3.5rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 2.25rem;
}

.section-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--idr-orange);
}

.section-title {
    font-size: 1.7rem;
    letter-spacing: -0.03em;
}

.section-description {
    max-width: 34rem;
    font-size: 0.95rem;
    color: var(--idr-text-muted);
}

/* About */
.about-grid {
    display: grid;
    gap: 1.8rem;
}

.about-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--idr-text-muted);
}

.about-highlight span {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(8, 10, 14, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-bullets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.about-card {
    border-radius: 16px;
    padding: 1.2rem 1.3rem;
    background: var(--idr-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--idr-text-muted);
}

/* Services / pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    position: relative;
    border-radius: 18px;
    padding: 1.4rem 1.3rem 1.5rem;
    background: radial-gradient(circle at top left, rgba(255, 122, 26, 0.25), transparent 55%),
        var(--idr-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.95rem;
}

.card h3 {
    margin-top: 0.9rem;
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--idr-text-muted);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.card-tags span {
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.7rem;
    color: var(--idr-text-muted);
}

.pipeline {
    margin-top: 2.5rem;
    border-radius: 999px;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(
        120deg,
        rgba(255, 122, 26, 0.12),
        rgba(5, 6, 7, 0.92)
    );
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
}

.pipeline-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.pipeline-step {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.pipeline-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
}

.pipeline-step:nth-child(1) .pipeline-dot {
    background: #4ade80;
}

.pipeline-step:nth-child(2) .pipeline-dot {
    background: #facc15;
}

.pipeline-step:nth-child(3) .pipeline-dot {
    background: #38bdf8;
}

.pipeline-step:nth-child(4) .pipeline-dot {
    background: #f97316;
}

.pipeline-arrow {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
}

/* Community */
.community-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.community-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.community-pills span {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(8, 10, 14, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: var(--idr-text-muted);
}

.community-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
}

.community-card {
    border-radius: 16px;
    padding: 1rem 1.05rem 1.1rem;
    background: var(--idr-surface-alt);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.community-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.community-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.community-card p {
    font-size: 0.85rem;
    color: var(--idr-text-muted);
}

/* Contact */
.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.contact-panel {
    border-radius: 18px;
    padding: 1.6rem 1.5rem 1.7rem;
    background: var(--idr-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

.field-group {
    margin-bottom: 1.1rem;
}

.field-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
}

.field-label span {
    color: var(--idr-text-muted);
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(3, 4, 6, 0.95);
    color: var(--idr-text-main);
    font-size: 0.9rem;
    outline: none;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background-color 0.16s ease;
}

input::placeholder,
textarea::placeholder {
    color: rgba(160, 164, 173, 0.7);
}

input:focus-visible,
textarea:focus-visible {
    border-color: rgba(255, 122, 26, 0.85);
    box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.65);
    background: rgba(0, 0, 0, 0.95);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.field-error {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #f97373;
    display: none;
}

.field-error.visible {
    display: block;
}

.form-footer {
    margin-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--idr-text-muted);
}

.form-status {
    min-height: 1rem;
}

.form-status.success {
    color: #4ade80;
}

.form-status.error {
    color: #f97373;
}

.contact-meta {
    font-size: 0.9rem;
    color: var(--idr-text-muted);
}

.contact-meta strong {
    color: var(--idr-text-main);
}

.contact-meta a {
    color: var(--idr-orange);
}

.contact-highlight {
    margin-top: 1.2rem;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    background: rgba(8, 10, 14, 0.95);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--idr-text-muted);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-block: 1.6rem 1.9rem;
    background: #050607;
    font-size: 0.8rem;
    color: var(--idr-text-muted);
}

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

.footer-links,
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a,
.footer-social a {
    color: var(--idr-text-muted);
    transition: color 0.16s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--idr-accent);
}

/* Scroll reveal animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.text-accent {
    color: var(--idr-orange);
}

.muted {
    color: var(--idr-text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid,
    .community-grid,
    .contact-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-block-start: 3.5rem;
    }

    .hero-panel {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-links.open,
    .nav-cta.open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        margin-top: 0.5rem;
    }

    .nav {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .hero-title {
        font-size: clamp(2.3rem, 8vw, 2.7rem);
    }

    .pipeline {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-pipeline {
        flex-direction: column;
        align-items: flex-start;
    }
}