html {
    background: linear-gradient(160deg, #0a0d12 0%, #0f172a 55%, #0b1220 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

body {
    margin: 0;
    font-family: "Manrope", Inter, Arial, sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.15), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(248, 250, 252, 0.03), transparent 40%);
    color: #e6edf3;
    font-family: "Space Grotesk", "Manrope", sans-serif;
}

body .header {
    background: rgba(10, 14, 20, 0.8);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    position: relative;
    z-index: 101;
}

@supports (backdrop-filter: blur(1px)) {
    body .header {
        background: rgba(10, 14, 20, 0.65);
        backdrop-filter: blur(14px);
    }
}

body .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 20px;
    min-height: 64px;
    width: 100%;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

body .logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

body .logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

body .header nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    flex: 1 1 auto;
}

body .header nav a {
    color: #cbd5f5;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.2s ease;
}

body .header nav a:hover {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #cbd5f5;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

body .header nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    flex: 1 1 auto;
    margin: 0 20px;
}

body .lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

body .lang-switch select {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    min-height: auto;
    height: 40px;
}

body .header .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: auto;
    padding: 6px 12px;
    font-size: 12px;
    height: 34px;
    border-radius: 8px;
    position: relative;
    z-index: 102;
}

body .logo {
    color: #f8fafc;
    font-family: "Fraunces", "Space Grotesk", serif;
    letter-spacing: 1px;
}

body .logo-img {
    max-width: 100%;
    height: auto;
    display: block;
}

body .header .logo-img {
    max-width: clamp(56px, 12vw, 96px);
    width: 100%;
    height: auto;
    object-fit: contain;
}

body .lang-switch select {
    background: rgba(15, 23, 42, 0.7);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

body .btn {
    background: #2563eb;
    color: #f8fafc;
    border-radius: 8px;
    padding: 8px 16px;
    letter-spacing: 0.02em;
    font-size: 13px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

body .btn.ghost {
    background: transparent;
    border: 1px solid rgba(226, 232, 240, 0.5);
    color: #e2e8f0;
}

body .btn.btn-ink {
    background: #f97316;
    color: #0b1220;
}

body .btn.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

body h1 {
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

body h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
}

body .badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1;
}

body .home-hero {
    position: relative;
    padding: 110px 0 80px;
    overflow: hidden;
    width: 100%;
}

body .home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.15), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(14, 116, 144, 0.12), transparent 55%);
    opacity: 0.6;
    pointer-events: none;
}

body .home-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    align-items: center;
}

body .badge-signal {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #f8fafc;
    box-shadow: 0 0 18px rgba(99, 102, 241, 0.35);
}

body .home-hero-content p {
    font-size: 18px;
    color: #cbd5f5;
    max-width: 560px;
}

body .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 24px;
}

body .hero-actions .btn {
    width: auto;
}

body .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body .hero-stats strong {
    display: block;
    font-size: 20px;
    line-height: 1.2;
}

body .hero-stats span {
    display: block;
    opacity: 0.85;
    font-size: 13px;
}

body .home-hero-panel {
    display: grid;
    gap: 18px;
}

body .panel-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(2, 8, 23, 0.25);
    backdrop-filter: none;
}

@supports (backdrop-filter: blur(1px)) {
    body .panel-card {
        box-shadow: 0 18px 40px rgba(2, 8, 23, 0.45);
        backdrop-filter: blur(16px);
    }
}

body .panel-secondary {
    background: rgba(30, 41, 59, 0.65);
}

body .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

body .pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
    animation: pulse 1.8s infinite;
}

body .signal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    gap: 10px;
}

body .signal-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

body .panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body .stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

body .stack-tags span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.25);
    font-size: 12px;
}

body .section {
    padding: 64px 0;
    width: 100%;
}

body .section-head {
    margin-bottom: 28px;
    max-width: 680px;
}

body .glass-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 22px;
}

@supports (backdrop-filter: blur(1px)) {
    body .glass-card {
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(10px);
    }
}

body .capability-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 10px;
}

body .capability-list li {
    padding-left: 24px;
    position: relative;
    color: #cbd5f5;
}

body .capability-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f97316;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

body .metric-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 28px;
}

body .metric-title {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #94a3b8;
}

body .metric-score {
    font-size: 44px;
    font-weight: 700;
    margin: 12px 0;
    color: #38bdf8;
}

body .metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

body .metric-grid span {
    color: #94a3b8;
    font-size: 12px;
}

body .outline-card {
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.5);
    border-radius: 16px;
    padding: 22px;
}

body .cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 32px;
    border-radius: 22px;
    background: linear-gradient(120deg, rgba(249, 115, 22, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(248, 250, 252, 0.2);
}

body .cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

body .footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(10, 12, 18, 0.8);
    padding: 40px 0 20px;
    margin-top: 60px;
}

body .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

body .footer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body .footer-section h4 {
    color: #f8fafc;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #f97316;
}

body .footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

body .footer-logo .logo-img {
    max-width: clamp(28px, 7vw, 48px);
    width: 100%;
    height: auto;
}

body .footer-tagline {
    color: #cbd5f5;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    max-width: 220px;
}

body .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body .footer-links li {
    margin: 0;
}

body .footer-links a {
    color: #cbd5f5;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

body .footer-links a:hover {
    color: #f97316;
}

body .footer-contacts p {
    margin: 0 0 6px 0;
    color: #cbd5f5;
    font-size: 13px;
    line-height: 1.4;
}

body .footer-contacts strong {
    color: #e2e8f0;
    font-weight: 600;
}

body .footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #94a3b8;
    font-size: 12px;
}

/* Footer contact icons */
.icon-sm {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
    color: #f97316;
    stroke-width: 2;
}

.icon-sm-social {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    color: #cbd5f5;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: rgba(249, 115, 22, 0.2);
    border-color: #f97316;
}

.footer-social-links a:hover .icon-sm-social {
    color: #f97316;
    transform: scale(1.1);
}

/* Clickable contacts */
.footer-contacts a {
    color: #cbd5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: #f97316;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(34, 211, 238, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
    }
}

body .two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

@media (max-width: 980px) {
    body .home-hero-grid {
        grid-template-columns: 1fr;
    }

    body .two-col {
        grid-template-columns: 1fr;
    }

    body .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    body .header .container {
        padding: 10px 16px;
        gap: 10px;
        flex-wrap: nowrap;
    }

    body .header .logo-img {
        max-width: 64px;
        flex-shrink: 0;
    }

    body .header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(10, 14, 20, 0.98);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(148, 163, 184, 0.15);
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 100;
        order: unset;
        margin: 0;
    }

    body .header nav.active {
        max-height: 600px;
    }

    body .header nav a {
        display: block;
        font-size: 14px;
        padding: 12px 20px;
        width: 100%;
        color: #cbd5f5;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        text-align: left;
        margin: 0;
    }

    body .header nav a:last-child {
        border-bottom: none;
    }

    body .header nav a:hover {
        background: rgba(37, 99, 235, 0.1);
        color: #f97316;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
        margin-right: 8px;
        flex-shrink: 0;
    }

    body .lang-switch {
        order: 3;
        margin-left: 0;
        margin-right: 8px;
        flex-shrink: 0;
    }

    body .lang-switch select {
        padding: 8px 10px;
        font-size: 13px;
        min-height: auto;
        height: 40px;
    }

    body .header .btn {
        order: 4;
        margin-left: 0;
        font-size: 13px;
        padding: 10px 16px;
        white-space: nowrap;
        flex-shrink: 0;
        min-height: 40px;
    }

    body .footer-logo .logo-img {
        max-width: 32px;
    }

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

    body .hero-actions {
        margin-top: 16px;
        margin-bottom: 18px;
    }

    body .metric-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    body .header .logo-img {
        max-width: 56px;
    }

    body .header .btn {
        font-size: 12px;
        padding: 8px 14px;
        min-height: 36px;
        width: auto;
    }

    body .lang-switch {
        width: auto;
        margin-left: 0;
    }

    body .lang-switch select {
        width: auto;
        padding: 6px 8px;
        font-size: 12px;
        height: 36px;
    }

    body .footer-logo .logo-img {
        max-width: 28px;
    }

    body .hero-actions {
        gap: 8px;
    }

    body .hero-actions .btn {
        width: auto;
        padding: 8px 14px;
        font-size: 12px;
    }

    body .hero-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 360px) {
    body .header .logo-img {
        max-width: 50px;
    }

    body .footer-logo .logo-img {
        max-width: 26px;
    }
}

/* Services page styles */
body .grid-2-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

body .service-card {
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

body .service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.4);
}

body .service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #7dd3fc;
}

body .service-card h3 {
    margin: 12px 0 8px;
}

body .service-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

body .service-card h3 a:hover {
    color: #f97316;
}

body .service-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 10px;
    display: grid;
    gap: 8px;
}

body .service-list li {
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: #cbd5f5;
}

body .service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22d3ee;
    font-weight: bold;
}

/* Clients page styles */
body .clients-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

body .client-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    font-weight: 600;
    color: #cbd5f5;
    text-align: left;
    min-height: 84px;
    transition: all 0.3s ease;
}

body .client-logo img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    image-rendering: auto;
}

body .client-logo span {
    display: block;
}

body .client-logo:hover {
    border-color: rgba(249, 115, 22, 0.4);
    background: rgba(15, 23, 42, 0.85);
}

body .metric-badge {
    text-align: center;
}

body .metric-number {
    font-size: 48px;
    font-weight: 700;
    color: #f97316;
    margin: 12px 0;
    line-height: 1;
}

body .metric-badge p {
    font-size: 14px;
    color: #cbd5f5;
    margin: 0;
}

/* Certification cards */
body .cert-card {
    text-align: center;
    transition: all 0.3s ease;
}

body .cert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #7dd3fc;
}

body .cert-card:hover {
    border-color: rgba(248, 250, 252, 0.4);
    background: rgba(15, 23, 42, 0.7);
}

/* Card icons for strategy section */
body .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #7dd3fc;
}

body .section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #7dd3fc;
    vertical-align: middle;
}

body .inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: currentColor;
    vertical-align: middle;
}

body .service-icon svg,
body .cert-icon svg,
body .card-icon svg,
body .section-icon svg,
body .inline-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .section-icon svg {
    width: 18px;
    height: 18px;
}

body .inline-icon svg {
    width: 14px;
    height: 14px;
}

body .step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #f97316;
    font-weight: 700;
    font-size: 18px;
}

body .pricing-table-wrap {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0;
    margin-top: 16px;
    border-radius: 14px;
}

body .pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

body .pricing-table thead tr {
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    background: transparent;
}

body .pricing-table thead th {
    background: transparent;
    padding: 12px 16px;
    color: #f97316;
    font-weight: 700;
}

body .pricing-table thead th:first-child {
    border-top-left-radius: 14px;
}

body .pricing-table thead th:last-child {
    border-top-right-radius: 14px;
}

body .pricing-table th {
    text-align: left;
    padding: 12px 16px;
    color: #f97316;
    font-weight: 700;
}

body .pricing-table th.price-col,
body .pricing-table td.price-col {
    text-align: right;
}

body .pricing-table th.qty-col,
body .pricing-table td.qty-col {
    text-align: center;
    width: 90px;
}

body .pricing-table td {
    padding: 12px 16px;
    color: #e2e8f0;
    background: transparent;
}

body .pricing-table td.price-col {
    color: #cbd5f5;
}

body .pricing-table tbody tr {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background: transparent;
}

body .pricing-table tbody tr:last-child {
    border-bottom: 0;
}

body .pricing-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

body #result table,
body #result th,
body #result td {
    background: transparent;
}

body .pricing-table,
body .pricing-table th,
body .pricing-table td,
body .pricing-table thead tr,
body .pricing-table tbody tr {
    background: transparent !important;
}

body .pricing-input {
    width: 76px;
    padding: 6px 8px;
    border-radius: 8px;
    text-align: center;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
    font-size: 14px;
    appearance: auto;
    -webkit-appearance: auto;
}

body .pricing-input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

body .pricing-input::-webkit-outer-spin-button,
body .pricing-input::-webkit-inner-spin-button {
    -webkit-appearance: auto;
    margin: 0;
    filter: invert(1) brightness(1.1);
    opacity: 0.9;
}

body .pricing-input[type="number"] {
    -moz-appearance: textfield;
}

body .pricing-input[type="number"]::-moz-number-spin-box,
body .pricing-input[type="number"]::-moz-number-spin-up,
body .pricing-input[type="number"]::-moz-number-spin-down {
    -moz-appearance: auto;
    filter: invert(1) brightness(1.1);
    opacity: 0.9;
}

/* Grid and FAQ styles */
body .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

body .faq-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

body .faq-item {
    padding: 24px !important;
}

body .faq-item h3 {
    margin-bottom: 12px;
    color: #e6edf3;
}

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

@media (max-width: 980px) {
    body .grid-2-services {
        grid-template-columns: 1fr;
    }

    body .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .grid-2 {
        grid-template-columns: 1fr;
    }

    body .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .faq-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body .clients-grid {
        grid-template-columns: 1fr;
    }

    body .grid-4 {
        grid-template-columns: 1fr;
    }

    body .metric-number {
        font-size: 36px;
    }
}

h1,
h2,
h3 {
    margin: 0 0 12px;
    line-height: 1.2;
}

h1 {
    font-size: 36px;
    font-weight: 700;
}

h2 {
    font-size: 28px;
    font-weight: 600;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}

p {
    margin: 0 0 16px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;


.price-name {
    font-weight: 600;
    color: #0f172a;
}

.price-meta {
    font-size: 12px;
    color: #64748b;
}

.contact-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 6px;
}

.contact-value {
    font-weight: 600;
}

.map-frame {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 12px;
}

.hero-image {
    max-width: 420px;
    width: 100%;
    border-radius: 14px;
    display: block;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.card h2 {
    color: #f8fafc;
    margin-top: 0;
    font-size: 20px;
}

.card h3 {
    color: #e2e8f0;
    font-size: 16px;
    margin-bottom: 8px;
}

.card p {
    color: #cbd5f5;
    line-height: 1.6;
    font-size: 14px;
}

/* Blog cards alignment */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.blog-card p {
    flex-grow: 1;
}

.blog-card-media {
    height: 140px;
    margin: 0 0 12px 0;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(14, 116, 144, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-icon {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.blog-card-footer .btn {
    display: block;
    text-align: center;
    font-size: 13px;
    padding: 8px 12px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7dd3fc;
}

.tool-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tool-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tool-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.tool-input {
    flex: 1 1 180px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    font-size: 13px;
}

.tool-input::placeholder {
    color: #94a3b8;
}

.tool-form .btn {
    padding: 10px 14px;
    font-size: 13px;
}

.ping-quick-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
}

.ping-quick-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding: 10px 12px;
    white-space: nowrap;
}

.ping-quick-buttons button svg {
    flex-shrink: 0;
}

@media (max-width: 650px) {
    .ping-quick-buttons {
        grid-template-columns: 1fr;
    }
}

.tool-result {
    margin-top: 8px;
    font-size: 12px;
    color: #94a3b8;
    min-height: 16px;
}

.tool-result strong {
    color: #e2e8f0;
    font-weight: 600;
}

.tool-report {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.45);
}

.tool-report.info {
    border-color: rgba(148, 163, 184, 0.3);
}

.tool-report.success {
    border-color: rgba(34, 211, 238, 0.5);
}

.tool-report.warning {
    border-color: rgba(245, 158, 11, 0.5);
}

.tool-report.error {
    border-color: rgba(248, 113, 113, 0.5);
}

.tool-report-head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-size: 13px;
}

.tool-badge {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.6);
}

.tool-badge.success {
    background: #22d3ee;
}

.tool-badge.warning {
    background: #f59e0b;
}

.tool-badge.error {
    background: #f87171;
}

.tool-report ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: #cbd5f5;
}

.tool-report li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.tool-test-stages {
    display: grid;
    gap: 8px;
    font-size: 12px;
    padding: 12px 0;
}

.tool-test-stages .stage {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: #cbd5f5;
}

.tool-test-stages .stage span:last-child {
    font-weight: 600;
    color: #22d3ee;
}

.tool-report li span {
    color: #94a3b8;
}

.tool-report li strong {
    color: #e2e8f0;
    font-weight: 600;
}

.tool-note {
    font-size: 11px;
    color: #94a3b8;
}

.tool-meter {
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    overflow: hidden;
}

.tool-meter-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.9), rgba(56, 189, 248, 0.6));
    width: 0;
}

.tool-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.2);
    font-size: 14px;
    color: #cbd5f5;
}

.tool-label {
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 11px;
}

.tool-value {
    font-weight: 600;
    color: #f8fafc;
}

/* IP Info Box */
.ip-info-box {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.ip-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    font-size: 13px;
}

.ip-info-row.main {
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.ip-info-row .tool-label {
    font-size: 11px;
    color: #94a3b8;
}

.ip-info-row .tool-value {
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 600;
}

.ip-info-row .tool-value.badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ip-info-row .tool-value.badge.success {
    background: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.ip-info-row .tool-value.badge.info {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Speed Test Gauge */
.tool-report.speedtest {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.95)) !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.speedtest-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid rgba(34, 211, 238, 0.2);
}

.speedtest-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #cbd5f5;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.speedtest-stat .stat-icon {
    font-size: 18px;
}

.speedtest-stat strong {
    color: #94a3b8;
    font-size: 10px;
}

.speedtest-gauge-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px 20px 20px;
    min-height: 280px;
}

#speedGauge {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.speedtest-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 700;
    color: #22d3ee;
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
    font-variant-numeric: tabular-nums;
}

.speedtest-unit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20px);
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.speedtest-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    padding: 0;
    background: rgba(0, 0, 0, 0.3);
}

.info-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 12px;
    background: rgba(15, 23, 42, 0.6);
    border-right: 1px solid rgba(34, 211, 238, 0.1);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
}

.info-row:last-child {
    border-right: none;
}

.info-row strong {
    color: #22d3ee;
    font-size: 14px;
    font-weight: 600;
}

/* Speed Test Client Info */
.speedtest-client-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(34, 211, 238, 0.15);
    background: rgba(0, 0, 0, 0.2);
}

.speedtest-client-info .info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.speedtest-client-info .info-item span {
    color: #94a3b8;
}

.speedtest-client-info .info-item strong {
    color: #22d3ee;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.card-image {
    width: 100%;
    border-radius: 8px;
    display: block;
    margin-bottom: 12px;
}

.post-image {
    width: 100%;
    max-width: 720px;
    display: block;
    margin: 20px auto;
    border-radius: 12px;
}

/* Contact Form Styles */
form {
    margin-top: 16px;
}

form p {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 20px;
}

input,
select,
textarea {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

label {
    font-weight: 600;
    color: #e2e8f0;
    font-size: 14px;
}

.contact-form {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 16px;
    padding: 32px;
    max-width: 720px;
}

.map-frame {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
}

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

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

th {
    background: #f1f5f9;
    font-weight: 600;
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-grid,
    .two-col {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    .header nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .header nav a {
        margin: 0;
    }

    .lang-switch {
        width: auto;
        margin-left: auto;
    }

    .lang-switch select {
        width: auto;
        min-width: 96px;
    }

    .header .btn {
        width: auto;
        text-align: center;
    }

    .hero {
        padding: 56px 0;
        text-align: center;
    }

    .hero .btn,
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

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

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

    .hero-card {
        text-align: left;
    }

    .container {
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 12px;
        background: #fff;
        border-radius: 8px;
        padding: 12px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    }

    td {
        border: none;
        padding: 6px 0;
    }

    .card {
        padding: 16px;
    }
}

/* Партнеры на главной */
.home-partners {
    background: rgba(37, 99, 235, 0.06);
    border-top: 1px solid rgba(76, 175, 80, 0.15);
    border-bottom: 1px solid rgba(76, 175, 80, 0.15);
}

.vendor-brands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    padding: 24px;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    padding: 8px;
    background: transparent;
    border-radius: 0;
    border: none;
    transition: opacity 0.3s ease;
}

.brand-item:hover {
    opacity: 0.9;
}

.brand-item img {
    width: auto;
    height: 56px;
    max-width: 200px;
    display: block;
    opacity: 0.75;
}

.brand-item:hover img {
    opacity: 1;
}

@media (max-width: 768px) {
    .vendor-brands {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 16px;
        padding: 16px;
    }
    
    .brand-item {
        min-height: 80px;
        padding: 10px;
    }
    
    .brand-item img {
        height: 44px;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .vendor-brands {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px;
    }
    
    .brand-item {
        min-height: 72px;
        padding: 8px;
    }
    
    .brand-item img {
        height: 36px;
        max-width: 140px;
    }
}

/* Бегущая строка вендоров */
.marquee-vendors-footer {
    width: 100%;
    background: rgba(37, 99, 235, 0.08);
    border-top: 1px solid rgba(76, 175, 80, 0.2);
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
    padding: 20px 0;
    overflow: hidden;
}

@supports (backdrop-filter: blur(1px)) {
    .marquee-vendors-footer {
        background: linear-gradient(90deg, rgba(37, 99, 235, 0.15) 0%, rgba(76, 175, 80, 0.15) 100%);
        backdrop-filter: blur(10px);
    }
}

.marquee-vendors-footer .marquee-vendors-head {
    max-width: 1200px;
    margin: 0 auto 14px;
    padding: 0 20px;
}

.marquee-vendors-footer .marquee-vendors-head h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #eaf5ff;
}

.marquee-vendors-footer .marquee-vendors-head p {
    margin: 4px 0 0;
    color: #9fd3ad;
    font-size: 0.9rem;
}

.marquee-vendors-footer .marquee-container {
    overflow: hidden;
    width: 100%;
}

.marquee-vendors-footer .marquee {
    display: flex;
    gap: 30px;
    padding: 0 20px;
    animation: scroll-marquee 60s linear infinite;
    white-space: nowrap;
}

.marquee-vendors-footer .marquee-vendor {
    flex-shrink: 0;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.marquee-vendors-footer .marquee-vendor img {
    width: auto;
    height: 32px;
    max-width: 150px;
    display: block;
    opacity: 1;
}

.marquee-vendors-footer .marquee-vendor em {
    display: none;
}

.marquee-vendors-footer .marquee-vendor.service-only {
    gap: 8px;
}

.marquee-vendors-footer .marquee-vendor.service-only strong {
    color: #86efac;
    font-size: 1rem;
}

.marquee-vendors-footer .marquee-vendor:hover {
    opacity: 0.8;
    transform: scale(1.05);
    color: #81C784;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marquee-vendors-footer .marquee-vendors-head h3 {
        font-size: 1rem;
    }

    .marquee-vendors-footer .marquee-vendors-head p {
        font-size: 0.82rem;
    }

    .marquee-vendors-footer .marquee {
        gap: 20px;
        padding: 0 15px;
        animation: scroll-marquee 40s linear infinite;
    }
    
    .marquee-vendors-footer .marquee-vendor {
        font-size: 1rem;
        padding: 10px 12px;
    }

    .marquee-vendors-footer .marquee-vendor img {
        height: 20px;
        max-width: 110px;
    }

    .marquee-vendors-footer .marquee-vendor em {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .marquee-vendors-footer {
        padding: 16px 0;
    }
    
    .marquee-vendors-footer .marquee-vendors-head h3 {
        font-size: 0.95rem;
    }

    .marquee-vendors-footer .marquee-vendors-head p {
        font-size: 0.75rem;
    }

    .marquee-vendors-footer .marquee {
        gap: 16px;
        padding: 0 12px;
        animation: scroll-marquee 30s linear infinite;
    }
    
    .marquee-vendors-footer .marquee-vendor {
        font-size: 0.9rem;
        padding: 8px 10px;
    }

    .marquee-vendors-footer .marquee-vendor img {
        height: 18px;
        max-width: 100px;
    }
}

/* Enhanced mobile optimizations for phone and tablet */
@media (max-width: 480px) {
    /* Touch-friendly button sizes */
    .btn {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    /* Better tap targets */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better spacing on mobile */
    body .section {
        padding: 40px 0;
    }
    
    body .section-head h1,
    body .section-head h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    body .section-head p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Optimize cards for mobile */
    .card {
        padding: 14px;
        margin-bottom: 12px;
        border: 1px solid rgba(148, 163, 184, 0.15);
    }
    
    /* Better footer on mobile */
    body .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    body .footer-section h4 {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    body .footer-links a {
        font-size: 12px;
    }
    
    /* Form inputs mobile friendly */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    textarea,
    select {
        font-size: 16px;
        min-height: 44px;
        padding: 10px 12px;
        line-height: 1.5;
    }
    
    /* Pricing table mobile optimization */
    .pricing-table {
        font-size: 12px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 8px 4px;
    }
    
    /* Heroes and sections */
    body .home-hero-grid {
        grid-template-columns: 1fr;
    }
    
    body .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* Mobile footer styling */
    body .footer-contacts p {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    body .footer-contacts a {
        font-size: 12px;
    }
    
    .footer-social-links {
        margin-top: 16px;
        gap: 10px !important;
    }
    
    .footer-social-links a {
        width: 40px;
        height: 40px;
        transition: background 0.2s ease;
    }
    
    .footer-social-links a:hover {
        transform: none;
    }
    
    .icon-sm {
        width: 14px;
        height: 14px;
    }
    
    .icon-sm-social {
        width: 18px;
        height: 18px;
    }

    /* Extra small devices */
    body .header .container {
        min-height: auto;
        padding: 8px 12px;
        gap: 8px;
    }

    body .header .logo-img {
        max-width: 50px;
    }

    .mobile-menu-toggle {
        width: 32px;
        height: 32px;
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 1.5px;
    }

    body .header .btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    body .lang-switch select {
        font-size: 12px;
        padding: 8px;
    }

    body .home-hero {
        padding: 60px 0 40px;
    }

    body .home-hero-content p {
        font-size: 15px;
    }

    body h1 {
        font-size: 28px;
    }

    body h2 {
        font-size: 20px;
    }

    body .section {
        padding: 30px 0;
    }

    .container {
        padding: 12px;
    }
    
    /* Disable heavy animations on mobile */
    body .marquee-vendor:hover {
        opacity: 0.8;
        transform: none;
        color: #81C784;
    }
    
    body .service-card:hover {
        transform: none;
    }
    
    body .panel-card {
        box-shadow: 0 4px 12px rgba(2, 8, 23, 0.3);
    }
}

/* Contacts Page */
.contacts-hero {
    padding: 80px 0 40px;
}

.contacts-hero .center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contacts-content {
    padding: 40px 0 80px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.contacts-form-wrapper .card {
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #cbd5f5;
}

.form-group .required {
    color: #f87171;
}

.form-control {
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    font-size: 14px;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(15, 23, 42, 0.8);
}

.form-control::placeholder {
    color: #64748b;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
}

.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #94a3b8;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label a {
    color: #22d3ee;
    text-decoration: underline;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
    margin-top: 10px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card,
.contact-support-card,
.contact-social-card {
    padding: 28px;
}

.contact-info-card h3,
.contact-support-card h3,
.contact-social-card h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #e2e8f0;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-details li {
    display: flex;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-details li > div:last-child {
    flex: 1;
}

.contact-details strong {
    display: block;
    font-size: 13px;
    color: #cbd5f5;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-details p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.contact-details a {
    color: #22d3ee;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-details a:hover {
    color: #06b6d4;
}

.contact-support-card p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    transition: all 0.2s;
}

.social-links a:hover {
    background: rgba(34, 211, 238, 0.2);
    transform: translateY(-2px);
}

.social-links svg {
    width: 22px;
    height: 22px;
}

.contacts-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05), rgba(6, 182, 212, 0.02));
}

.cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: #e2e8f0;
}

.cta-box p {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 30px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 968px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contacts-form-wrapper .card {
        padding: 28px;
    }
}

@media (max-width: 650px) {
    .contacts-hero {
        padding: 60px 0 30px;
    }
    
    .contacts-content {
        padding: 30px 0 60px;
    }
    
    .contacts-form-wrapper .card,
    .contact-info-card,
    .contact-support-card,
    .contact-social-card {
        padding: 20px;
    }
    
    .cta-box h2 {
        font-size: 24px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

/* ====== UNIVERSAL GRADIENT HEADER STYLE ====== */
.gradient-header {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 60px 0 40px;
    margin-bottom: 0;
    text-align: left;
    position: relative;
    overflow: visible;
}

.gradient-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.15), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(14, 116, 144, 0.12), transparent 55%);
    opacity: 0.6;
    pointer-events: none;
}

.gradient-header h1 {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #f8fafc;
    position: relative;
    z-index: 1;
}

.gradient-header .lead {
    font-size: 18px;
    color: #cbd5f5;
    max-width: 720px;
    margin-bottom: 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.gradient-header .btn {
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.gradient-header.compact {
    padding: 40px 0 30px;
}

.gradient-header.compact h1 {
    font-size: clamp(28px, 3.5vw, 36px);
    margin-bottom: 8px;
}

.gradient-header.compact .lead {
    font-size: 16px;
    max-width: 640px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gradient-header {
        padding: 40px 0 30px;
    }
    
    .gradient-header h1 {
        font-size: 28px;
    }
    
    .gradient-header .lead {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .gradient-header {
        padding: 30px 0 20px;
    }
    
    .gradient-header h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .gradient-header .lead {
        font-size: 14px;
    }
}
