:root {
    --color-cyan: #00d1ff;
    --color-mint: #adffed;
    --color-lime: #e4ff36;
    --color-purple: #e077ff;
    --color-dark: #1a1a1a;
    --color-gray: #666;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.opendata-hero {
    background: #1a1a1a;
    padding: 140px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-cyan);
    top: -150px;
    right: -100px;
    animation: float-shape 20s ease-in-out infinite;
}

.hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-purple);
    bottom: -100px;
    left: -80px;
    animation: float-shape 15s ease-in-out infinite reverse;
}

.hero-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--color-mint);
    top: 40%;
    right: 25%;
    animation: float-shape 18s ease-in-out infinite;
}

@keyframes float-shape {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 209, 255, 0.1);
    border: 2px solid var(--color-cyan);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.hero-badge img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.hero-badge span {
    color: var(--color-cyan);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.opendata-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
}

/* ══════════════════════════════════════════
   MAIN CONTENT WRAPPER
══════════════════════════════════════════ */
.opendata-content {
    padding: 100px 20px;
    background: white;
}

.content-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ══════════════════════════════════════════
   DEFINITION BOX (top)
══════════════════════════════════════════ */
.definition-box {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 70px 60px;
    background: linear-gradient(135deg, #0d0d0d, #1a1a2e);
    border-radius: 24px;
    margin-bottom: 90px;
    border: 2px solid rgba(0, 209, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 209, 255, 0.12);
}

.definition-icon {
    width: 200px;
    height: 200px;
    position: absolute;
    top: -30px;
    right: -30px;
    opacity: 0.08;
    transform: rotate(20deg);
}

.definition-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.definition-box h2 {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: 24px;
}

.definition-quote {
    font-size: 1.6rem;
    line-height: 1.7;
    color: white;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto;
}

/* ══════════════════════════════════════════
   CONTENT SECTION (open data explanation)
══════════════════════════════════════════ */
.content-section {
    margin-bottom: 80px;
}

.content-section h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-dark);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--color-cyan);
    display: inline-block;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-gray);
    margin-bottom: 16px;
}

/* ══════════════════════════════════════════
   PRINCIPLES
══════════════════════════════════════════ */
.principles-section {
    margin-bottom: 90px;
}

.principles-section h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-dark);
    margin-bottom: 50px;
    text-align: center;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.principle-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border-top: 4px solid var(--color-cyan);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 209, 255, 0.04), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.principle-card:nth-child(2) {
    border-top-color: var(--color-purple);
}
.principle-card:nth-child(3) {
    border-top-color: var(--color-lime);
}
.principle-card:nth-child(4) {
    border-top-color: var(--color-mint);
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    background: white;
}

.principle-card:hover::before {
    opacity: 1;
}

.principle-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(0, 209, 255, 0.1);
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.principle-card:hover .principle-icon {
    transform: scale(1.08) rotate(3deg);
}

.principle-card:nth-child(2) .principle-icon {
    background: rgba(224, 119, 255, 0.1);
    color: var(--color-purple);
}
.principle-card:nth-child(3) .principle-icon {
    background: rgba(228, 255, 54, 0.15);
    color: #9aab00;
}
.principle-card:nth-child(4) .principle-icon {
    background: rgba(173, 255, 237, 0.2);
    color: #00b8a9;
}

.principle-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.principle-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.principle-card p {
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--color-gray);
}

/* ══════════════════════════════════════════
   OPEN TERM SECTION
══════════════════════════════════════════ */
.open-term-section {
    padding: 90px 20px;
    background: #f8f9fa;
}

.section-header-large {
    text-align: center;
    margin-bottom: 50px;
}

.section-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: block;
}

.section-header-large h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--color-dark);
}

.term-content {
    max-width: 1100px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-gray);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Override definition-box inside term section */
.open-term-section .definition-box {
    background: white;
    padding: 40px 50px;
    border-radius: 16px;
    border: none;
    border-left: 5px solid var(--color-cyan);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 50px;
    text-align: left;
}

.open-term-section .definition-box h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-cyan);
    margin-bottom: 16px;
}

.open-term-section .definition-box p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--color-dark);
}

.term-conclusion {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-dark);
    font-weight: 500;
    text-align: center;
    margin-top: 50px;
    padding: 30px 40px;
    background: white;
    border-radius: 16px;
    border-top: 3px solid var(--color-purple);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* ══════════════════════════════════════════
   INTEROPERABILITY
══════════════════════════════════════════ */
.interoperability-section {
    margin-bottom: 90px;
    padding: 70px 60px;
    background: linear-gradient(135deg, #0d0d0d, #1a1a2e);
    border-radius: 24px;
    border: 2px solid rgba(173, 255, 237, 0.2);
}

.interoperability-section .section-header-large h2 {
    color: white;
}

.interoperability-section .section-icon {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.lead-paragraph {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-align: center;
    margin-bottom: 50px;
}

.interop-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
    align-items: center;
}

.interop-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}

.interop-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.interop-diagram {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.dataset-box {
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(0, 209, 255, 0.4);
    border-radius: 14px;
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.dataset-box.combined {
    border-color: rgba(228, 255, 54, 0.5);
    background: rgba(228, 255, 54, 0.08);
    color: var(--color-lime);
}

.plus-sign,
.equals-sign {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-cyan);
}

.highlight-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 24px 30px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ══════════════════════════════════════════
   DATA TYPES
══════════════════════════════════════════ */
.data-types-section {
    margin-bottom: 80px;
}

.data-types-section h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--color-lime);
    display: inline-block;
}

.data-types-section > p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-gray);
    margin-bottom: 40px;
}

.key-point-box {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    background: linear-gradient(
        135deg,
        rgba(228, 255, 54, 0.08),
        rgba(0, 209, 255, 0.06)
    );
    border-radius: 18px;
    border-left: 5px solid var(--color-lime);
    margin-bottom: 28px;
}

.key-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.key-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.key-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin: 0;
}

.restrictions-box {
    padding: 36px 40px;
    background: #f8f9fa;
    border-radius: 16px;
    border-left: 5px solid var(--color-purple);
}

.restrictions-box h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.restrictions-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.restrictions-box li {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-gray);
    padding-left: 32px;
    position: relative;
    margin-bottom: 12px;
}

.restrictions-box li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--color-purple);
}

/* ══════════════════════════════════════════
   DEFINITION IMPORTANCE (CTA)
══════════════════════════════════════════ */
.definition-importance {
    text-align: center;
    padding: 70px 60px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.definition-importance::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(0, 209, 255, 0.15),
        transparent 70%
    );
    pointer-events: none;
}

.importance-icon {
    margin: 0 auto 28px;
    color: var(--color-lime);
    position: relative;
}

.definition-importance h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: white;
}

.definition-importance p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .interop-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .opendata-hero h1 {
        font-size: 2.4rem;
    }
    .hero-lead {
        font-size: 1.05rem;
    }

    .opendata-content {
        padding: 60px 16px;
    }

    .definition-box {
        padding: 40px 24px;
    }
    .definition-quote {
        font-size: 1.2rem;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .interoperability-section {
        padding: 40px 24px;
    }
    .interop-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .interop-diagram {
        flex-direction: column;
    }

    .key-point-box {
        flex-direction: column;
        gap: 16px;
        padding: 28px 24px;
    }

    .open-term-section {
        padding: 60px 16px;
    }
    .open-term-section .definition-box {
        padding: 28px 24px;
    }

    .definition-importance {
        padding: 50px 24px;
    }
    .definition-importance h3 {
        font-size: 1.5rem;
    }

    .section-header-large h2 {
        font-size: 1.8rem;
    }
    .content-section h2,
    .data-types-section h2,
    .principles-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .opendata-hero {
        padding: 100px 16px 70px;
    }
    .opendata-hero h1 {
        font-size: 2rem;
    }
    .hero-badge span {
        font-size: 0.8rem;
    }
    .restrictions-box {
        padding: 24px 20px;
    }
    .term-conclusion {
        padding: 24px 20px;
    }
}
