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

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

:root {
    --bg: #f7f9fc;
    --surface: #ffffff;
    --surface-soft: #eef2f6;
    --text-strong: #0f172a;
    --text-muted: #64748b;
    --accent: #0f4fff;
    --accent-soft: rgba(15, 79, 255, 0.08);
    --border: #d4d9e6;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text-strong);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: var(--text-strong);
}

.brand img {
    height: 36px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

nav a:hover,
nav a.active {
    color: var(--accent);
}

nav a.active::after {
    width: 100%;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 24px 120px;
    background: radial-gradient(circle at top left, rgba(15, 79, 255, 0.14), transparent 32%),
                radial-gradient(circle at bottom right, rgba(15, 79, 255, 0.1), transparent 28%),
                linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.eyebrow::before {
    display: none;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.8rem, 4vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--text-strong);
}

.hero-copy p {
    margin: 24px 0 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.button-primary::before,
.button-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.button-primary:hover::before,
.button-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.button-primary {
    background: linear-gradient(135deg, #0f4fff 0%, #0a3fd0 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 16px 40px rgba(15, 79, 255, 0.16),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.button-secondary {
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfd 100%);
    color: var(--text-strong);
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-4px);
}

.hero-visual {
    display: grid;
    gap: 20px;
}

.showcase-section {
    width: 100%;
    overflow: hidden;
    background: #0d1323;
}

.showcase-grid {
    display: flex;
    gap: 14px;
    height: 680px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px 24px;
}

.showcase-card {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    display: flex;
    align-items: flex-end;
    transition: flex 0.7s cubic-bezier(0.23, 1, 0.320, 1), transform 0.4s ease;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(15, 79, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) inset,
                0 0 1px rgba(15, 79, 255, 0.1) inset;
}

.showcase-card:hover {
    flex: 2.2;
    transform: scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4) inset,
                0 0 2px rgba(15, 79, 255, 0.2) inset,
                0 0 60px rgba(15, 79, 255, 0.1) inset;
}

.showcase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.68) 100%);
    pointer-events: none;
    transition: all 0.6s ease;
}

.showcase-card:hover::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.showcase-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 12, 26, 0.95) 100%);
    pointer-events: none;
    transition: all 0.6s ease;
}

.showcase-card:hover::after {
    height: 55%;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 12, 26, 0.98) 100%);
}

.showcase-content {
    position: relative;
    z-index: 1;
    padding: 36px;
    color: #ffffff;
    transition: all 0.5s ease;
}

.showcase-card:hover .showcase-content {
    transform: translateY(-8px);
}

.showcase-content h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    transition: all 0.4s ease;
}

.showcase-card:hover .showcase-content h2 {
    transform: scale(1.04);
    color: #ffffff;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #ffffff;
    font-weight: 600;
    opacity: 0.92;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
}

.showcase-link::after {
    content: '→';
    display: inline-block;
    margin-left: 4px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.showcase-link:hover {
    transform: translateX(8px);
    opacity: 1;
}

.showcase-link:hover::after {
    transform: translateX(4px);
}

.showcase-mechatronics {
    background-image: linear-gradient(180deg, rgba(5, 10, 22, 0.48), rgba(12, 19, 35, 0.72)),
                      url('images/mechatronics.svg');
    background-size: cover;
    background-position: center;
}

.showcase-embedded {
    background-image: linear-gradient(180deg, rgba(5, 10, 22, 0.48), rgba(12, 19, 35, 0.72)),
                      url('images/embedded.svg');
    background-size: cover;
    background-position: center;
}

.showcase-prototyping {
    background-image: linear-gradient(180deg, rgba(5, 10, 22, 0.48), rgba(12, 19, 35, 0.72)),
                      url('images/prototyping.svg');
    background-size: cover;
    background-position: center;
}

.vision-ai-section {
    background: #06101e;
    padding: 72px 0 0;
}

.vision-ai-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.vision-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.vision-header h2 {
    margin: 20px 0 0;
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 1.05;
    color: #ffffff;
}

.vision-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.vision-tab {
    flex: 1 1 auto;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    color: #dbe7ff;
    border: 1px solid transparent;
    border-radius: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.vision-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 79, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.vision-tab.active,
.vision-tab:hover {
    background: rgba(15, 79, 255, 0.16);
    border-color: rgba(15, 79, 255, 0.32);
    color: #ffffff;
    transform: translateY(-2px);
}

.vision-tab:hover::before {
    opacity: 1;
}

.vision-copy {
    margin-top: 32px;
    display: none;
    color: #cbd5f1;
    animation: slideUp 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.vision-copy--active {
    display: block;
}

.vision-copy h3 {
    margin: 0 0 18px;
    font-size: 1.9rem;
    color: #ffffff;
    line-height: 1.1;
}

.vision-copy p {
    margin: 0;
    color: #a8b7d3;
    font-size: 1rem;
    line-height: 1.8;
}

.vision-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.vision-list li {
    position: relative;
    padding-left: 24px;
    color: #d3deff;
    line-height: 1.7;
    transition: all 0.3s ease;
    animation: slideUp 0.6s cubic-bezier(0.23, 1, 0.320, 1) backwards;
}

.vision-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.vision-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.vision-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.vision-list li:hover {
    transform: translateX(4px);
    color: #ffffff;
}

.vision-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(15, 79, 255, 0.6);
}

.vision-viewport {
    width: 100%;
}

.vision-viewport-frame {
    min-height: 680px;
    background: linear-gradient(135deg, #08111f 0%, #0a1420 100%);
    border: 1px solid rgba(15, 79, 255, 0.2);
    border-radius: 32px;
    padding: 28px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4),
                0 0 1px rgba(15, 79, 255, 0.2) inset,
                inset 0 0 60px rgba(15, 79, 255, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.vision-viewport-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 79, 255, 0.4), transparent);
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
    pointer-events: none;
}

.vision-viewport-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vision-viewport-screen {
    position: relative;
    margin-top: 24px;
    flex: 1;
    min-height: 420px;
    border-radius: 26px;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(15, 79, 255, 0.14), transparent 28%),
                radial-gradient(circle at bottom right, rgba(0, 255, 173, 0.08), transparent 30%),
                #0b1322;
    box-shadow: inset 0 0 40px rgba(15, 79, 255, 0.1),
                inset 0 0 1px rgba(15, 79, 255, 0.2);
}

.vision-screen-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    background-size: cover;
    background-position: center;
}

.vision-screen-active {
    opacity: 1;
}

.vision-screen-camera {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 255, 173, 0.08), transparent 8%),
        linear-gradient(135deg, rgba(18, 33, 55, 0.95), rgba(4, 8, 18, 0.95)),
        linear-gradient(180deg, transparent 0%, rgba(5, 12, 23, 0.14) 100%);
}

.vision-screen-uav {
    background-image:
        radial-gradient(circle at 50% 20%, rgba(15, 79, 255, 0.1), transparent 12%),
        linear-gradient(180deg, rgba(16, 28, 47, 0.96), rgba(6, 11, 22, 0.96)),
        linear-gradient(90deg, transparent 0%, rgba(10, 18, 33, 0.18) 100%);
}

.vision-overlay-items {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: grid;
    gap: 12px;
    z-index: 2;
}

.vision-overlay-box {
    padding: 12px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 79, 255, 0.15), rgba(0, 255, 173, 0.08));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 79, 255, 0.32);
    color: #e7f1ff;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 8px 32px rgba(15, 79, 255, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: floatBox 3s ease-in-out infinite;
}

@keyframes floatBox {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-4px);
    }
}

.vision-overlay-box:hover {
    background: linear-gradient(135deg, rgba(15, 79, 255, 0.25), rgba(0, 255, 173, 0.12));
    border-color: rgba(15, 79, 255, 0.48);
    box-shadow: 0 16px 48px rgba(15, 79, 255, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 0 20px rgba(15, 79, 255, 0.1);
    transform: translateY(-2px);
}

.vision-overlay-box:last-child {
    width: max-content;
}

.vision-telemetry {
    margin-top: 24px;
    display: grid;
    gap: 14px;
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(15, 79, 255, 0.05));
    border: 1px solid rgba(15, 79, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}

.vision-telemetry:hover {
    border-color: rgba(15, 79, 255, 0.24);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.telemetry-row {
    display: grid;
    gap: 10px;
    color: #c8d8ff;
    font-size: 0.98rem;
}

.telemetry-row strong {
    color: #ffffff;
}

.hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .vision-ai-inner {
        grid-template-columns: 1fr;
    }

    .vision-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 760px) {
    .vision-ai-inner {
        padding: 0 16px 48px;
    }

    .vision-tabs {
        flex-direction: column;
    }

    .vision-viewport-frame {
        min-height: 560px;
        padding: 20px;
    }

    .vision-viewport-screen {
        min-height: 320px;
    }
}

@media (max-width: 520px) {
    .vision-copy h3 {
        font-size: 1.5rem;
    }

    .vision-overlay-box {
        font-size: 0.86rem;
    }
}

@media (max-width: 900px) {
    .showcase-grid {
        flex-direction: column;
        height: auto;
    }

    .showcase-card {
        height: 420px;
        flex: none;
    }

    .showcase-card:hover {
        flex: none;
    }
}

.feature-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafd 100%);
    border: 1px solid rgba(15, 79, 255, 0.12);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08),
                0 0 1px rgba(15, 79, 255, 0.1) inset,
                0 0 80px rgba(15, 79, 255, 0.06) inset;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.feature-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(15, 79, 255, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-panel:hover {
    transform: translateY(-8px);
    border-color: rgba(15, 79, 255, 0.24);
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.12),
                0 0 1px rgba(15, 79, 255, 0.2) inset,
                0 0 120px rgba(15, 79, 255, 0.1) inset;
}

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

.feature-panel h2 {
    margin: 0 0 14px;
    font-size: 1.3rem;
    color: var(--text-strong);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.feature-panel p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.sectors-section {
    background: #f7f9fc;
    border-top: 1px solid rgba(15, 79, 255, 0.08);
    border-bottom: 1px solid rgba(15, 79, 255, 0.08);
}

.contact-section {
    width: 100%;
    background: linear-gradient(180deg, #090f1c 0%, #070c18 100%);
    color: #dbe8ff;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 84px 24px;
}

.contact-top {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 40px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(3, 8, 17, 0.82);
    z-index: 999;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal-panel {
    width: min(920px, 100%);
    background: rgba(12, 18, 31, 0.98);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
}

.modal-content {
    padding: 40px;
}

.modal-content h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: #ffffff;
}

.modal-content p {
    color: #b8c9e6;
    margin: 0 0 28px;
    line-height: 1.75;
}

.contact-form-grid {
    margin: 0 auto 32px;
    max-width: 1200px;
}

.contact-form {
    display: grid;
    gap: 24px;
    padding: 32px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

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

.input-group {
    display: grid;
    gap: 10px;
    color: #d1dce8;
    font-size: 0.95rem;
}

.input-group span {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8ca4c5;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #f6fbff;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #8ca4c5;
}

.contact-textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-submit {
    width: fit-content;
    min-width: 200px;
    padding: 16px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f4fff 0%, #0a3fd0 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 18px 50px rgba(15, 79, 255, 0.25);
}

.contact-note {
    margin: 0;
    color: #a3b5ce;
    font-size: 0.95rem;
}

.contact-hero {
    padding: 36px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(15, 79, 255, 0.12), rgba(4, 10, 24, 0.92));
    border: 1px solid rgba(15, 79, 255, 0.18);
    box-shadow: 0 28px 80px rgba(1, 9, 23, 0.35);
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(5, 255, 202, 0.08);
    color: #7ff4d6;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.contact-heading {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.02;
    color: #ffffff;
}

.contact-intro {
    margin: 24px 0 0;
    max-width: 560px;
    color: #c8d7f0;
    font-size: 1.05rem;
    line-height: 1.9;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
}

.contact-button {
    min-width: 170px;
}

.contact-stats {
    display: grid;
    gap: 18px;
}

.contact-stat {
    padding: 24px 26px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(15, 79, 255, 0.05);
}

.stat-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    margin-top: 10px;
    color: #a8bbd8;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    min-height: 260px;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 68px rgba(0, 0, 0, 0.22);
}

.contact-card--light {
    background: rgba(255, 255, 255, 0.08);
}

.contact-card--accent {
    background: linear-gradient(180deg, rgba(5, 255, 202, 0.14), rgba(10, 30, 54, 0.95));
    border-color: rgba(5, 255, 202, 0.22);
}

.contact-card--dark {
    background: rgba(1, 9, 23, 0.96);
    border-color: rgba(5, 255, 202, 0.12);
}

.contact-card-head {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7ce7ff;
}

.contact-card p,
.contact-card li {
    margin: 0 0 14px;
    color: #d4e0f8;
    line-height: 1.8;
}

.contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.contact-list li::before {
    content: '▹';
    margin-right: 12px;
    color: #5ee7ff;
}

.contact-section .section-title {
    display: none;
}

@media (max-width: 980px) {
    .contact-top {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 660px) {
    .contact-inner {
        padding: 56px 18px;
    }

    .contact-actions {
        flex-direction: column;
    }

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


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

.card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfd 100%);
    border: 1px solid rgba(15, 79, 255, 0.12);
    border-radius: 28px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06),
                0 0 1px rgba(15, 79, 255, 0.08) inset;
}

.card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(15, 79, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease, top 0.6s ease, left 0.6s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-12px);
    border-color: rgba(15, 79, 255, 0.28);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.12),
                0 0 2px rgba(15, 79, 255, 0.16) inset,
                0 0 100px rgba(15, 79, 255, 0.08) inset;
}

.card:hover::before {
    opacity: 1;
    top: -50%;
    left: -50%;
}

.card-flag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
}

.card h3 {
    margin: 0 0 16px;
    font-size: 1.35rem;
}

.card p {
    margin: 0;
    color: var(--text-muted);
}

.footer {
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 32px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

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

    .contact-top {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-summary {
        max-width: 100%;
    }

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

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        padding: 60px 18px 80px;
    }

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

    .contact-top {
        gap: 18px;
    }
}
