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

:root {
    
    --bg: #F6F1EC;
    --surface: #ffffff;
    --text: #0F172A;
    --body: #334155;
    --muted: #64748B;

    
    --accent: #7C3AED;
    --accent-dark: #5B21B6;
    --accent-light: #EDE9FE;
    --accent-pink: #EC4899;
    --accent-blue: #6366F1;

    
    --primary: #7C3AED;
    --primary-dark: #5B21B6;
    --primary-light: #EDE9FE;

    
    --nav-bg: #A7C7D8;

    
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
    --shadow: 0 1px 3px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.06);
    --shadow-lg: 0 4px 6px rgba(15,23,42,0.03), 0 20px 50px rgba(15,23,42,0.08);

    
    --nav-height: 70px;
    --radius: 12px;
    --font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: calc(var(--nav-height) + 20px);
}

body {
    font-family: var(--font);
    color: var(--body);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[type="checkbox"]:focus-visible + label {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

:focus:not(:focus-visible) {
    outline: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    padding: 12px 24px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

.page-shell {
    width: min(1120px, 90%);
    margin: 0 auto;
    padding: clamp(40px, 8vw, 100px) 0;
}

.page-header {
    margin-bottom: 40px;
}

.page-header.center {
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent-dark);
    background: var(--accent-light);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-header h1,
.section-title {
    color: var(--text);
    line-height: 1.1;
}

.page-header h1 {
    font-size: clamp(34px, 6vw, 58px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.page-header p {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.page-header.center p {
    margin: 0 auto;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
    cursor: pointer;
}

.button.primary {
    color: #ffffff;
    background: var(--accent);
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.25);
}

.button.primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.button.secondary {
    color: var(--accent-dark);
    background: var(--surface);
    border-color: var(--border);
}

.button.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-footer {
    background: #0F172A;
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 5% 32px;
    margin-top: clamp(40px, 8vw, 80px);
}

.footer-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(24px, 4vw, 40px);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-brand span {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.65;
    max-width: 320px;
}

.footer-nav h3,
.footer-social h3 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    text-decoration: none;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

.social-window {
    position: relative;
    padding: 14px;
    overflow: visible;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(30, 41, 59, 0.82),
            rgba(15, 23, 42, 0.94)
        );

    box-shadow:
        0 18px 45px rgba(2, 6, 23, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.social-window::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.22),
        transparent 42%,
        rgba(59, 130, 246, 0.12)
    );
    filter: blur(14px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.social-window:hover::before {
    opacity: 1;
}

.social-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 2px 2px 12px;
    margin-bottom: 13px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.window-controls {
    display: flex;
    align-items: center;
    gap: 7px;
}

.window-dot {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.25);
}

.dot-red {
    background: #f87171;
}

.dot-yellow {
    background: #facc15;
}

.dot-green {
    background: #4ade80;
}

.social-window-file {
    color: #64748b;
    font-family: "Fira Code", "JetBrains Mono", Consolas, monospace;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.footer-social-link {
    --brand-color: #8b5cf6;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;

    color: #94a3b8;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 13px;
    background: rgba(30, 41, 59, 0.74);

    box-shadow:
        0 8px 20px rgba(2, 6, 23, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.footer-social-link svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.footer-social-link:hover {
    color: #ffffff;
    background: color-mix(in srgb, var(--brand-color) 20%, #1e293b);
    border-color: color-mix(in srgb, var(--brand-color) 70%, transparent);
    transform: translateY(-4px);

    box-shadow:
        0 12px 26px color-mix(
            in srgb,
            var(--brand-color) 25%,
            transparent
        ),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-social-link:hover svg {
    transform: scale(1.1);
}

.footer-social-link:active {
    transform: translateY(-1px) scale(0.97);
}

.footer-social-link:focus-visible {
    outline: 3px solid color-mix(
        in srgb,
        var(--brand-color) 45%,
        transparent
    );
    outline-offset: 3px;
}

.footer-social-link.linkedin {
    --brand-color: #0a66c2;
}

.footer-social-link.github {
    --brand-color: #7c3aed;
}

.footer-social-link.youtube {
    --brand-color: #ff0033;
}

.footer-social-link.instagram {
    --brand-color: #C13584;
}

.footer-social-link::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 10;

    padding: 6px 9px;
    color: #f8fafc;
    font-family: "Fira Code", Consolas, monospace;
    font-size: 0.65rem;
    white-space: nowrap;

    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 7px;
    background: #0f172a;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 6px);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.footer-social-link:hover::after,
.footer-social-link:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

@media (max-width: 480px) {
    .social-window {
        padding: 12px;
        border-radius: 15px;
    }

    .footer-social-links {
        gap: 8px;
    }

    .footer-social-link {
        width: 44px;
        height: 44px;
        border-radius: 11px;
    }

    .footer-social-link svg {
        width: 19px;
        height: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-social-link,
    .footer-social-link svg,
    .footer-social-link::after,
    .social-window::before {
        transition: none;
    }
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

.contact-form-section {
    margin-top: 32px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

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

.contact-form .form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.2px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 15px;
    color: var(--text);
    background: var(--surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--muted);
    opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    outline: none;
}

.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.contact-form textarea {
    min-height: 140px;
}

.contact-form .button {
    justify-self: start;
    padding: 14px 36px;
    font-size: 15px;
    border: none;
}

.form-feedback {
    grid-column: 1 / -1;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.form-feedback--success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-feedback--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-feedback--info {
    background: var(--accent-light);
    color: var(--accent-dark);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

@media (max-width: 700px) {
    .page-shell {
        width: min(92%, 620px);
        padding: clamp(30px, 6vw, 60px) 0;
    }

    .footer-inner {
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

}
