:root {
    --primary: #ff2e2e;
    --primary-dark: #b30000;
    --bg-dark: #0f1115;
    --bg-muted: #171a21;
    --text-light: #f4f6fa;
    --text-muted: #a9b0bf;
    --card-bg: rgba(255, 255, 255, 0.08);
    --white: #ffffff;
    --radius: 18px;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    --glow: 0 0 20px rgba(255, 46, 46, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #0f1115 0%, #11141c 60%, #131821 100%);
    color: var(--text-light);
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin-inline: auto;
}

.section {
    padding: 84px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 42px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-family: 'Space Grotesk', sans-serif;
}

.section-head p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 12px auto 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-gradient {
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--glow);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    background: transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 17, 21, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(255, 46, 46, 0.28);
}

.brand-text strong {
    color: #ff8f8f;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-links a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-muted);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 46, 46, 0.16);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: transparent;
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--white);
}

.hero {
    padding: 110px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    z-index: -1;
}

.hero::before {
    width: 280px;
    height: 280px;
    background: rgba(255, 46, 46, 0.32);
    top: -50px;
    left: -40px;
    animation: float 7s ease-in-out infinite;
}

.hero::after {
    width: 360px;
    height: 360px;
    background: rgba(179, 0, 0, 0.28);
    right: -90px;
    bottom: -120px;
    animation: float 9s ease-in-out infinite reverse;
}

.hero-grid {
    display: grid;
    gap: 28px;
    align-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
}

.hero-floating-logo {
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 90px;
    object-fit: contain;
    border-radius: 0;
    margin: 0 0 12px 2px;
    box-shadow: none;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.chip {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 6px 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.grid-3,
.grid-4,
.grid-2 {
    display: grid;
    gap: 18px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 20px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(255, 46, 46, 0.4);
}

.card h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 8px;
}

.card p,
.muted {
    color: var(--text-muted);
}

.icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 46, 46, 0.15);
    margin-bottom: 12px;
    font-weight: 700;
}

.counter-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.counter {
    text-align: center;
}

.counter h3 {
    font-size: 2rem;
    color: var(--primary);
}

.team-member {
    text-align: center;
}

.team-photo,
.team-photo-fallback {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 14px;
}

.team-photo {
    object-fit: cover;
    object-position: center top;
    border: 2px solid rgba(255, 255, 255, 0.14);
}

.team-photo-fallback {
    display: grid;
    place-items: center;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--white);
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    box-shadow: var(--glow);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.45s ease;
}

.slide {
    min-width: 100%;
}

.timeline {
    border-left: 2px solid rgba(255, 46, 46, 0.4);
    margin-left: 10px;
    padding-left: 20px;
    display: grid;
    gap: 20px;
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    left: -27px;
    top: 5px;
    box-shadow: var(--glow);
}

.form-group {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: inherit;
}

select option {
    color: var(--text-light);
    background: #1b1f29;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.alert {
    padding: 11px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(30, 181, 90, 0.12);
    border-color: rgba(30, 181, 90, 0.4);
}

.alert-danger {
    background: rgba(255, 46, 46, 0.12);
    border-color: rgba(255, 46, 46, 0.45);
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 80px;
    padding: 42px 0 20px;
}

.site-footer h3 {
    margin-bottom: 10px;
}

.site-footer h4 {
    margin-bottom: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 18px;
}

.site-footer ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-contact {
    margin-top: 10px;
    display: grid;
    gap: 6px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-muted);
}

.footer-contact-icon {
    color: #ff8f8f;
    line-height: 1.2;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-link.facebook {
    color: #1877f2;
}

.social-link.instagram {
    color: #e4405f;
}

.social-link.youtube {
    color: #ff0000;
}

.social-link.linkedin {
    color: #0a66c2;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.roles-list {
    margin-left: 10px;
    padding-left: 30px;
    margin-top: 8px;
    list-style-position: outside;
}

.roles-list li + li {
    margin-top: 4px;
}

.roles-list li {
    padding-left: 8px;
}

.product-features {
    margin-top: 8px;
    margin-left: 8px;
    padding-left: 24px;
    list-style-position: outside;
}

.product-features li + li {
    margin-top: 2px;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
}

.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 22px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    box-shadow: var(--glow);
    z-index: 999;
}

.scroll-top-btn {
    position: fixed;
    right: 16px;
    bottom: 84px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: var(--bg-muted);
    color: var(--white);
    display: none;
    z-index: 999;
}

.loader-wrapper {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: #0d0f14;
    z-index: 2000;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader-wrapper.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 52px;
    height: 52px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
    width: min(1200px, 94%);
    margin: 0 auto;
    padding: 24px 0;
}

.admin-sidebar {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
    height: fit-content;
    position: sticky;
    top: 14px;
}

.admin-menu {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.admin-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-muted);
    border: 1px solid transparent;
}

.admin-menu a:hover,
.admin-menu a.active {
    color: var(--white);
    border-color: rgba(255, 46, 46, 0.35);
    background: rgba(255, 46, 46, 0.16);
}

.admin-content {
    min-height: calc(100vh - 48px);
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px 0;
}

.admin-card {
    width: min(680px, 92%);
}

.table-wrap {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 8px;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255, 255, 255, 0.45);
    animation: ripple 0.6s linear;
    pointer-events: none;
}
