* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #003893;
    --primary-dark: #00296b;
    --primary-soft: #eaf3ff;
    --cyan: #22d3ee;
    --cyan-soft: #ecfeff;
    --green: #16a34a;
    --text: #172033;
    --muted: #64748b;
    --border: #dbeafe;
    --card: rgba(255,255,255,.92);
    --shadow: 0 22px 55px rgba(0,56,147,.12);
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(34,211,238,.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(0,56,147,.13), transparent 34%),
        linear-gradient(135deg, #f4f8ff 0%, #ffffff 48%, #eaf7ff 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0,56,147,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,56,147,.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
    z-index: 0;
}

header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(1px);
    border-bottom: 1px solid rgba(34, 211, 238, .15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: white;
    padding: 5px;
    border: 2px solid rgba(34, 211, 238, .3);
    box-shadow: 0 8px 18px rgba(34, 211, 238, .14);
}

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

.logo-text h1 {
    font-size: 22px;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.05;
}

.logo-text p {
    font-size: 11px;
    color: #0284c7;
    margin-top: 2px;
}

.login-btn {
    border: none;
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-btn:hover {
    background: #00276c;
    transform: translateY(-2px);
}

.translate-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #f8fbff;
    color: var(--primary);
    box-shadow: 0 6px 16px rgba(0, 56, 147, .06);
}

.translate-shell select {
    border: none;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    outline: none;
    cursor: pointer;
}

#google_translate_element {
    position: absolute;
    left: -9999px;
    top: 0;
}

.container {
    max-width: 1400px;
    margin: auto;
    padding: 10px 24px 70px;
}

.hero-section1 {
    max-width: 920px;
    margin: 0 auto 24px;
    text-align: center;
    padding: 8px 28px 24px;
}

.hero-badge {
    display: inline-block;
    background: #e0f2fe;
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid #bae6fd;
}

.hero-section1 h2 {
    font-size: 42px;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 800;
}

.hero-section1 p {
    max-width: 700px;
    margin: auto;
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: center;
}

.footer {
    margin-top: 28px;
    padding: 18px 10px 8px;
    text-align: center;
    color: #4b6a96;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}

.service-card {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 24px;
    border: 1px solid rgba(191, 219, 254, .55);
    box-shadow:
        0 10px 30px rgba(0, 56, 147, .07),
        inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 45px rgba(34, 211, 238, .18),
        inset 0 1px 0 rgba(255, 255, 255, .8);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 22px;
    background: linear-gradient(135deg, #eef9ff, #ffffff);
    border: 1px solid rgba(34, 211, 238, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.service-status {
    font-size: 12px;
    margin-top: 5px;
    color: #16a34a;
    font-weight: 600;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 10px 12px;
    cursor: pointer;
    transition: .25s;
    text-decoration: none;
}

.payment-item:hover {
    background: #eef8ff;
    border-color: #7dd3fc;
    transform: translateY(-2px);
}

.payment-item img {
    width: 28px;
    height: 20px;
    object-fit: contain;
}

.payment-item span {
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
}

.service-btn {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #003893, #0048bc);
    color: white;
    padding: 13px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 56, 147, .2);
}

.hub-card {
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-center {
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    border: 3px solid rgba(34, 211, 238, .3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    gap: 8px;
    padding: 18px 16px 14px;
    box-shadow:
        0 0 0 12px rgba(34, 211, 238, .05),
        0 0 0 24px rgba(34, 211, 238, .03),
        0 20px 45px rgba(0, 0, 0, .08);
    animation: floatHub 4s ease-in-out infinite;
}

@keyframes floatHub {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hub-center img {
    width: 148px;
    max-width: 78%;
    height: auto;
    object-fit: contain;
    margin-bottom: 0;
}

.hub-center h2 {
    color: var(--primary);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.hub-center p {
    color: #3b82f6;
    font-size: 11px;
    margin: 0;
    line-height: 1.35;
}

@media(min-width:641px) and (max-width:950px) {
    .container {
        padding: 10px 18px 62px;
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .hub-card {
        grid-column: 2;
        grid-row: 1;
    }

    .header-content {
        gap: 12px;
        padding: 10px 18px;
    }

    .service-card {
        padding: 18px;
        border-radius: 28px;
    }

    .service-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .service-icon {
        width: 52px;
        height: 52px;
        border-radius: 18px;
        font-size: 24px;
    }

    .service-title {
        font-size: 18px;
    }

    .payment-grid {
        gap: 10px;
        margin-bottom: 18px;
    }

    .payment-item {
        padding: 9px 10px;
    }

    .payment-item img {
        width: 24px;
        height: 18px;
    }

    .payment-item span {
        font-size: 11px;
    }
}

@media(max-width:640px) {
    header {
        position: static;
        top: auto;
    }

    .container {
        padding: 8px 12px 54px;
    }

    .payment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 18px;
    }

    .hero-section1 h2 {
        font-size: clamp(24px, 7vw, 32px);
        margin-bottom: 12px;
    }

    .hero-section1 {
        max-width: 100%;
        padding: 0 6px 14px;
        margin: 0 auto 14px;
    }

    .hero-section1 p {
        font-size: 14px;
        line-height: 1.6;
    }

    .hub-center {
        width: min(82vw, 230px);
        height: min(82vw, 230px);
        padding: 14px 12px 12px;
        gap: 6px;
    }

    .hub-center img {
        width: min(40vw, 110px);
        max-width: 78%;
    }

    .hub-center h2 {
        font-size: 19px;
    }

    .hub-center p {
        font-size: 10px;
    }

    .header-content {
        padding: 10px 12px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .logo-section {
        gap: 8px;
        justify-content: flex-start;
        align-items: center;
        min-width: 0;
        flex: 1 1 230px;
    }

    .logo {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .header-tools {
        width: 100%;
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
        justify-content: flex-end;
        flex: 1 1 230px;
    }

    .translate-shell {
        width: auto;
        flex: 1 1 140px;
        justify-content: flex-end;
    }

    .login-btn {
        width: auto;
        min-width: 150px;
        padding: 11px 16px;
        white-space: nowrap;
    }

    .logo-text h1 {
        font-size: 17px;
        line-height: 1.1;
    }

    .logo-text p {
        font-size: 10px;
        line-height: 1.2;
    }

    .service-card {
        width: 100%;
        max-width: 560px;
        padding: 18px 16px;
        border-radius: 26px;
    }

    .service-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .service-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
        border-radius: 16px;
    }

    .service-title {
        font-size: 17px;
        line-height: 1.2;
    }

    .service-status {
        font-size: 11px;
    }

    .payment-item {
        min-height: 46px;
        padding: 8px 10px;
        gap: 8px;
    }

    .payment-item img {
        width: 22px;
        height: 16px;
    }

    .payment-item span {
        font-size: 11px;
        line-height: 1.1;
    }

    .service-btn {
        height: 46px;
        font-size: 14px;
    }

    .footer {
        margin-top: 18px;
        padding: 14px 8px 6px;
        font-size: 12px;
    }
}

@media(min-width:481px) and (max-width:640px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        justify-items: stretch;
    }

    .hub-card {
        grid-column: 1 / -1;
    }

    .service-card {
        width: 100%;
        max-width: none;
    }

    .service-title {
        font-size: 16px;
    }

    .payment-grid {
        gap: 8px;
        margin-bottom: 16px;
    }

    .payment-item {
        padding: 7px 8px;
        min-height: 42px;
    }
}

@media(min-width:421px) and (max-width:480px) {
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .service-card {
        width: 100%;
        max-width: 100%;
    }

    .hub-card {
        order: -1;
    }

    .payment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 16px;
    }

    .service-title {
        font-size: 16px;
    }
}

@media(max-width:420px) {
    header {
        position: static;
        top: auto;
    }

    .container {
        padding: 6px 10px 46px;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
        padding: 6px 8px 8px;
        gap: 6px;
    }

    .logo-section {
        width: 100%;
        flex: none;
        gap: 6px;
    }

    .logo {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .logo-text h1 {
        font-size: 15px;
        line-height: 1.05;
    }

    .logo-text p {
        font-size: 9px;
        line-height: 1.15;
        margin-top: 1px;
    }

    .header-tools {
        width: 100%;
        justify-content: stretch;
        flex: none;
        gap: 6px;
    }

    .translate-shell {
        width: 100%;
        justify-content: center;
    }

    .translate-shell span {
        font-size: 12px;
    }

    .translate-shell select {
        font-size: 12px;
        padding: 0 2px;
    }

    .login-btn {
        width: 100%;
        padding: 11px 14px;
        font-size: 13px;
    }

    .hero-section1 {
        padding: 0 4px 10px;
        margin: 0 auto 12px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 12px;
    }

    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .service-card {
        max-width: 100%;
    }

    .hub-card {
        order: -1;
    }

    .payment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .payment-item {
        padding: 7px 8px;
        min-height: 42px;
    }

    .payment-item span {
        font-size: 10px;
    }

    .service-title {
        font-size: 16px;
    }

    .service-btn {
        width: 100%;
    }

    .hero-section1 h2 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .hero-section1 p {
        font-size: 12px;
        line-height: 1.5;
    }

    .hub-center {
        width: min(84vw, 190px);
        height: min(84vw, 190px);
    }

    .hub-center img {
        width: min(34vw, 82px);
    }

    .hub-center h2 {
        font-size: 15px;
    }

    .hub-center p {
        font-size: 8px;
    }
}
