/* ==========================================================================
   OCK — Odoo Community Kerala
   Brand: Connect • Learn • Build with Odoo
   Design System Specification V2
   ========================================================================== */

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

html, body {
    margin: 0;
    padding: 0;
}

/* OCK — Odoo Community Kerala Core Design Tokens */
.ock-home {
    --green: #16864b;
    --green-dark: #116d3d;
    --green-light: #eaf6ee;
    --purple: #80518a;
    --purple-light: #f5eef7;
    --ink: #243044;
    --muted: #68778b;
    --border: #e2e9e7;
    color: var(--ink);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.ock-home * { box-sizing: border-box; }
.ock-home a { text-decoration: none; transition: .2s; }
.ock-container { max-width: 1440px; margin: auto; padding: 0 36px; width: 100%; }
.ock-label {
    color: var(--purple); font-size: 12px; font-weight: 800;
    letter-spacing: 1.2px; text-transform: uppercase;
}
.ock-heading {
    font-size: clamp(28px, 3vw, 40px); line-height: 1.2;
    font-weight: 750; letter-spacing: -1px; margin: 8px 0 16px;
    color: var(--ink);
}
.ock-subtitle { color: var(--muted); max-width: 760px; }
.ock-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 9px; padding: 12px 22px; border-radius: 10px;
    font-size: 13px; font-weight: 700; transition: .2s; cursor: pointer;
    border: none;
}
.ock-btn-primary { background: var(--green); color: white !important; }
.ock-btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(22, 134, 75, 0.25); }
.ock-btn-outline {
    border: 1px solid var(--green); color: var(--green) !important;
    background: white;
}
.ock-btn-outline:hover { background: var(--green-light); transform: translateY(-2px); }

/* Navigation */
.ock-nav {
    border-bottom: 1px solid var(--border);
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.ock-nav-inner {
    min-height: 78px; display: flex; align-items: center;
    justify-content: space-between; gap: 24px;
}
.ock-brand { display: flex; align-items: center; min-width: 175px; text-decoration: none; }
.ock-brand img { height: 74px; width: auto; object-fit: contain; }
.ock-brand-fallback { display: none; }
.ock-brand-fallback small {
    display: block; color: var(--purple); font-size: 10px;
    font-weight: 600; letter-spacing: 0;
}
.ock-links { display: flex; align-items: center; gap: 27px; list-style: none; margin: 0; padding: 0; }
.ock-links a { font-size: 13px; font-weight: 600; color: var(--ink); }
.ock-links a:hover, .ock-links a.ock-active { color: var(--green); }
.ock-nav-cta { white-space: nowrap; }

/* Mobile Menu Toggle Button */
.ock-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--ink);
    cursor: pointer;
    padding: 6px;
}

/* Hero */
.ock-hero {
    overflow: hidden;
    background: linear-gradient(110deg, #f8fbf9 0%, #fff 58%, #eef7f0 100%);
    border-bottom: 1px solid var(--border);
}
.ock-hero-grid {
    display: grid; grid-template-columns: 1.05fr .95fr;
    align-items: center; gap: 35px; padding-top: 62px; padding-bottom: 62px;
}
.ock-hero h1 {
    font-size: clamp(35px, 4vw, 52px); line-height: 1.12;
    font-weight: 800; letter-spacing: -1.8px; margin: 12px 0 18px;
    color: var(--ink);
}
.ock-green { color: var(--green); }
.ock-purple { color: var(--purple); }
.ock-hero p { color: #58677b; max-width: 680px; margin: 0 0 15px; font-size: 15px; line-height: 1.7; }
.ock-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 25px; }
.ock-hero-art {
    min-height: 330px; display: flex; align-items: center;
    justify-content: center; position: relative;
}
.ock-kerala-art {
    width: 145px; height: 205px; background: linear-gradient(145deg, #a8dcb5, #d9f0de);
    border-radius: 70% 25% 60% 35% / 30% 35% 65% 70%;
    transform: rotate(-15deg); position: absolute; opacity: .6;
}
.ock-orbit {
    width: 280px; height: 280px; border: 1px dashed #a9d8b8;
    border-radius: 50%; position: absolute;
    animation: rotateOrbit 40s linear infinite;
}
@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.ock-hub {
    width: 116px; height: 116px; border: 7px solid white;
    outline: 1px solid #b8dfc4; background: linear-gradient(140deg, #16864b, #77c94b);
    color: white; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; flex-direction: column; text-align: center;
    font-size: 13px; font-weight: 800; z-index: 2;
    box-shadow: 0 8px 28px rgba(22, 134, 75, 0.2);
}
.ock-hub strong { font-size: 25px; letter-spacing: -1px; }
.ock-node {
    position: absolute; z-index: 3; display: flex; flex-direction: column;
    align-items: center; gap: 7px; color: var(--ink);
    font-size: 12px; font-weight: 700;
}
.ock-node-icon {
    width: 61px; height: 61px; display: grid; place-items: center;
    background: white; border: 2px solid #d9eee0; border-radius: 50%;
    color: var(--green); font-size: 24px; box-shadow: 0 5px 18px rgba(36, 48, 68, 0.06);
    transition: .2s;
}
.ock-node:hover .ock-node-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 22px rgba(22, 134, 75, 0.2);
}
.ock-node-purple .ock-node-icon { color: var(--purple); border-color: #eadfee; }
.ock-node-purple:hover .ock-node-icon {
    box-shadow: 0 8px 22px rgba(128, 81, 138, 0.2);
}
.ock-node-1 { top: 2px; left: 14%; }
.ock-node-2 { top: 15px; right: 6%; }
.ock-node-3 { bottom: 20px; left: 10%; }
.ock-node-4 { bottom: 13px; right: 7%; }

/* Roadmap / Drawn Route Map Design */
.ock-roadmap {
    padding: 56px 0 64px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #fafcfa 100%);
    position: relative;
    overflow: hidden;
}

.ock-section-title { text-align: center; margin-bottom: 38px; }
.ock-section-title h2 {
    font-size: clamp(25px, 2.5vw, 34px);
    line-height: 1.25;
    letter-spacing: -.7px;
    margin: 6px 0 8px;
    color: var(--ink);
    font-weight: 750;
}

.ock-routemap-wrapper {
    position: relative;
    margin-top: 16px;
    padding-top: 24px;
}

/* SVG Drawn Route Path connecting the milestone pins */
.ock-route-svg-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 48px;
    pointer-events: none;
    z-index: 1;
}

.ock-route-svg-track svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ock-route-base-path {
    stroke: #e4eee7;
    stroke-width: 4px;
    stroke-linecap: round;
}

.ock-route-animated-dash {
    stroke-dasharray: 10 9;
    animation: ockRouteFlow 25s linear infinite;
}

@keyframes ockRouteFlow {
    from { stroke-dashoffset: 280; }
    to { stroke-dashoffset: 0; }
}

.ock-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.ock-step {
    position: relative;
    padding: 24px 18px 22px;
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
    box-shadow: 0 4px 16px rgba(36, 48, 68, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ock-step:hover {
    transform: translateY(-6px);
    border-color: #a9d4b6;
    box-shadow: 0 12px 28px rgba(22, 134, 75, 0.09);
}

.ock-step:nth-child(even):hover {
    border-color: #cfb3d6;
    box-shadow: 0 12px 28px rgba(128, 81, 138, 0.09);
}

/* Milestone Pin on top of card connecting to drawn path */
.ock-route-node-wrap {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    z-index: 4;
}

.ock-step-num {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-size: 13px;
    font-weight: 800;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 10px rgba(22, 134, 75, 0.35);
    position: relative;
    z-index: 2;
    transition: transform 0.2s;
}

.ock-step:nth-child(even) .ock-step-num {
    background: var(--purple);
    box-shadow: 0 3px 10px rgba(128, 81, 138, 0.35);
}

.ock-step:hover .ock-step-num {
    transform: scale(1.12);
}

.ock-route-pin-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--green);
    opacity: 0.5;
    animation: ockPinPulse 2.4s ease-out infinite;
    pointer-events: none;
}

.ock-step:nth-child(even) .ock-route-pin-pulse {
    border-color: var(--purple);
}

@keyframes ockPinPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 0.15; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Milestone Stage Tag */
.ock-route-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    padding: 3px 10px;
    border-radius: 20px;
    background: #eaf6ee;
    color: var(--green-dark);
    margin: 4px 0 14px;
    border: 1px solid #d4ebd9;
}

.ock-step:nth-child(even) .ock-route-badge {
    background: #f5eef7;
    color: var(--purple);
    border-color: #eadbf0;
}

/* Route Icon */
.ock-step-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    color: var(--green);
    background: linear-gradient(135deg, #f2faf4 0%, #eaf6ee 100%);
    border: 1.5px solid #d4ebd9;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 10px rgba(22, 134, 75, 0.05);
}

.ock-step-icon svg {
    width: 38px;
    height: 38px;
    display: block;
}

.ock-step:nth-child(even) .ock-step-icon {
    color: var(--purple);
    background: linear-gradient(135deg, #fbf7fc 0%, #f5eef7 100%);
    border-color: #eadbf0;
    box-shadow: 0 4px 10px rgba(128, 81, 138, 0.05);
}

.ock-step:hover .ock-step-icon {
    transform: scale(1.08) rotate(2deg);
}

.ock-step:nth-child(even):hover .ock-step-icon {
    transform: scale(1.08) rotate(-2deg);
}

.ock-step h3 {
    font-size: 18px;
    margin: 0 0 6px;
    color: var(--ink);
    font-weight: 750;
    letter-spacing: -0.3px;
}

.ock-step p {
    color: var(--muted);
    font-size: 13.5px;
    margin: 0;
    line-height: 1.55;
    flex-grow: 1;
}

/* Route Meta Tag at card footer */
.ock-route-meta {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed #e8efe9;
    width: 100%;
}

.ock-route-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #556679;
    background: #f6f8fa;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #e7ecf0;
}

/* Connector Arrow between cards on desktop */
.ock-route-arrow {
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #bfe0ca;
    color: var(--green);
    display: grid;
    place-items: center;
    z-index: 5;
    box-shadow: 0 3px 10px rgba(36, 48, 68, 0.08);
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.ock-route-arrow svg {
    width: 16px;
    height: 16px;
    display: block;
}

.ock-step:hover .ock-route-arrow {
    transform: translateY(-50%) translateX(3px);
    background: var(--green-light);
    border-color: var(--green);
}

.ock-step:nth-child(2) .ock-route-arrow {
    border-color: #dccae2;
    color: var(--purple);
}

.ock-step:nth-child(2):hover .ock-route-arrow {
    background: #f5eef7;
    border-color: var(--purple);
}

/* Feature cards */
.ock-features { padding: 40px 0 50px; background: #fbfcfb; border-bottom: 1px solid var(--border); }
.ock-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ock-card {
    background: white; border: 1px solid var(--border); border-radius: 13px;
    padding: 26px 23px; display: flex; align-items: flex-start; gap: 16px;
    box-shadow: 0 3px 12px rgba(36, 48, 68, 0.03); transition: .2s;
}
.ock-card:hover { border-color: #b7d9c2; transform: translateY(-3px); box-shadow: 0 8px 22px rgba(36, 48, 68, 0.06); }
.ock-card-icon {
    flex-shrink: 0; width: 51px; height: 51px; border-radius: 17px;
    background: var(--green-light); display: grid; place-items: center;
    color: var(--green); font-size: 23px;
}
.ock-card:nth-child(2) .ock-card-icon { background: #f5eef7; color: var(--purple); }
.ock-card h3 { margin: 0 0 7px; font-size: 17px; color: var(--ink); font-weight: 700; }
.ock-card p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 13px; }
.ock-text-link { font-size: 13px; font-weight: 700; color: var(--green) !important; display: inline-flex; align-items: center; gap: 4px; }
.ock-text-link:hover { color: var(--green-dark) !important; text-decoration: underline; }

/* Insights */
.ock-insights { padding: 62px 0; border-bottom: 1px solid var(--border); }
.ock-split { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.ock-insight-list { margin: 22px 0; display: grid; gap: 10px; }
.ock-insight-item {
    padding: 13px 16px; border: 1px solid var(--border);
    border-radius: 11px; background: #fbfcfb;
    display: flex; align-items: center; gap: 13px;
    transition: .2s;
}
.ock-insight-item:hover { border-color: #c4e4ce; background: white; }
.ock-insight-icon { width: 26px; height: 26px; display: grid; place-items: center; color: var(--green); flex-shrink: 0; }
.ock-insight-icon svg { width: 22px; height: 22px; }
.ock-insight-item strong { display: block; font-size: 14px; color: var(--ink); }
.ock-insight-item small { display: block; color: var(--muted); font-size: 12px; }
.ock-image-placeholder {
    min-height: 310px; border-radius: 16px; overflow: hidden;
    background: linear-gradient(135deg, #e9f4ec, #f7f2f8);
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; padding: 30px;
    position: relative; border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(36, 48, 68, 0.04);
}
.ock-image-placeholder:before, .ock-image-placeholder:after {
    content: ""; position: absolute; width: 150px; height: 150px;
    border-radius: 50%; background: rgba(22, 134, 75, 0.07);
}
.ock-image-placeholder:before { top: -65px; left: -40px; }
.ock-image-placeholder:after { bottom: -80px; right: -35px; background: rgba(128, 81, 138, 0.09); }
.ock-image-placeholder strong { font-size: 42px; color: var(--green); letter-spacing: -2px; z-index: 1; }
.ock-image-placeholder span { color: var(--purple); font-weight: 700; z-index: 1; font-size: 16px; }
.ock-insights-image { min-height: 310px; position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 8px 24px rgba(36, 48, 68, .09); background: #17212a; }
.ock-insights-image img { display: block; width: 100%; height: 100%; min-height: 310px; object-fit: cover; }
.ock-insights-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 21, 28, .76), transparent 56%); pointer-events: none; }
.ock-insights-image-caption { position: absolute; z-index: 1; left: 24px; bottom: 22px; display: grid; gap: 4px; color: #fff; }
.ock-insights-image-caption span { color: #b9e9c7; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.1px; }
.ock-insights-image-caption strong { font-size: 27px; letter-spacing: -.4px; }

/* Business section */
.ock-business { padding: 52px 0; background: #f5faf6; border-bottom: 1px solid var(--border); }
.ock-business-panel {
    display: grid; grid-template-columns: .85fr 1.15fr;
    gap: 40px; align-items: center;
}
.ock-business-visual {
    min-height: 240px; border-radius: 14px; background: white;
    border: 1px solid var(--border); display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 30px; box-shadow: 0 3px 12px rgba(36, 48, 68, 0.03);
}
.ock-business-visual strong { display: block; color: var(--green); font-size: 38px; letter-spacing: -1px; }
.ock-business-visual span { color: var(--muted); font-size: 13px; margin-top: 4px; }
.ock-business-panel h2 { font-size: 29px; line-height: 1.25; margin: 8px 0 13px; color: var(--ink); font-weight: 750; }

/* Events */
.ock-events { padding: 55px 0; border-bottom: 1px solid var(--border); }
.ock-events-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 24px; }
.ock-events-heading h2 { font-size: 27px; margin: 0; color: var(--ink); font-weight: 750; }
.ock-event-row {
    display: grid; grid-template-columns: 78px 1fr auto; gap: 20px;
    align-items: center; border: 1px solid var(--border); border-radius: 13px;
    padding: 20px; margin-bottom: 14px; background: white;
    transition: .2s;
}
.ock-event-row:hover { border-color: #b7d9c2; box-shadow: 0 4px 16px rgba(36, 48, 68, 0.04); }
.ock-event-date {
    text-align: center; background: var(--green-light); color: var(--green);
    border-radius: 10px; padding: 12px 6px; line-height: 1.3;
}
.ock-event-date strong { display: block; font-size: 25px; }
.ock-event-date small { font-size: 11px; font-weight: 800; }
.ock-event-tag {
    display: inline-block; padding: 3px 9px; border-radius: 6px;
    color: var(--green); background: var(--green-light);
    font-size: 11px; font-weight: 700;
}
.ock-event-tag.purple { color: var(--purple); background: var(--purple-light); }
.ock-event-info h3 { font-size: 16px; margin: 5px 0; color: var(--ink); font-weight: 700; }
.ock-event-info p { color: var(--muted); font-size: 12px; margin: 0; line-height: 1.5; }
.ock-event-arrow { color: var(--green); font-size: 23px; padding: 10px; text-decoration: none; transition: .2s; }
.ock-event-arrow:hover { transform: translateX(4px); }

/* Join CTA */
.ock-join {
    padding: 42px 0 44px;
    background: #f6f5fa;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.ock-join-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}
.ock-join-content {
    flex: 1;
    max-width: 620px;
}
.ock-join-content .ock-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 6px;
    display: inline-block;
}
.ock-join h2 {
    font-size: clamp(26px, 2.5vw, 33px);
    line-height: 1.2;
    margin: 6px 0 12px;
    color: var(--ink);
    font-weight: 750;
    letter-spacing: -0.6px;
}
.ock-join p {
    color: var(--muted);
    max-width: 580px;
    margin: 0 0 22px;
    font-size: 14.5px;
    line-height: 1.6;
}
.ock-join-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ock-join-actions .ock-btn {
    border-radius: 999px;
    padding: 11px 24px;
}
.ock-join-art {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.ock-join-art-img {
    height: 150px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
.ock-join-art-img:hover {
    transform: translateY(-2px);
}

/* Footer */
.ock-footer { background: #202d36; color: #e7edf0; padding: 46px 0 22px; margin-top: 0; }
.ock-footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px; padding-bottom: 30px;
}
.ock-footer h3 { font-size: 15px; color: white; margin: 0 0 13px; font-weight: 700; }
.ock-footer p { color: #b9c4cc; font-size: 12px; line-height: 1.6; }
.ock-footer-links { display: grid; gap: 7px; }
.ock-footer a { color: #c8d1d7; font-size: 12px; }
.ock-footer a:hover { color: #85d59d; text-decoration: underline; }
.ock-footer-bottom {
    border-top: 1px solid #ffffff22; padding-top: 16px;
    display: flex; justify-content: space-between; gap: 15px;
    color: #b9c4cc; font-size: 11px;
}

/* ==========================================================================
   MODAL DIALOGS (Integrated & Accessible)
   ========================================================================== */
.ock-modal-backdrop {
    --green: #16864b;
    --green-dark: #116d3d;
    --green-light: #eaf6ee;
    --ink: #243044;
    --muted: #667085;
    --border: #dde5df;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(36, 48, 68, 0.55);
    backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center;
    z-index: 2000; padding: 20px;
    font-family: 'Inter', Arial, sans-serif;
}
.ock-modal-backdrop, .ock-modal-backdrop * { box-sizing: border-box; }
.ock-modal-backdrop.active { display: flex; animation: modalIn .2s ease-out; }
@keyframes modalIn {
    from { opacity: 0; transform: scale(.96); }
    to { opacity: 1; transform: scale(1); }
}
.ock-modal-box {
    background: white; border-radius: 14px; width: 100%;
    max-width: 540px; max-height: 90vh; overflow-y: auto; overflow-x: hidden;
    box-shadow: 0 12px 36px rgba(36, 48, 68, 0.2);
    border: 1px solid var(--border);
}
.ock-modal-header {
    padding: 18px 22px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
}
.ock-modal-header h3 { font-size: 17px; margin: 0; color: var(--ink); }
.ock-modal-close {
    background: none; border: none; font-size: 22px; color: var(--muted);
    cursor: pointer; padding: 0 4px; line-height: 1;
}
.ock-modal-body { padding: 22px; }
.ock-form-group { margin-bottom: 15px; }
.ock-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ock-form-label {
    display: block; font-size: 12px; font-weight: 700; color: var(--ink);
    margin-bottom: 5px;
}
.ock-form-control {
    width: 100%; padding: 10px 13px; font-size: 14px;
    border: 1px solid var(--border); border-radius: 8px;
    outline: none; font-family: inherit; color: var(--ink);
    transition: .2s;
}
.ock-form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(22, 134, 75, 0.15);
}
.ock-modal-footer {
    padding: 14px 22px; border-top: 1px solid var(--border);
    background: #fbfcfb; border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px; display: flex; justify-content: flex-end; gap: 10px;
}
.ock-community-modal { max-width: 600px; border: 0; border-radius: 16px; }
.ock-community-modal .ock-modal-header {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    border: 0; padding: 25px 28px 24px; display: block; position: relative;
}
.ock-community-modal .ock-modal-header h3 { color: white; font-size: 20px; line-height: 1.25; padding-right: 35px; }
.ock-community-modal .ock-modal-header p { color: #d6f0df; margin: 6px 0 0; font-size: 12px; }
.ock-community-modal .ock-modal-close { color: white; position: absolute; top: 23px; right: 23px; }
.ock-community-modal .ock-modal-body { padding: 24px 28px 8px; }
.ock-community-intro { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0 0 22px; }
.ock-community-modal .ock-form-label { color: var(--ink); }
.ock-community-modal .ock-form-control { background: #fbfcfb; }
.ock-community-modal .ock-form-group { margin-bottom: 18px; }
.ock-community-modal .ock-form-group:last-child { margin-bottom: 16px; }
.ock-member-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ock-member-option { position: relative; cursor: pointer; }
.ock-member-option input { position: absolute; opacity: 0; pointer-events: none; }
.ock-member-option span {
    display: block; border: 1px solid var(--border); border-radius: 10px;
    background: #fbfcfb; color: var(--ink); padding: 13px 13px 13px 39px;
    font-size: 13px; font-weight: 700; transition: .2s;
}
.ock-member-option span::before {
    content: ''; position: absolute; left: 14px; top: 14px; width: 13px; height: 13px;
    border: 2px solid #a7b6ab; border-radius: 50%;
}
.ock-member-option input:checked + span { border-color: var(--green); background: var(--green-light); color: var(--green-dark); }
.ock-member-option input:checked + span::before { border-color: var(--green); box-shadow: inset 0 0 0 3px var(--green-light); background: var(--green); }
.ock-community-modal .ock-modal-footer { padding: 16px 28px; }

.ock-success-backdrop {
    --green: #16864b;
    --green-dark: #116d3d;
    position: fixed; inset: 0; z-index: 3100; display: flex; align-items: center; justify-content: center;
    padding: 20px; background: rgba(30, 43, 54, .62); backdrop-filter: blur(5px);
    font-family: 'Inter', Arial, sans-serif;
}
.ock-success-box {
    width: min(100%, 390px); padding: 40px 32px 30px; text-align: center; background: white;
    border-radius: 18px; box-shadow: 0 24px 70px rgba(20, 35, 45, .3); animation: ockSuccessIn .25s ease-out;
}
@keyframes ockSuccessIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.ock-success-tick {
    width: 76px; height: 76px; margin: 0 auto 21px; display: grid; place-items: center; border-radius: 50%;
    color: white; background: linear-gradient(135deg, #1ca45d, #116d3d); box-shadow: 0 10px 24px rgba(22, 134, 75, .25);
    font-size: 39px; font-weight: 800;
}
.ock-success-box h3 { margin: 0 0 10px; color: #243044; font-size: 21px; }
.ock-success-box p { margin: 0 0 26px; color: #667085; font-size: 13px; line-height: 1.6; }
.ock-success-box .ock-btn { min-width: 130px; }

/* Toast */
.ock-toast-wrap {
    position: fixed; bottom: 24px; right: 24px; z-index: 3000;
    display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.ock-toast {
    pointer-events: auto; background: var(--ink); color: white;
    padding: 12px 18px; border-radius: 9px; font-size: 13px; font-weight: 600;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18); border-left: 4px solid var(--green);
    animation: toastSlide .25s ease-out;
}
@keyframes toastSlide {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .ock-links { gap: 13px; }
    .ock-brand { min-width: auto; }
    .ock-brand img { height: 60px; }
    .ock-hero-grid { gap: 15px; }
    .ock-hero-art { transform: scale(.88); }
    .ock-card { padding: 20px 15px; gap: 11px; }
    .ock-split { gap: 25px; }
    .ock-route-svg-track { display: none; }
    .ock-route-arrow { display: none; }
    .ock-steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
}
@media (max-width: 680px) {
    .ock-container { padding-left: 18px; padding-right: 18px; }
    .ock-form-row { grid-template-columns: 1fr; gap: 0; }
    .ock-member-options { grid-template-columns: 1fr; }
    .ock-community-modal .ock-modal-header { padding: 22px 22px 21px; }
    .ock-community-modal .ock-modal-body { padding: 22px 22px 6px; }
    .ock-community-modal .ock-modal-footer { padding: 14px 22px; }
    .ock-nav-inner { min-height: 70px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    .ock-mobile-toggle { display: block; }
    .ock-links {
        display: none; order: 3; width: 100%; padding: 12px 0 5px;
        gap: 16px; flex-direction: column; align-items: flex-start;
        border-top: 1px solid var(--border); margin-top: 10px;
    }
    .ock-links.open { display: flex; }
    .ock-links a { white-space: nowrap; font-size: 14px; }
    .ock-nav-cta { margin-left: auto; }
    .ock-hero-grid, .ock-split, .ock-business-panel { grid-template-columns: 1fr; }
    .ock-hero-grid { padding-top: 42px; padding-bottom: 30px; }
    .ock-hero h1 { font-size: 38px; }
    .ock-hero-art { min-height: 290px; transform: scale(.9); }
    .ock-steps { grid-template-columns: 1fr; row-gap: 32px; max-width: 420px; margin: 0 auto; }
    .ock-card-grid { grid-template-columns: 1fr; }
    .ock-insights { padding: 40px 0; }
    .ock-image-placeholder { min-height: 220px; }
    .ock-insights-image, .ock-insights-image img { min-height: 220px; }
    .ock-event-row { grid-template-columns: 62px 1fr; gap: 12px; padding: 13px; }
    .ock-event-date strong { font-size: 21px; }
    .ock-event-arrow { display: none; }
    .ock-events-heading { align-items: flex-start; flex-direction: column; }
    .ock-join-inner { flex-direction: column; align-items: flex-start; }
    .ock-join h2 { font-size: 27px; }
    .ock-footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
    .ock-footer-grid > div:first-child { grid-column: 1 / -1; }
    .ock-footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   Animated OCK Ecosystem Graphic (Matching User Design)
   ========================================================================== */
.ock-ecosystem-svg-wrap {
    width: 100%;
    max-width: 530px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

.ock-ecosystem-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Branch Floating Micro-animations */
.ock-anim-node-dev {
    animation: floatDev 4.5s ease-in-out infinite;
    transform-origin: 260px 60px;
}
.ock-anim-node-consult {
    animation: floatConsult 5s ease-in-out infinite;
    transform-origin: 138px 255px;
}
.ock-anim-node-biz {
    animation: floatBiz 4.8s ease-in-out infinite;
    transform-origin: 382px 255px;
}

@keyframes floatDev {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes floatConsult {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5px, 4px); }
}
@keyframes floatBiz {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, 4px); }
}

/* Central Hub Pulse */
.ock-center-pulse-ring {
    transform-origin: 260px 185px;
    animation: centerPulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes centerPulse {
    0% { transform: scale(0.96); opacity: 0.8; }
    50% { transform: scale(1.16); opacity: 0.15; }
    100% { transform: scale(0.96); opacity: 0.8; }
}

/* Connecting Lines Glow Pulse */
.ock-branch-line {
    stroke-dasharray: 6 3;
    animation: lineFlow 12s linear infinite;
}

@keyframes lineFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -120; }
}

/* Orbit Dots Animation */
.ock-orbit-dot-1 {
    animation: orbitPulse1 3s ease-in-out infinite alternate;
}
.ock-orbit-dot-2 {
    animation: orbitPulse2 3.5s ease-in-out infinite alternate;
}
.ock-orbit-dot-3 {
    animation: orbitPulse3 4s ease-in-out infinite alternate;
}

@keyframes orbitPulse1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(6px, -4px) scale(1.2); }
}
@keyframes orbitPulse2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-4px, 5px) scale(1.25); }
}
@keyframes orbitPulse3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5px, 3px) scale(1.15); }
}

/* Badge hover transition */
.ock-anim-badge {
    transition: transform 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}
.ock-anim-badge:hover {
    filter: drop-shadow(0 4px 10px rgba(22, 134, 75, 0.25));
}
