/* ===== CUSTOM STYLES ===== */

/* Geometric shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(212, 160, 23, 0.08);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-2 {
    top: 40%;
    right: 15%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(212, 160, 23, 0.06);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-triangle {
    bottom: 20%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(212, 160, 23, 0.04);
    animation: float 18s ease-in-out infinite;
}

.shape-square {
    top: 60%;
    left: 15%;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(212, 160, 23, 0.06);
    transform: rotate(45deg);
    animation: float 12s ease-in-out infinite reverse;
}

.shape-ring {
    top: 25%;
    left: 40%;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(212, 160, 23, 0.05);
    border-radius: 50%;
    animation: float 22s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(10px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(1deg); }
}

/* Condition cards */
.condition-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.condition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Approach steps */
.approach-step {
    position: relative;
}

.approach-step::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.5), transparent);
    transition: width 0.4s ease;
}

.approach-step:hover::after {
    width: 80%;
}

/* FAQ */
.faq-item {
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(212, 160, 23, 0.2);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-btn[aria-expanded="true"] + .faq-content {
    max-height: 200px;
}

/* Navbar */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-scrolled .navbar-logo-text {
    color: white;
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.menu-line:nth-child(3) {
    transition: width 0.3s ease, transform 0.3s ease;
}

.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: white;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .shape-circle-1,
    .shape-circle-2,
    .shape-triangle,
    .shape-square,
    .shape-ring {
        animation: none;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
    
    .condition-card:hover {
        transform: none;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 160, 23, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 160, 23, 0.5);
}
