:root {
    --primary: #00d4ff;
    --accent: #ff8c00;
    --bg-deep: #030303;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-strong: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-soft: #b0b0b0;
    --danger: #ff5d6c;
    --success: #30d681;
    --gradient: linear-gradient(135deg, var(--primary), #0072ff);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", sans-serif;
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none;
}

body {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(circle at 0% 0%, #1a1a1a 0%, #050505 100%);
    color: var(--text-main);
}

body[data-page="thank-you"] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body[data-page="thank-you"] main {
    flex: 1;
    display: flex;
    align-items: center;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(0, 212, 255, 0.75);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.text-primary {
    color: var(--primary);
}

.container {
    width: min(100%, 1200px);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

header,
main,
footer,
section {
    max-width: 100%;
    overflow-x: hidden;
}

.bg-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.glow-one {
    top: 10%;
    left: 10%;
}

.glow-two {
    right: 10%;
    bottom: 10%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

.brand-header {
    padding: 3rem 0 2rem;
    text-align: center;
}

body[data-page="home"] .brand-header {
    padding-top: 4.75rem;
}

.brand-wrapper {
    display: inline-block;
    position: relative;
    max-width: 100%;
}

.brand-main {
    font-size: clamp(4.5rem, 18vw, 13rem);
    font-weight: 900;
    letter-spacing: -7px;
    line-height: 0.85;
    color: #fff;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.1));
}

.brand-sub {
    position: absolute;
    top: -8%;
    right: -10px;
    background: var(--primary);
    color: #000;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    padding: 6px 22px;
    border-radius: 100px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: lowercase;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 1rem 0 2rem;
    gap: 2rem;
    overflow: hidden;
}

.hero-content,
.profile-container {
    min-width: 0;
}

.hero-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-content p,
.page-hero p,
.cta-section p {
    color: var(--text-soft);
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-content p {
    margin-bottom: 2.5rem;
    max-width: 550px;
}

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

.hero-actions.center {
    justify-content: center;
}

.btn-main,
.btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    background: var(--text-main);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-main {
    min-height: 54px;
    padding: 1rem 1.45rem;
}

.btn-small {
    min-height: 42px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
}

.btn-main:hover,
.btn-small:hover {
    transform: translateY(-3px) scale(1.02);
    background: var(--primary);
    color: #fff;
}

.btn-outline {
    color: #fff;
    background: var(--glass);
    border-color: var(--glass-border);
}

.btn-accent {
    color: #101010;
    background: var(--accent);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.social-links a,
.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-soft);
    transition: 0.3s;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2.5rem;
}

.p-card,
.s-card,
.c-card,
.project-card,
.form-panel,
.cta-section,
.thank-panel {
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(15px);
}

.p-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 128px;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: 0.4s;
}

.p-card:hover,
.p-card:focus-visible {
    border-color: var(--primary);
    transform: translateY(-10px);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.more-card {
    position: relative;
    overflow: hidden;
    color: #101010;
    text-decoration: none;
    background: linear-gradient(135deg, #ffb347 0%, var(--accent) 58%, #ff6a00 100%);
    border-color: rgba(255, 140, 0, 0.55);
    box-shadow: 0 16px 34px rgba(255, 140, 0, 0.18);
}

.more-card::before {
    content: "";
    position: absolute;
    inset: -40% auto auto -20%;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
}

.more-card span {
    position: relative;
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    color: rgba(16, 16, 16, 0.72);
}

.more-card h3::after {
    content: "  →";
    color: #101010;
}

.p-card h3 {
    position: relative;
    font-size: 1rem;
    line-height: 1.3;
}

.p-card > i {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.8rem;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    font-size: 1.35rem;
}

.profile-container {
    position: relative;
    text-align: center;
}

.profile-img {
    width: min(380px, 100%);
    height: auto;
    aspect-ratio: 1;
    max-width: 100%;
    object-fit: cover;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite;
    border: 8px solid var(--glass-border);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.2);
}

@keyframes morph {
    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.profile-caption {
    margin-top: 1.5rem;
}

.profile-caption div {
    font-weight: 800;
    font-size: 1.2rem;
}

.profile-caption span {
    display: block;
    margin-top: 5px;
    color: var(--primary);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.services,
.page-section {
    padding: 3rem 0 2rem;
}

body[data-page="home"] .services {
    padding-top: 6rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 0;
}

.section-title.small {
    font-size: 2.5rem;
}

.service-grid,
.contact-grid,
.project-grid {
    display: grid;
    gap: 2rem;
}

.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.s-card {
    min-width: 0;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.9));
    padding: 3rem 2rem;
    border-radius: 30px;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
}

.s-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.s-card h3 {
    margin-top: 0;
}

.s-card p {
    color: var(--text-soft);
    margin-top: 1rem;
    line-height: 1.6;
}

.cta-section {
    margin: 3rem 0 2rem;
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 680px;
    margin: 0 auto 2rem;
}

.contact {
    padding: 2rem 0;
}

.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    margin-top: 2rem;
}

.c-card {
    min-width: 0;
    padding: 3rem 2rem;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    transition: 0.4s;
    text-align: center;
}

.c-card:hover {
    border-color: var(--accent);
    background: rgba(255, 140, 0, 0.05);
}

.c-card i {
    color: var(--primary);
    font-size: 1.8rem;
}

.c-card h3 {
    margin: 15px 0;
}

.c-card span {
    color: var(--text-soft);
    overflow-wrap: anywhere;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 58px;
    padding: 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 0.5rem;
}

body[data-page="thank-you"] .site-footer {
    flex: 0 0 auto;
    min-height: 52px;
    margin-top: 0;
}

.site-footer p {
    opacity: 0.65;
    width: 100%;
    text-align: center;
    margin: 0;
}

.page-hero {
    padding: 2.5rem 0 2rem;
    text-align: center;
}

.catalogue-hero-panel {
    position: relative;
    overflow: hidden;
    width: min(1060px, 100%);
    margin: 0 auto;
    border: 1px solid rgba(0, 212, 255, 0.16);
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 212, 255, 0.16), transparent 34%),
        radial-gradient(circle at 85% 20%, rgba(255, 140, 0, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
    padding: clamp(2rem, 5vw, 4rem) clamp(1.1rem, 4vw, 3rem);
}

.demo-hero-panel {
    position: relative;
    overflow: hidden;
    width: min(960px, 100%);
    margin: 0 auto;
    border: 1px solid rgba(0, 212, 255, 0.16);
    border-radius: 28px;
    background:
        radial-gradient(circle at 16% 0%, rgba(0, 212, 255, 0.16), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(255, 140, 0, 0.12), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.1rem, 4vw, 3rem);
}

.demo-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    width: min(680px, 100%);
    margin: 1.8rem auto 0;
}

.demo-trust-row div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: #f4f4f4;
    padding: 0.78rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 800;
}

.demo-trust-row i {
    color: var(--primary);
}

.catalogue-hero-panel::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 22px;
    pointer-events: none;
}

.catalogue-hero-panel > * {
    position: relative;
}

.page-top-actions {
    padding-top: 1.25rem;
}

.home-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    padding: 0.75rem 1rem;
    text-decoration: none;
    font-weight: 800;
    transition: 0.25s ease;
}

.home-pill:hover {
    color: #fff;
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
    transform: translateY(-2px);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.08);
    color: var(--primary);
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.page-hero h1 {
    max-width: 920px;
    margin: 0 auto 1.2rem;
    font-size: clamp(2.45rem, 6vw, 4.8rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.page-hero p {
    max-width: 840px;
    margin: 0 auto;
}

.catalogue-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: min(760px, 100%);
    margin: 2rem auto;
}

.catalogue-highlights div {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.026));
    padding: 1.1rem 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.catalogue-highlights i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 0.6rem;
    border-radius: 50%;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
}

.catalogue-highlights strong {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
}

.catalogue-highlights span {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.filter-shell {
    margin: 0 0 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    padding: 1rem;
}

.filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.2rem 0.35rem 1rem;
}

.filter-heading span {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.filter-heading strong {
    color: #fff;
    font-size: 1rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.65rem;
    margin: 0;
}

.filter-btn {
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-soft);
    padding: 0.78rem 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: #fff;
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(0, 114, 255, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 212, 255, 0.08);
}

.project-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.project-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 22px;
    overflow: hidden;
    transition: 0.35s ease;
}

.featured-project {
    border-color: rgba(0, 212, 255, 0.18);
    background:
        linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(255, 140, 0, 0.045)), var(--glass);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.project-image {
    min-height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.28), transparent 34%),
        linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(255, 140, 0, 0.12)), #101010;
}

.project-image i {
    font-size: 3rem;
    color: #fff;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.project-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.category-pill {
    align-self: flex-start;
    border-radius: 999px;
    color: #000;
    background: var(--primary);
    padding: 0.3rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 900;
}

.demo-ready-pill {
    border: 1px solid rgba(255, 140, 0, 0.55);
    border-radius: 999px;
    color: var(--accent);
    background: rgba(255, 140, 0, 0.08);
    padding: 0.3rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 900;
}

.project-card h2 {
    margin: 1rem 0 0.75rem;
    font-size: 1.3rem;
}

.impact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    color: #e8faff;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.4;
}

.impact-line i {
    color: var(--accent);
}

.modal-impact {
    margin: 1rem 0 0;
}

.project-card p,
.modal-content p {
    color: var(--text-soft);
    line-height: 1.6;
}

.tag-list,
.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
    list-style: none;
}

.tag-list li {
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    color: var(--text-soft);
    padding: 0.35rem 0.62rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.feature-list li {
    color: #d9d9d9;
    width: 100%;
    font-size: 0.9rem;
}

.feature-list li::before {
    content: "✓";
    color: var(--success);
    margin-right: 0.45rem;
}

.modal-feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

.modal-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.78rem 0.85rem;
    color: #f2f2f2;
    font-weight: 700;
}

.modal-feature-list li::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0;
    border-radius: 50%;
    background: rgba(48, 214, 129, 0.12);
    color: var(--success);
    font-size: 0.8rem;
    font-weight: 900;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 1.25rem;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem;
}

.modal.open {
    display: block;
}

.modal-box {
    width: min(900px, 100%);
    max-height: 90vh;
    margin: 5vh auto;
    overflow: auto;
    background: #111;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.modal-head span,
.modal-head h2 {
    font-weight: 800;
    font-size: 1.2rem;
}

.close-v,
.modal-close {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 0;
    border-radius: 50%;
    color: #ff4757;
    background: transparent;
    cursor: pointer;
    font-size: 1.3rem;
}

.modal iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.modal-content {
    padding: 1.5rem;
}

.modal-content > .btn-main {
    margin-top: 1.5rem;
}

.modal-content h3 + p,
.modal-subtitle {
    margin-top: 0.75rem;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.form-panel {
    position: relative;
    overflow: hidden;
    width: min(980px, 100%);
    margin: 2.5rem auto 0;
    padding: clamp(1.35rem, 3vw, 2.2rem);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)), var(--glass);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.form-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.form-panel > * {
    position: relative;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 2.2rem 0 1rem;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 0;
}

.form-section-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    font-size: 1rem;
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.field {
    min-width: 0;
}

.field.full {
    grid-column: 1 / -1;
}

.field label,
.consent {
    display: block;
    color: #f2f2f2;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.058);
    color: #fff;
    padding: 1rem 1rem;
    outline: none;
    transition: 0.25s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.field select option {
    color: #111;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
    background: rgba(255, 255, 255, 0.078);
}

.field-error {
    min-height: 1.1rem;
    margin-top: 0.35rem;
    color: var(--danger);
    font-size: 0.85rem;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
    border-color: var(--danger);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: 1.35rem;
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem;
    color: var(--text-soft);
    line-height: 1.5;
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 0.18rem;
    accent-color: var(--primary);
}

.form-status {
    min-height: 1.4rem;
    margin-top: 1rem;
    color: var(--text-soft);
    font-weight: 700;
}

.form-status.error {
    color: var(--danger);
}

.form-status.success {
    color: var(--success);
}

.submit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.4rem;
}

.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

button.loading .spinner {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.thank-panel {
    width: min(720px, 100%);
    margin: 3rem auto;
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
}

.thank-actions {
    margin-top: 2rem;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    color: #00140a;
    background: var(--success);
    font-size: 2.4rem;
}

.submission-id {
    display: inline-block;
    margin: 1.4rem 0;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 0.75rem 1rem;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.06);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.floating-actions {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 850;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.float-btn {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    font-size: 1.35rem;
}

.float-btn.whatsapp {
    background: #25d366;
}

.float-btn.demo {
    background: var(--gradient);
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-actions,
    .social-links {
        justify-content: center;
    }

    .profile-container {
        order: -1;
    }

    .modal-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .brand-main {
        letter-spacing: -3px;
    }

    .brand-sub {
        right: -10px;
        top: -15px;
    }

    .demo-grid {
        grid-template-columns: 1fr;
    }

    .profile-img {
        width: 280px;
        height: 280px;
    }

    .form-panel,
    .cta-section,
    .thank-panel {
        padding: 1.5rem;
    }

    .catalogue-highlights {
        grid-template-columns: 1fr;
    }

    .demo-trust-row {
        grid-template-columns: 1fr;
    }

    .filter-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .filters {
        justify-content: center;
    }
}

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

    .btn-main,
    .btn-small {
        width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .project-actions,
    .submit-row {
        flex-direction: column;
    }

    .floating-actions {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .float-btn {
        width: 48px;
        height: 48px;
    }
}
