/* ================================================================
           RESET & BASE
        ================================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #0a1429;
    color: #e8f0ff;
    line-height: 1.5;
    overflow-x: hidden;
}

:root {
    --accent: #ff520d;
    --accent-glow: rgba(255, 82, 13, 0.35);
    --accent-dim: rgba(255, 82, 13, 0.12);
    --text: #e8f0ff;
    --text-dim: rgba(232, 240, 255, 0.65);
    --glass: rgba(255, 255, 255, 0.03);
    --gb: rgba(255, 255, 255, 0.07);
    --navy: #0a1429;
    --navy-2: #12284c;
    --gold: #ffb347;
    --gold-dim: rgba(255, 179, 71, 0.15);
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 800;
    line-height: 1.2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

@media(max-width:768px) {
    .container {
        padding: 0 10px;
    }
}

section {
    padding: 100px 0;
    position: relative;
}

/* ================================================================
           SECTION TITLE
        ================================================================ */
.section-title {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
}

.section-title h2 {
    font-size: clamp(28px, 4.5vw, 54px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.05;
    letter-spacing: -0.035em;
    display: inline-block;
    position: relative;
}

.section-title h2 span {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
}

.section-title p {
    font-size: 0.95rem;
    color: var(--text-dim);
    max-width: 640px;
    margin: 28px auto 0;
    line-height: 1.85;
}

/* ================================================================
           HERO SECTION
        ================================================================ */
.hero {
    background: linear-gradient(135deg, #0a1429 0%, #12284c 100%);
    color: var(--text);
    padding: 110px 0 90px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    background-image:
        radial-gradient(circle at 20% 30%, var(--accent) 1.5px, transparent 1.5px),
        radial-gradient(circle at 80% 70%, var(--accent) 1.5px, transparent 1.5px);
    background-size: 60px 60px;
    animation: patternFloat 20s infinite linear;
}

@keyframes patternFloat {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

/* floating food icons */
.floating-food {
    position: absolute;
    width: 44px;
    height: 44px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.22;
    display: grid;
    place-items: center;
}

.floating-food-icon {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: rgba(255, 255, 255, 0.82);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 12px rgba(255, 82, 13, 0.35));
}

.food-1 {
    top: 15%;
    left: 10%;
    animation: floatFood 25s infinite ease-in-out;
}

.food-2 {
    top: 30%;
    right: 15%;
    animation: floatFood 30s infinite ease-in-out reverse;
}

.food-3 {
    bottom: 25%;
    left: 20%;
    animation: floatFood 35s infinite ease-in-out;
}

.food-4 {
    bottom: 15%;
    right: 10%;
    animation: floatFood 40s infinite ease-in-out reverse;
}

.food-5 {
    top: 60%;
    left: 5%;
    animation: floatFood 28s infinite ease-in-out;
}

.food-6 {
    top: 20%;
    right: 5%;
    animation: floatFood 32s infinite ease-in-out;
}

@keyframes floatFood {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-40px) rotate(10deg) scale(1.2);
    }
}

/* hero grid */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    position: relative;
}

/* eyebrow */
.hero-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1.5px;
    background: var(--accent);
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 900;
    line-height: 0.95;
    color: white;
    margin-bottom: 25px;
    letter-spacing: -0.04em;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
}

.hero-title .gradient-text {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
    position: relative;
    animation: glitch 3s infinite;
}

.hero-title .gradient-text::after {
    content: 'Digital Web-Menu Magic';
    position: absolute;
    left: 0;
    top: 0;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--gold);
    opacity: 0;
    animation: glitch 3s infinite 0.1s;
}

@keyframes glitch {

    0%,
    100% {
        opacity: 1;
        transform: translateX(0);
    }

    5% {
        opacity: 0.8;
        transform: translateX(-2px);
    }

    10% {
        opacity: 1;
        transform: translateX(2px);
    }

    15% {
        opacity: 1;
    }

    96% {
        opacity: 1;
    }

    98% {
        opacity: 0.6;
        transform: translateX(1px);
    }
}

.hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 30px;
    color: var(--text-dim);
    line-height: 1.85;
    font-weight: 400;
    max-width: 460px;
    opacity: 0;
    animation: fadeUp 0.8s 0.55s forwards;
}

/* hero feature cards */

/* buttons */
.hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.85s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 15px 36px;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-primary:hover {
    box-shadow: 0 0 48px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dim);
    padding: 14px 30px;
    border: 1px solid var(--gb);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, .25);
    color: var(--text);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    padding: 14px 30px;
    border: 1px solid rgba(255, 82, 13, 0.4);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-outline:hover {
    background: var(--accent-dim);
}

/* ================================================================
           3D FLIP CARD — STRUCTURE PRESERVED, DEEPLY STYLED
        ================================================================ */
.menu-display-wrapper {
    position: relative;
    perspective: 1100px;
    opacity: 0;
    animation: fadeUp 1s 0.6s forwards;
}

.three-d-menu-container {
    position: relative;
    width: 100%;
    height: 520px;
    transform-style: preserve-3d;
    animation: cardAutoFlip 8s infinite ease-in-out;
    animation-delay: 2s;
}

@keyframes cardAutoFlip {

    0%,
    20% {
        transform: rotateY(0deg);
    }

    30%,
    50% {
        transform: rotateY(180deg);
    }

    60%,
    80% {
        transform: rotateY(0deg) rotateX(8deg);
    }

    90%,
    100% {
        transform: rotateY(0deg);
    }
}

/* shared face styles */
.card-front-side,
.card-back-side {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 48px 96px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 82, 13, 0.2),
        inset 0 0 60px rgba(255, 82, 13, 0.04);
}

/* ---- FRONT ---- */
.card-front-side {
    background: linear-gradient(160deg, #0e1f45 0%, #0a1429 60%, #0f1e3a 100%);
    border: 2px solid rgba(255, 82, 13, 0.35);
    padding: 28px 28px 20px;
    transform: rotateY(0deg);
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* subtle inner grid pattern on front */
.card-front-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 82, 13, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 82, 13, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    border-radius: 24px;
}

/* glowing top bar on front */
.card-front-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(255, 179, 71, 0.6), var(--accent));
    box-shadow: 0 0 18px var(--accent-glow);
    border-radius: 24px 24px 0 0;
}

/* card header */
.card-header-section {
    text-align: center;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 82, 13, 0.2);
    position: relative;
    z-index: 1;
}

.card-header-section h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 4px;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow: 0 0 28px rgba(255, 82, 13, 0.4);
}

.card-header-section p {
    color: var(--text-dim);
    font-style: italic;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

/* menu items */
.card-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.card-list-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 82, 13, 0.1);
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: default;
}

.card-list-item:hover {
    background: var(--accent-dim);
    border-color: rgba(255, 82, 13, 0.35);
    transform: translateX(6px);
    box-shadow: 4px 0 16px rgba(255, 82, 13, 0.12);
}

/* left accent bar on hover */
.card-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    width: 0;
    height: calc(100% - 2px);
    background: var(--accent);
    border-radius: 10px 0 0 10px;
    transition: width 0.3s ease;
}

.card-list-item:hover::before {
    width: 3px;
}

.item-title-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.88rem;
    letter-spacing: 0.01em;
}

.item-price-value {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    background: var(--accent-dim);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 82, 13, 0.2);
}

/* QR section */
.card-qr-section {
    text-align: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 82, 13, 0.15);
    position: relative;
    z-index: 1;
}

.qr-code-box {
    width: 68px;
    height: 68px;
    background: white;
    border-radius: 10px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #0a1429;
    box-shadow: 0 0 20px rgba(255, 82, 13, 0.2), 0 4px 16px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* pulse ring */
.qr-code-box::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1.5px solid rgba(255, 82, 13, 0.4);
    border-radius: 14px;
    animation: qrPulse 2s infinite ease-in-out;
}

@keyframes qrPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.06);
        box-shadow: 0 0 16px rgba(255, 82, 13, 0.3);
    }
}

.qr-code-text {
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ---- BACK ---- */
.card-back-side {
    background: linear-gradient(160deg, #12284c 0%, #0a1429 100%);
    border: 2px solid rgba(255, 82, 13, 0.35);
    padding: 32px 28px;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* glowing top bar on back */
.card-back-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent), var(--gold));
    box-shadow: 0 0 18px rgba(255, 179, 71, 0.4);
    border-radius: 24px 24px 0 0;
}

/* animated scan sweep on back */
.card-back-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(255, 82, 13, 0.04) 50%, transparent 70%),
        linear-gradient(135deg, transparent 30%, rgba(255, 179, 71, 0.04) 50%, transparent 70%);
    animation: cardScan 4s infinite linear;
    pointer-events: none;
    border-radius: 24px;
}

@keyframes cardScan {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.card-back-side h3 {
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 900;
    letter-spacing: -0.035em;
    position: relative;
    z-index: 1;
}

.card-back-side h3 span {
    color: var(--accent);
}

.card-back-side>p {
    color: var(--text-dim);
    margin-bottom: 24px;
    font-size: 0.88rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    max-width: 320px;
}

.back-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.back-feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 82, 13, 0.15);
    border-radius: 12px;
    padding: 16px 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.back-feature-item:hover {
    background: var(--accent-dim);
    border-color: rgba(255, 82, 13, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(255, 82, 13, 0.12);
}

.back-feature-item i {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
    transition: transform 0.3s;
}

.back-feature-item:hover i {
    transform: scale(1.15);
}

.back-feature-item span {
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* 3D card responsive */
@media(max-width:1200px) {
    .three-d-menu-container {
        max-width: 600px;
        margin: 0 auto;
        height: 480px;
    }
}

@media(max-width:768px) {
    .three-d-menu-container {
        height: 420px;
    }

    .card-header-section h3 {
        font-size: 1.6rem;
    }
}

@media(max-width:480px) {
    .three-d-menu-container {
        height: 400px;
    }

    .card-front-side,
    .card-back-side {
        padding: 18px 16px;
    }

    .card-list-item {
        padding: 10px 14px;
    }

    .item-title-name {
        font-size: 0.82rem;
    }

    .back-features-grid {
        grid-template-columns: 1fr;
    }

    .card-back-side h3 {
        font-size: 1.4rem;
    }
}

/* ================================================================
           TICKER
        ================================================================ */
.wd-ticker {
    position: relative;
    z-index: 2;
    padding: 18px 0;
    overflow: hidden;
    border-top: 1px solid var(--gb);
    border-bottom: 1px solid var(--gb);
    background: rgba(255, 82, 13, 0.025);
}

.wd-ticker__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tickerScroll 30s linear infinite;
}

.wd-ticker__item {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    transition: color 0.3s;
}

.wd-ticker__item:hover {
    color: var(--accent);
}

.wd-ticker__sep {
    color: var(--accent);
}

@keyframes tickerScroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ================================================================
           HOW IT WORKS
        ================================================================ */
.how-it-works {
    background: linear-gradient(180deg, #0a1429 0%, #0d1e3d 100%);
    border-top: 1px solid var(--gb);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2px;
    margin-top: 16px;
}

.step-card {
    background: var(--glass);
    border: 1px solid var(--gb);
    padding: 44px 28px 40px;
    position: relative;
    overflow: hidden;
    cursor: default;
    text-align: center;
    transition: border-color 0.4s, background 0.4s, transform 0.35s;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(255, 130, 50, 0.4));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    box-shadow: 0 0 12px var(--accent-glow);
}

.step-card:hover {
    border-color: rgba(255, 82, 13, 0.3);
    background: rgba(255, 82, 13, 0.04);
    transform: translateY(-6px);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: #0a1429;
    border: 1px solid rgba(255, 82, 13, 0.3);
    border-top: none;
    padding: 4px 14px;
    border-radius: 0 0 8px 8px;
}

.step-image {
    height: 170px;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin: 18px 0;
    border: 1px solid rgba(255, 82, 13, 0.1);
    filter: brightness(0.6) saturate(0.7);
    transition: filter 0.4s;
}

.step-card:hover .step-image {
    filter: brightness(0.75) saturate(0.85);
}

.step-card h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.step-card p {
    color: var(--text-dim);
    line-height: 1.85;
    font-size: 0.85rem;
}

/* ================================================================
           SCANNER STANDEE SECTION
        ================================================================ */
.scanner-standee {
    background: linear-gradient(135deg, #0a1429 0%, #12284c 100%);
    border-top: 1px solid var(--gb);
}

.scanner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 48px;
}

.scanner-image {
    height: 400px;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 4px;
    border: 1px solid rgba(255, 82, 13, 0.15);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    filter: brightness(0.8) saturate(0.7);
}

.scanner-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.scanner-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.scanner-icon {
    width: 50px;
    height: 50px;
    background: white;
    border: 1px solid rgba(255, 82, 13, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.scanner-feature:hover .scanner-icon {
    transform: scale(1.08);
    box-shadow: 0 0 18px var(--accent-glow);
}

.scanner-text h4 {
    font-size: 1rem;
    margin-bottom: 7px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.scanner-text p {
    color: var(--text-dim);
    line-height: 1.85;
    font-size: 0.85rem;
}

/* ================================================================
           RESTAURANT TYPES
        ================================================================ */
.restaurant-types {
    background: linear-gradient(180deg, #0d1e3d 0%, #0a1429 100%);
    border-top: 1px solid var(--gb);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    margin-top: 16px;
}

.type-card {
    background: var(--glass);
    border: 1px solid var(--gb);
    overflow: hidden;
    position: relative;
    cursor: default;
    transition: border-color 0.4s, background 0.4s, transform 0.35s;
    display: flex;
    flex-direction: column;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(255, 130, 50, 0.4));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    box-shadow: 0 0 12px var(--accent-glow);
    z-index: 2;
}

.type-card:hover {
    border-color: rgba(255, 82, 13, 0.35);
    background: rgba(255, 82, 13, 0.04);
    transform: translateY(-6px);
}

.type-card:hover::before {
    transform: scaleX(1);
}

.type-image {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    filter: brightness(0.55) saturate(0.65);
    transition: filter 0.5s, transform 0.5s;
}

.type-card:hover .type-image {
    filter: brightness(0.7) saturate(0.8);
    transform: scale(1.03);
}

.type-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(10, 20, 41, 0.95));
    display: flex;
    align-items: flex-end;
    padding: 18px;
}

.type-image-overlay h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.type-content {
    padding: 24px 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.type-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-dim);
    border: 1px solid rgba(255, 82, 13, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 1.3rem;
    color: var(--accent);
    transition: transform 0.3s, box-shadow 0.3s;
}

.type-card:hover .type-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.type-card h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.type-card p {
    color: var(--text-dim);
    margin-bottom: 14px;
    line-height: 1.85;
    font-size: 0.85rem;
    flex: 1;
}

.type-features {
    list-style: none;
    margin-top: 8px;
}

.type-features li {
    padding: 7px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 1px solid var(--gb);
}

.type-features li:last-child {
    border: none;
}

.type-features li i {
    color: var(--accent);
    font-size: 0.72rem;
}

/* ================================================================
           FEATURES SECTION
        ================================================================ */
.features {
    background: linear-gradient(135deg, #0a1429 0%, #12284c 100%);
    border-top: 1px solid var(--gb);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2px;
    margin-top: 16px;
}

.feature-item {
    background: var(--glass);
    border: 1px solid var(--gb);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: border-color 0.4s, background 0.4s, transform 0.35s;
}

.feature-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 82, 13, 0.08) 0%, rgba(18, 40, 76, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    box-shadow: 0 0 12px var(--accent-glow);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover::after {
    transform: scaleX(1);
}

.feature-item:hover {
    border-color: rgba(255, 82, 13, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(255, 82, 13, 0.1);
}

.feature-item-icon {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: transform 0.4s;
    display: block;
}

.feature-item:hover .feature-item-icon {
    transform: scale(1.12) rotate(6deg);
}

.feature-item h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.feature-item p {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.85;
    position: relative;
    z-index: 1;
}

.feature-item:hover p {
    color: rgba(232, 240, 255, 0.85);
}

/* ================================================================
           CTA SECTION
        ================================================================ */
.cta {
    background: linear-gradient(135deg, #0a1429, #12284c);
    text-align: center;
    border-top: 1px solid var(--gb);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 280px;
    background: radial-gradient(ellipse, rgba(255, 82, 13, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
}

.cta-label::before,
.cta-label::after {
    content: '';
    width: 40px;
    height: 1.5px;
    background: var(--accent);
}

.cta h2 {
    font-size: clamp(28px, 4vw, 52px);
    color: #fff;
    margin-bottom: 22px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.cta h2 .ghost {
    color: transparent;
    -webkit-text-stroke: 1px rgba(232, 240, 255, 0.45);
}

.cta p {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 44px;
    line-height: 1.85;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================================
           KEYFRAMES
        ================================================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================
           RESPONSIVE
        ================================================================ */
@media(max-width:1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media(max-width:992px) {
    .scanner-content {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

@media(max-width:768px) {
    section {
        padding: 72px 0;
    }

    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

@media(max-width:480px) {
    .hero-title {
        font-size: 2rem;
    }
}