/* ===================================================
   HHPOKER Modern Art Style - Custom Styles
   Colors: Yellow-500 (#EAB308) + Gray-900 (#111827)
   =================================================== */

/* === ROOT VARIABLES === */
:root {
    --yellow: #EAB308;
    --charcoal: #111827;
    --dark-gray: #1f2937;
    --light-gray: #f9fafb;
}

/* === SMOOTH SCROLL === */
html {
    scroll-behavior: smooth;
}

/* === NAVBAR === */
#navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(17, 24, 39, 0.95) !important;
}

#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--yellow);
    transition: width 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hover-yellow,
.nav-link:hover,
.mobile-link:hover {
    color: var(--yellow) !important;
}

/* Hamburger animation */
#hamburger i {
    transition: transform 0.3s ease;
}

#hamburger.active i::before {
    content: '\f00d';
}

/* Mobile menu */
#mobileMenu {
    animation: slideDown 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

#mobileMenu.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === GEOMETRIC SHAPE DECORATIONS === */
.geo-square {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.geo-rotate-12 {
    transform: rotate(12deg);
}
.geo-rotate-15 {
    transform: rotate(15deg);
}
.geo-rotate-20 {
    transform: rotate(20deg);
}
.geo-rotate-25 {
    transform: rotate(25deg);
}
.geo-rotate-30 {
    transform: rotate(30deg);
}
.geo-rotate-45 {
    transform: rotate(45deg);
}
.geo-rotate-50 {
    transform: rotate(50deg);
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 0;
}

.geo-diamond {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.geo-circle-ring {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    border: 3px solid rgba(234, 179, 8, 0.2);
}

/* Floating animation for geometric shapes */
@keyframes geoFloat {
    0%, 100% {
        transform: rotate(var(--base-rotate, 15deg)) translateY(0);
    }
    50% {
        transform: rotate(var(--base-rotate, 15deg)) translateY(-15px);
    }
}

.geo-square, .geo-triangle, .geo-diamond, .geo-circle-ring {
    animation: geoFloat 6s ease-in-out infinite;
}

.geo-triangle:nth-child(2),
.geo-square:nth-child(3),
.geo-triangle:nth-child(4),
.geo-square:nth-child(5) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.geo-triangle:nth-child(6),
.geo-diamond:nth-child(7),
.geo-circle-ring:nth-child(8) {
    animation-delay: -4s;
    animation-duration: 8s;
}

/* === FEATURE CARDS === */
.feature-card {
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), box-shadow 0.4s ease;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.feature-card-yellow:hover {
    box-shadow: 0 20px 50px rgba(234, 179, 8, 0.3);
}

.feature-card-dark:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Hexagon icon container rotation on hover */
.feature-card:hover [class*="clip-path"] {
    transform: rotate(180deg);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.feature-card [class*="clip-path"],
.feature-card div[style*="clip-path"] {
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

/* === STATS COUNTER === */
.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-item .font-black {
    text-shadow: 0 0 40px rgba(234, 179, 8, 0.3);
    transition: all 0.5s ease;
}

.stat-item:hover .font-black {
    text-shadow: 0 0 80px rgba(234, 179, 8, 0.6);
}

/* === TESTIMONIAL CARDS === */
.testimonial-card {
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

/* === FAQ ACCORDION === */
.faq-item {
    transition: all 0.4s ease;
    overflow: hidden;
}

.faq-item.active {
    background-color: #1a1f2e !important;
    box-shadow: 0 0 0 2px var(--yellow), 0 10px 40px rgba(234, 179, 8, 0.1);
}

.faq-toggle i {
    transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-content {
    animation: fadeInDown 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.faq-content:not(.hidden) {
    display: block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

/* === CTA BUTTON PULSE === */
#download a[style*="EAB308"] {
    position: relative;
    overflow: visible;
}

#download a[style*="EAB308"]:hover {
    box-shadow: 0 0 40px rgba(234, 179, 8, 0.4);
}

/* === GENERAL ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    #mobileMenu:not(.hidden) {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .feature-card {
        clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
    }

    .testimonial-card {
        clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    }

    .faq-item {
        clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero h1 span.block {
        font-size: 1.25rem;
    }
}

@media (max-width: 640px) {
    .stat-item .font-black {
        font-size: 3rem;
    }

    #hero {
        min-height: 90vh;
    }
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--charcoal);
}

::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ca9a06;
}

/* === SELECTION === */
::selection {
    background-color: var(--yellow);
    color: var(--charcoal);
}

/* === ACTIVE LINK SCROLL SPY === */
.nav-link.active {
    color: var(--yellow) !important;
}

/* === GEO FLOAT ANIMATION DIFFERENT SPEEDS === */
section .geo-square:nth-child(odd),
section .geo-triangle:nth-child(odd) {
    animation-duration: 7s;
}

section .geo-square:nth-child(even),
section .geo-triangle:nth-child(even) {
    animation-duration: 9s;
}

/* === IMAGE HOVER EFFECT === */
.relative img[style*="clip-path"] {
    transition: clip-path 0.4s ease, transform 0.4s ease;
}

.relative:hover img[style*="clip-path"] {
    transform: scale(1.02);
}

/* === BUTTON HOVER EFFECTS === */
a[style*="clip-path"],
button[style*="clip-path"] {
    transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1), box-shadow 0.3s ease !important;
}

a[style*="clip-path"]:hover,
button[style*="clip-path"]:hover {
    transform: scale(1.05) !important;
}

/* === DECORATIVE LINE ANIMATION === */
[class*="w-20"][class*="h-1"] {
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

section:hover [class*="w-20"][class*="h-1"] {
    width: 6rem;
}
