:root {
    --bg: #0a0a0a;
    --surface: rgba(28, 28, 30, 0.95);
    --surface-2: #1c1c1e;
    --text: #f2f2f7;
    --muted: #8e8e93;
    --primary: #ec4899;
    --accent: #f472b6;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    --header-bg: rgba(28, 28, 30, 0.9);
    --header-text: #f2f2f7;
    --mobile-menu-bg: rgba(10, 10, 10, 0.96);
}

body[data-theme="light"] {
    --bg: #fafafa;
    --surface: rgba(255, 255, 255, 0.95);
    --surface-2: #f3f4f6;
    --text: #111827;
    --muted: #6b7280;
    --primary: #db2777;
    --accent: #be185d;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    --header-bg: rgba(255, 255, 255, 0.92);
    --header-text: #111827;
    --mobile-menu-bg: rgba(255, 255, 255, 0.98);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(236, 72, 153, 0.2), transparent 28%),
        linear-gradient(135deg, var(--bg) 0%, var(--surface-2) 100%);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

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

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

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    color: var(--header-text);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--header-text);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand:hover {
    transform: scale(1.04);
    opacity: 0.85;
}

.brand-logo {
    height: 42px;
    width: 42px;
    display: block;
    border: 2px solid #ffffff;
    border-radius: 50%;
    padding: 2px;
    background: #ffffff;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand:hover .brand-logo {
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}

.brand span {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-links a {
    color: var(--header-text);
    font-weight: 600;
    opacity: 0.95;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--accent);
    opacity: 1;
}

.nav-links a.active {
    color: var(--accent);
    opacity: 1;
}

.menu-btn,
.theme-toggle,
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--header-text);
    font-size: 1rem;
    cursor: pointer;
    border-radius: 999px;
    width: 42px;
    height: 42px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.lang-toggle {
    width: auto;
    padding: 0 0.8rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.menu-btn {
    display: none;
    padding: 0;
    overflow: hidden;
}

.menu-lines {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 20px;
    pointer-events: none;
}

.menu-line {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-btn[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-btn[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.theme-toggle:hover,
.menu-btn:hover,
.lang-toggle:hover {
    transform: translateY(-2px);
    background: rgba(236, 72, 153, 0.14);
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: rgba(10, 10, 10, 0.96);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.animation-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: grid;
    place-items: center;
    background: rgba(10, 10, 10, 0.9);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.animation-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.animation-overlay img {
    width: 300px;
    height: 300px;
    max-width: 80vw;
    max-height: 80vw;
    object-fit: contain;
}

body[data-theme="light"] .animation-overlay {
    background: rgba(255, 255, 255, 0.9);
}

.animation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: min(420px, calc(100% - 2rem));
    position: relative;
}

.close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(10, 10, 10, 0.6);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.close-btn:hover {
    transform: translateY(-2px);
    background: rgba(236, 72, 153, 0.18);
    border-color: var(--primary);
}

body[data-theme="light"] .brand-logo {
    border-color: #e5e7eb;
    background: #f9fafb;
}

body[data-theme="light"] .close-btn {
    background: rgba(255, 255, 255, 0.6);
}

body[data-theme="light"] .stat {
    background: #f3f4f6;
}

body[data-theme="light"] .contact-form input,
body[data-theme="light"] .contact-form textarea {
    background: rgba(0, 0, 0, 0.02);
}

body[data-theme="light"] .social-links li {
    background: #f3f4f6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.close-btn.is-hidden {
    display: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

.contact-form.is-hidden {
    display: none;
}

.contact-form h3 {
    margin: 0;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    padding: 0.7rem 0.9rem;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}

.contact-form .btn {
    margin-top: 0.2rem;
}

.loader-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    color: white;
    text-align: center;
    animation: fadeInLoader 0.4s ease both;
}

.loader-brand {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.loader-brand span {
    color: var(--primary);
}

.loader-ring {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(255, 255, 255, 0.16);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes fadeInLoader {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loader-card p {
    margin: 0;
    font-size: 0.92rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero {
    padding: 5rem 0 3rem;
}

.fade-in {
    animation: fadeUp 0.8s ease both;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-photo {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-photo.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 640px) {
    .reveal {
        transform: translateY(20px);
    }

    .reveal-photo {
        transform: translateY(20px) scale(0.98);
    }
}

.float-card {
    animation: float 4s ease-in-out infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

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

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(94, 234, 212, 0.35);
    border-radius: 999px;
    color: var(--accent);
    font-size: 0.82rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.eyebrow:hover {
    background: rgba(94, 234, 212, 0.1);
    border-color: rgba(94, 234, 212, 0.7);
    transform: translateY(-2px);
}

h1 {
    font-size: clamp(2rem, 4.1vw, 3.3rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.hero p {
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s ease,
                background 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #f472b6);
    color: #0a0a0a;
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.35);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(236, 72, 153, 0.08);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.15);
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 200;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.85rem 0.65rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    box-shadow: 0 0 0 6px rgba(236, 72, 153, 0.16), 0 12px 30px rgba(190, 24, 93, 0.35);
    animation: whatsappFloat 2.4s ease-in-out infinite, pulseGlow 1.8s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease, visibility 0.25s ease;
    opacity: 1;
    visibility: visible;
}

.whatsapp-float.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.96);
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 0 8px rgba(236, 72, 153, 0.2), 0 16px 35px rgba(190, 24, 93, 0.45);
}

.whatsapp-badge {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .whatsapp-float {
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.6rem 0.75rem 0.6rem 0.6rem;
    }

    .whatsapp-badge {
        font-size: 0.74rem;
    }

    .whatsapp-float .whatsapp-icon {
        width: 24px;
        height: 24px;
        font-size: 24px;
    }
}

.whatsapp-float .whatsapp-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    font-size: 28px;
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 5.5rem;
    z-index: 199;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), #f472b6);
    color: #0a0a0a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.96);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.back-to-top.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.4);
}

.back-to-top i {
    font-size: 1rem;
    pointer-events: none;
}

@media (max-width: 640px) {
    .back-to-top {
        right: 0.75rem;
        bottom: 4.5rem;
        width: 38px;
        height: 38px;
    }
}

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

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

@keyframes pulseGlow {
    0%,
    100% {
        box-shadow: 0 0 0 6px rgba(236, 72, 153, 0.16), 0 12px 30px rgba(190, 24, 93, 0.35);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(236, 72, 153, 0.12), 0 14px 34px rgba(190, 24, 93, 0.4);
    }
}

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

@media (hover: hover) {

    .card:hover,
    .card:focus-within {
        transform: translateY(-6px) scale(1.01);
        box-shadow: 0 24px 60px rgba(236, 72, 153, 0.16);
        border-color: rgba(236, 72, 153, 0.35);
    }
}

.hero-card {
    padding: 1.2rem;
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.hero-card li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text);
}

.hero-card li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
}

section {
    padding: 2.2rem 0;
}

.section-title {
    font-size: 1.1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.6rem;
}

h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    margin: 0 0 0.8rem;
}

.section-copy {
    color: var(--muted);
    max-width: 700px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.4rem;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.4rem;
}

.service-card,
.info-card {
    padding: 1.2rem;
}

.service-card h3,
.info-card h3 {
    margin: 0.4rem 0 0.5rem;
    font-size: 1.08rem;
}

.service-card p,
.info-card p,
.doc-card span,
.contact-box p,
.pricing-card p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 0.8rem;
    background: rgba(236, 72, 153, 0.15);
    color: var(--accent);
    font-size: 1.35rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.4rem;
}

.stat {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: #1f1f1f;
}

.stat strong {
    display: block;
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
    color: var(--accent);
}

.contact-box {
    margin-top: 1.2rem;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.4rem;
}

.pricing-card {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.2rem;
    margin: 0.4rem 0 0.5rem;
}

.pricing-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, var(--primary), #f472b6);
    color: #0a0a0a;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 0.2rem;
    text-align: center;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 1.2rem;
    display: grid;
    gap: 0.5rem;
    text-align: center;
}

.features-list li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.pricing-card .btn {
    margin-top: auto;
    width: 100%;
}

.pricing-card .btn-primary {
    background: linear-gradient(135deg, var(--primary), #f472b6);
    color: #0a0a0a;
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.2);
}

.pricing-card .btn-primary:hover {
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.35);
}

.pricing-card .btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.pricing-card .btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(236, 72, 153, 0.08);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.15);
}

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

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

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.2rem;
    align-items: center;
    margin-top: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 1.2rem;
    align-items: center;
    margin-top: 1.2rem;
}

.services-photo {
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.5s ease;
}

.services-photo:hover {
    transform: scale(1.03) rotate(1deg);
}

.services-photo img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.6s ease, filter 0.6s ease;
}

/* Loading spinner untuk foto */
.brand-logo,
.profile-photo,
.services-photo {
    position: relative;
}

.brand-logo.loading,
.profile-photo.loading,
.services-photo.loading {
    opacity: 0.6;
}

.brand-logo.loading::after,
.profile-photo.loading::after,
.services-photo.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 5;
    pointer-events: none;
}

body[data-theme="light"] .brand-logo.loading::after,
body[data-theme="light"] .profile-photo.loading::after,
body[data-theme="light"] .services-photo.loading::after {
    border-color: rgba(0, 0, 0, 0.15);
    border-top-color: var(--primary);
}

.services-photo:hover img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.05);
}

.profile-photo {
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.5s ease;
}

.profile-photo:hover {
    transform: scale(1.03) rotate(1deg);
}

.profile-photo img {
    transition: transform 0.6s ease, filter 0.6s ease;
}

.profile-photo:hover img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.05);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-links li {
    position: relative;
    list-style: none;
    width: 50px;
    height: 50px;
    background: #525252;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-radius: 60px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.social-links li::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 60px;
    background: linear-gradient(45deg, var(--i), var(--j));
    opacity: 0;
    transition: 0.5s;
}

.social-links li::after {
    content: "";
    position: absolute;
    top: 10px;
    width: 100%;
    height: 100%;
    border-radius: 60px;
    background: linear-gradient(45deg, var(--i), var(--j));
    transition: 0.5s;
    filter: blur(15px);
    z-index: -1;
    opacity: 0;
}

.social-links li:hover {
    width: 170px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0);
}

.social-links li:hover::before {
    opacity: 1;
}

.social-links li:hover::after {
    opacity: 0.5;
}

.social-links li ion-icon {
    color: #6b7280;
    font-size: 1.75em;
    transition: 0.5s;
    transition-delay: 0.25s;
}

.social-links li:hover ion-icon {
    transform: scale(0);
    color: #fff;
    transition-delay: 0s;
}

.social-links li .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #fff;
    font-size: 1.1em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: 0.5s;
    transition-delay: 0s;
    white-space: nowrap;
}

.social-links li:hover .title {
    transform: translate(-50%, -50%) scale(1);
    transition-delay: 0.25s;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.2rem;
}

.doc-card {
    padding: 1rem;
}

.doc-card strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text);
}

footer {
    padding: 1.5rem 0 2.2rem;
    color: var(--muted);
    text-align: center;
}

.export-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.4rem;
}

.export-card {
    padding: 1.2rem;
}

.export-card h3 {
    margin: 0.4rem 0 0.5rem;
    font-size: 1.08rem;
}

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

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

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

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

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

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

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

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

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

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

@media (max-width: 640px) {
    .menu-btn {
        display: inline-flex;
    }

    .brand {
        font-size: 0.95rem;
        gap: 0.5rem;
        padding: 0.25rem 0.7rem;
    }

    .brand-logo {
        height: 28px;
        width: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        min-height: 48px;
        padding: 0.95rem 1.1rem;
        font-size: 1rem;
    }

    #about .container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    #about .section-title {
        order: 2;
        margin-top: 0;
    }

    #about .about-grid {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    #about .profile-photo {
        order: 0;
        margin-bottom: 0.25rem;
    }

    #about .fade-in {
        order: 1;
    }

    .nav-links {
        position: absolute;
        top: 66px;
        right: 1rem;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        background: var(--mobile-menu-bg);
        border: 1px solid var(--border);
        border-radius: 1rem;
        min-width: 180px;
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .nav-links.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a {
        opacity: 0;
        transform: translateX(10px);
        transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
    }

    .nav-links.open a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.open a:nth-child(1) { transition-delay: 0.05s; }
    .nav-links.open a:nth-child(2) { transition-delay: 0.1s; }
    .nav-links.open a:nth-child(3) { transition-delay: 0.15s; }
    .nav-links.open a:nth-child(4) { transition-delay: 0.2s; }

    .hero {
        padding-top: 3rem;
    }

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

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

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

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

    .contact-box {
        flex-direction: column;
        align-items: flex-start;
    }
}
