/* ========================================
   STAFFLOG - Custom Styles
   ======================================== */

/* ----------------------------------------
   1. Font Face Declarations
   ---------------------------------------- */
@font-face {
    font-family: "Aeonik Pro";
    src: url("../assets/fonts/aeonik/AeonikPro-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Aeonik Pro";
    src: url("../assets/fonts/aeonik/AeonikPro-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ----------------------------------------
   2. Base Styles
   ---------------------------------------- */
* {
    font-family: "Aeonik Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: #ffffff;
    color: #111827;
    line-height: 1.4;
    font-weight: 700;
}

/* ----------------------------------------
   3. Container
   ---------------------------------------- */
.container {
    max-width: 1440px;
    padding: 0 100px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ----------------------------------------
   4. Navbar Styles
   ---------------------------------------- */
.navbar.scrolled {
    height: 64px;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ----------------------------------------
   5. Mobile Menu
   ---------------------------------------- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111827;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 30px 20px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

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

    .navbar.scrolled + .mobile-menu {
        top: 64px;
    }
}

/* ----------------------------------------
   6. Hero Section
   ---------------------------------------- */
.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
    overflow: hidden;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }
}

.hero-image img {
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
}

/* ----------------------------------------
   7. Problem Cards
   ---------------------------------------- */
.problem-card-simple {
    padding: 0;
    transition: all 0.2s ease-out;
}

/* ----------------------------------------
   8. Feature Items
   ---------------------------------------- */
.feature-item-new {
    transition: all 0.2s ease;
}

.feature-image img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

/* ----------------------------------------
   9. Statistics
   ---------------------------------------- */
.stat-number {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----------------------------------------
   10. Audience Section
   ---------------------------------------- */
#audience img[src*="for-who"] {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* ----------------------------------------
   11. Form Message
   ---------------------------------------- */
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    margin-top: 16px;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

/* ----------------------------------------
   12. Button Loader Animation
   ---------------------------------------- */
.btn-loader:not(.hidden) {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-loader .dot {
    width: 6px;
    height: 6px;
    background-color: #6366F1;
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.btn-loader .dot:nth-child(1) {
    animation-delay: 0s;
}

.btn-loader .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.btn-loader .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ----------------------------------------
   13. Animations
   ---------------------------------------- */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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