*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #050816;
    color: #f9fafb;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 8, 22, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    margin: 0px 5px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.9rem;
    background: radial-gradient(circle at 20% 0%, #38bdf8, #6366f1 55%, #a855f7 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 600;
    letter-spacing: 0.03em;
    font-size: 0.95rem;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #9ca3af;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.main-nav a {
    color: #e5e7eb;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    height: 2px;
    width: 100%;
    background: #e5e7eb;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.nav-open span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

.nav-toggle.nav-open span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}

.hero {
    padding: 4.5rem 0 3.5rem;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 60%),
        radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.16), transparent 55%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.1rem, 3.1vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.1rem;
}

.hero-content p {
    color: #d1d5db;
    margin-bottom: 1.6rem;
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    border-color: rgba(148, 163, 184, 0.1);
    color: #0b1120;
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.6);
}

.btn-outline {
    border-color: rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.6);
    color: #e5e7eb;
}

.btn-outline:hover {
    background: rgba(15, 23, 42, 0.9);
}

.btn-block {
    width: 100%;
}

.hero-meta {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.meta-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #9ca3af;
    margin-bottom: 0.1rem;
}

.meta-value {
    color: #e5e7eb;
}

.hero-card {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.96));
    border-radius: 1.2rem;
    padding: 1.6rem 1.8rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow:
        0 22px 45px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(15, 23, 42, 0.9) inset;
}

.hero-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.hero-card ul {
    list-style: disc;
    margin-left: 1.1rem;
    font-size: 0.9rem;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
}

.hero-card li + li {
    margin-top: 0.25rem;
}

.hero-stats {
    display: flex;
    gap: 1.75rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
}

.section {
    padding: 3.5rem 0;
}

.section-alt {
    background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.17), rgba(15, 23, 42, 1));
}

.section-header {
    max-width: 32rem;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.section-header p {
    color: #d1d5db;
    font-size: 0.95rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.card-soft {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.1), rgba(15, 23, 42, 0.95));
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.card p {
    font-size: 0.9rem;
    color: #d1d5db;
    margin-bottom: 0.7rem;
}

.card-list {
    list-style: disc;
    margin-left: 1rem;
    font-size: 0.86rem;
    color: #e5e7eb;
}

.card-list li + li {
    margin-top: 0.2rem;
}

.timeline {
    border-left: 1px dashed rgba(148, 163, 184, 0.65);
    margin-left: 0.4rem;
    padding-left: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.timeline-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.timeline-number {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
}

.timeline-step h3 {
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

.timeline-step p {
    font-size: 0.87rem;
    color: #d1d5db;
}

.career-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
    gap: 2rem;
    align-items: start;
}

.career-intro p {
    color: #d1d5db;
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
}

.career-email {
    margin-top: 0.9rem;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.career-email a {
    color: #38bdf8;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-group label {
    font-size: 0.82rem;
    color: #e5e7eb;
}

.form-group input,
.form-group textarea {
    background: rgba(15, 23, 42, 0.98);
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    color: #e5e7eb;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.55);
    background: rgba(15, 23, 42, 1);
}

.form-hint {
    font-size: 0.8rem;
    color: #9ca3af;
}

.alert {
    font-size: 0.85rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.7rem;
    margin-bottom: 0.6rem;
}

.alert-success {
    background: rgba(22, 163, 74, 0.15);
    border: 1px solid rgba(22, 163, 74, 0.65);
    color: #bbf7d0;
}

.alert-error {
    background: rgba(185, 28, 28, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.7);
    color: #fecaca;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
    gap: 2rem;
    align-items: start;
}

.contact-list {
    list-style: none;
    font-size: 0.9rem;
    color: #d1d5db;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 0.6rem;
}

.contact-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.7rem;
    color: #9ca3af;
}

.contact-form-card h3 {
    margin-bottom: 0.4rem;
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    background: #020617;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding: 2.4rem 1.8rem;
    font-size: 0.86rem;
}

.footer-brand .footer-desc {
    color: #9ca3af;
    margin-top: 0.6rem;
    max-width: 26rem;
    font-size: 0.86rem;
}

.footer-col h4 {
    font-size: 0.87rem;
    margin-bottom: 0.45rem;
}

.footer-col ul {
    list-style: none;
    color: #9ca3af;
}

.footer-col li + li {
    margin-top: 0.3rem;
}

.footer-col a {
    color: #e5e7eb;
}

.footer-col a:hover {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid rgba(31, 41, 55, 1);
    padding: 0.8rem 0;
    font-size: 0.78rem;
    color: #6b7280;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom a {
    color: #9ca3af;
}

.footer-bottom a:hover {
    color: #38bdf8;
}

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        order: -1;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .career-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    .main-nav {
        position: absolute;
        inset: 3.1rem 1.25rem auto 1.25rem;
        background: rgba(15, 23, 42, 0.98);
        border-radius: 0.9rem;
        padding: 0.8rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        border: 1px solid rgba(148, 163, 184, 0.45);
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.85);
        transform-origin: top;
        transform: scaleY(0.7);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease, transform 0.15s ease;
    }

    .main-nav.nav-open {
        opacity: 1;
        pointer-events: auto;
        transform: scaleY(1);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 4rem;
    }

    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 1.8rem;
        padding-right: 1.8rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-card {
        padding: 1.3rem 1.3rem;
    }
}


