/* ============================================================
   HOLDARIO — style.css
   Custom styles on top of Tailwind CDN
   ============================================================ */

/* Custom font */
@font-face {
    font-family: 'CameraPlainVariable';
    src: url('https://cdn.gpteng.co/mcp-widgets/v1/fonts/CameraPlainVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ── Shimmer animation (for hero heading gradient) ── */
@keyframes shimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ── AI core logo pulse ── */
@keyframes logo-pulse {
    0%, 100% { transform: rotate(0deg); }
    50%       { transform: rotate(-45deg); }
}

.logo-pulse {
    animation: logo-pulse 6s ease-in-out infinite;
}

/* ── Orbit ring animations (hero AI orb) ── */
@keyframes orbit-cw {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes orbit-ccw {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

.orbit-outer {
    animation: orbit-cw 10s linear infinite;
}
.orbit-inner {
    animation: orbit-ccw 7s linear infinite;
}

/* ── Background orbit rings (contact page) ── */
.bg-ring-outer { animation: orbit-cw 22s linear infinite; }
.bg-ring-mid   { animation: orbit-ccw 16s linear infinite; }
.bg-ring-inner { animation: orbit-cw 11s linear infinite; }

/* ── Scroll-triggered fade animations ── */
.js-anim {
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-anim.visible {
    opacity: 1 !important;
    transform: none !important;
}

/* ── FAQ accordion ── */
.faq-item {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.faq-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
.faq-item.faq-open .faq-content {
    max-height: 600px;
    opacity: 1;
}
.faq-item.faq-open {
    border-color: rgba(16, 185, 129, 0.5) !important;
    background: linear-gradient(to bottom right, rgba(16,185,129,0.08), rgba(255,255,255,0.02)) !important;
    box-shadow: 0 20px 60px -20px rgba(16, 185, 129, 0.35);
}
.faq-item.faq-open .faq-icon {
    background: rgb(16 185 129);
    color: #05080a;
    border-color: rgb(16 185 129);
}
.faq-item.faq-open .faq-num {
    color: rgb(16 185 129);
}

/* ── Review cards ── */
.review-card {
    transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.review-card:hover {
    border-color: rgba(16, 185, 129, 0.5) !important;
    background: rgba(10, 18, 16, 0.9) !important;
    box-shadow: 0 20px 60px -20px rgba(16, 185, 129, 0.5);
}
.iti__country-name {
    color: black;
}

/* ── Modals ── */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    overflow-y: auto;
    padding: 40px 16px;
    backdrop-filter: blur(6px);
}
.modal-content {
    max-width: 720px;
    margin: 0 auto;
    background: #0d1117;
    color: #d4d4d8;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    font-family: inherit;
    line-height: 1.7;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.04);
}
.modal-content h2 {
    margin-top: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    padding-right: 2rem;
}
.modal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(16 185 129);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.modal-content h4 {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}
.modal-content p {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #a1a1aa;
}
.modal-content ul {
    margin-top: 0.5rem;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    color: #a1a1aa;
}
.modal-content ul li {
    margin-bottom: 0.25rem;
}
.modal-content strong {
    color: #e4e4e7;
}
.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #71717a;
    font-size: 1.25rem;
    line-height: 1;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.modal-close:hover {
    background: rgba(16,185,129,0.12);
    color: rgb(16 185 129);
    border-color: rgba(16,185,129,0.4);
}
.modal-button {
    margin-top: 1.75rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(to right, rgb(16 185 129), #34d399);
    color: #05080a;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    letter-spacing: 0.02em;
}
.modal-button:hover {
    opacity: 0.88;
}