/* --- TYPOGRAPHY --- */
@font-face {
    font-family: "narofont";
    src: url("./font/narofont.ttf") format("truetype");
    font-display: swap;
}
* {
    font-family: "narofont";
    transition-property:
        color, background-color, border-color, transform, opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.3s;
}

/* --- THEME VARIABLE SYSTEM --- */
:root {
    /* Brand Core */
    --brand-blue: #0067ff;
    --brand-hover: #0052cc;

    /* Light Theme (Snowwhite/naro Light) */
    --bg-body: #fffafa; /* Snowwhite */
    --bg-surface: #ffffff;
    --bg-subtle: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-tertiary: #9ca3af;
    --border-light: #e5e7eb;
    --border-hover: #0067ff;
    --shadow-card:
        0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-hover:
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

    /* Animation Timings */
    --enter-duration: 0.5s;
    --exit-duration: 0.3s;
    --stagger-delay: 0.05s;
}

/* Dark Theme (Jetblack) */
.dark {
    --bg-body: #000000; /* Jetblack */
    --bg-surface: #0a0a0a;
    --bg-subtle: #121212;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #6b7280;
    --border-light: #27272a;
    --border-hover: #0067ff;
    --shadow-card: none;
    --shadow-hover: 0 0 0 1px #0067ff; /* Glow effect border instead of shadow */
}

/* --- GLOBAL STYLES --- */
body {
    font-family: "narofont";
    background-color: var(--bg-body);
    color: var(--text-primary);
    transition:
        background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.015em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 1;
    animation: bodyFadeIn 0.8s ease-out;
    font-size: 16px; /* Base font size increased */
}

@keyframes bodyFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.custom-font {
    font-family: "narofont";
}

/* --- COMPONENT: naro CARD (Enterprise Sharp) --- */
.naro-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    border-radius: 2px; /* Extremely sharp enterprise look */
    transition: all 0.2s ease-in-out;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    animation: cardEnter var(--enter-duration) ease-out;
}

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

.naro-card.exit {
    animation: cardExit var(--exit-duration) ease-in forwards;
}

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

.naro-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.naro-card h3 {
    color: var(--text-primary);
    animation: fadeInUp 0.6s ease-out 0.1s both;
    font-size: 1.4rem; /* Increased from ~1.25rem */
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.naro-card p {
    color: var(--text-secondary);
    animation: fadeInUp 0.6s ease-out 0.2s both;
    font-size: 0.95rem; /* Increased from ~0.875rem */
    line-height: 1.6;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- COMPONENT: BUTTONS --- */
.btn-primary {
    background-color: var(--brand-blue);
    color: white;
    padding: 0.875rem 2rem; /* Increased padding */
    border-radius: 2px;
    font-weight: 600;
    font-size: 1rem; /* Increased font size */
    transition:
        background-color 0.2s,
        transform 0.2s,
        opacity 0.2s;
    border: 1px solid transparent;
    opacity: 1;
    transform: scale(1);
    animation: buttonEnter 0.4s ease-out;
    min-height: 48px; /* Minimum touch target size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@keyframes buttonEnter {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-primary.exit {
    animation: buttonExit 0.3s ease-in forwards;
}

@keyframes buttonExit {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.btn-primary:hover {
    background-color: var(--brand-hover);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    padding: 0.875rem 2rem; /* Increased padding */
    border-radius: 2px;
    font-weight: 600;
    font-size: 1rem; /* Increased font size */
    transition:
        background-color 0.2s,
        transform 0.2s,
        opacity 0.2s;
    animation: buttonEnter 0.4s ease-out 0.1s both;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background-color: rgba(0, 103, 255, 0.08);
    transform: translateY(-1px);
}

/* --- COMPONENT: NAVIGATION --- */
.desktop-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    animation: slideDown 0.5s ease-out;
}

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

.dark .desktop-header {
    background-color: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid var(--border-light);
}

.nav-link {
    color: var(--text-secondary);
    font-size: 1rem; /* Increased from 0.9rem */
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    animation: navLinkEnter 0.4s ease-out;
}

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

.nav-link:hover {
    color: var(--brand-blue);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-blue);
    transition: width 0.3s ease;
}

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

.mobile-nav {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    z-index: 1000;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- SECTION TRANSITIONS --- */
section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1;
    animation: sectionEnter 0.6s ease-out;
}

@keyframes sectionEnter {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section.exit {
    animation: sectionExit 0.4s ease-in forwards;
}

@keyframes sectionExit {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* --- HERO SECTION --- */
#home {
    animation: heroEnter 0.8s ease-out;
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#home h1 {
    animation: titleEnter 0.8s ease-out 0.2s both;
    font-size: 3.5rem; /* Increased from 3rem */
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

#home p {
    animation: subtitleEnter 0.8s ease-out 0.4s both;
    font-size: 1.25rem; /* Increased from 1.125rem */
    line-height: 1.7;
    margin-bottom: 2rem;
}

@keyframes subtitleEnter {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- PRODUCTS SECTION --- */
#products h2 {
    font-size: 2.5rem; /* Increased from 2.25rem */
    margin-bottom: 1rem;
}

#products .text-lg {
    font-size: 1.125rem;
}

/* --- BRAND SECTION --- */
#brand h2 {
    font-size: 2.25rem; /* Increased from 2rem */
    margin-bottom: 2rem;
}

#brand p {
    font-size: 1.05rem; /* Increased base font size */
    line-height: 1.7;
}

/* --- DEVELOPMENT SECTION --- */
#development h2 {
    font-size: 2.25rem; /* Increased from 1.875rem */
    margin-bottom: 2.5rem;
}

#development h3 {
    font-size: 1.3rem; /* Increased from 1.125rem */
    margin-bottom: 1rem;
}

/* --- CONTACT SECTION --- */
#contact h2 {
    font-size: 2.5rem; /* Increased from 2.25rem */
    margin-bottom: 1rem;
}

#contact h3 {
    font-size: 1.2rem; /* Increased from 1.125rem */
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* --- FAQ SECTION FIXES --- */
#contact .naro-card {
    margin-bottom: 0.75rem;
}

.faq-btn {
    padding: 1.25rem 1.5rem; /* Increased padding */
    font-size: 1.05rem; /* Increased font size */
    font-weight: 600;
    transition: all 0.2s ease;
}

.faq-btn:hover {
    background-color: transparent !important; /* Remove hover background */
    color: var(--brand-blue) !important;
}

.faq-content {
    font-size: 1rem; /* Increased from 0.875rem */
    line-height: 1.6;
    padding: 1.25rem 1.5rem;
}

/* --- UTILITIES --- */
.text-subtle {
    color: var(--text-tertiary);
    animation: fadeIn 0.6s ease-out;
    font-size: 1.05rem; /* Increased */
}
.text-main {
    color: var(--text-primary);
    animation: fadeIn 0.6s ease-out;
}
.bg-subtle-section {
    background-color: var(--bg-subtle);
    transition: background-color 0.3s ease;
}

/* --- THEME TOGGLE --- */
#themeToggle {
    animation: themeToggleEnter 0.6s ease-out 0.2s both;
    width: 44px; /* Slightly larger */
    height: 44px; /* Slightly larger */
}

@keyframes themeToggleEnter {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* --- FOOTER --- */
footer {
    animation: footerEnter 0.8s ease-out;
    font-size: 1rem; /* Increased base font size */
}

@keyframes footerEnter {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer p {
    font-size: 1rem; /* Increased from 0.875rem */
    line-height: 1.6;
}

footer .text-xs {
    font-size: 0.9rem; /* Increased from 0.75rem */
}

/* --- CARD LINKS --- */
.naro-card a {
    font-size: 0.95rem; /* Increased from 0.875rem */
    padding: 0.875rem; /* Increased padding */
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
    animation: scrollbarEnter 0.5s ease-out;
}

@keyframes scrollbarEnter {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 0;
    transition: background 0.3s ease;
}

.dark ::-webkit-scrollbar-thumb {
    background: #374151;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue);
}
/* --- RESPONSIVE MOBILE OPTIMIZATIONS --- */
@media (max-width: 768px) {
    /* Base mobile adjustments */
    body {
        font-size: 16px !important; /* Ensure minimum readable size */
        line-height: 1.5;
        overflow-x: hidden;
    }

    /* Section padding optimization */
    section {
        padding: 50px 16px !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    /* Hero section mobile optimization */
    #home {
        min-height: calc(100vh - 60px) !important;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    #home h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.25rem !important;
        padding: 0 8px !important;
    }

    #home p {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
        padding: 0 8px !important;
        max-width: 100% !important;
    }

    /* Button stack on mobile */
    #home .flex-wrap {
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
        padding: 0 16px !important;
    }

    #home .btn-primary,
    #home .btn-outline {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
    }

    /* Product cards mobile optimization */
    .naro-card {
        margin-bottom: 1rem !important;
        padding: 1.5rem !important;
        min-height: auto !important;
    }

    .naro-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
    }

    .naro-card p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        min-height: auto !important;
    }

    .naro-card a {
        font-size: 0.9rem !important;
        padding: 0.75rem !important;
        width: 100% !important;
        text-align: center !important;
    }

    /* Grid fixes for mobile */
    .grid {
        gap: 1rem !important;
    }

    /* Brand section mobile fixes */
    #brand h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }

    #brand p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }

    #brand .space-y-6 > * + * {
        margin-top: 1.5rem !important;
    }

    /* Developer profile card mobile optimization */
    #development .naro-card {
        padding: 1.25rem !important;
    }

    #development .flex.items-center.space-x-4 {
        align-items: flex-start !important;
    }

    #development .w-14.h-14 {
        width: 3.5rem !important;
        height: 3.5rem !important;
        flex-shrink: 0 !important;
    }

    #development .text-base {
        font-size: 1.1rem !important;
    }

    #development .text-xs {
        font-size: 0.8rem !important;
    }

    /* Progress bars mobile */
    .w-full.bg-gray-100.dark\\:bg-gray-700.h-1\\.5 {
        margin: 0.5rem 0 !important;
    }

    /* Tech stack tags mobile */
    .flex-wrap.gap-2 {
        gap: 0.5rem !important;
    }

    .flex-wrap.gap-2 span {
        font-size: 0.7rem !important;
        padding: 0.375rem 0.5rem !important;
    }

    /* Financial model grid mobile */
    .grid.grid-cols-1.sm\\:grid-cols-3.gap-4 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    /* Contact/FAQ section mobile optimization */
    #contact {
        padding-bottom: 80px !important; /* Extra space for bottom nav */
    }

    #contact h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }

    #contact h3 {
        font-size: 1.1rem !important;
        margin-bottom: 1.25rem !important;
    }

    /* FAQ buttons mobile */
    .faq-btn {
        padding: 1rem 1.25rem !important;
        font-size: 0.95rem !important;
        min-height: 56px !important;
        display: flex !important;
        align-items: center !important;
    }

    .faq-content {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        padding: 1rem 1.25rem !important;
    }

    /* Terms & Conditions box mobile */
    .h-\\[300px\\] {
        height: 250px !important;
        max-height: 50vh !important;
    }

    /* Footer mobile optimization */
    footer {
        padding: 2rem 1rem !important;
        margin-top: 2rem !important;
    }

    footer p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        padding: 0 8px !important;
    }

    /* Footer links mobile */
    .flex-wrap.justify-center.gap-8 {
        gap: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .flex-wrap.justify-center.gap-8 a {
        font-size: 0.95rem !important;
        padding: 0.25rem 0.5rem !important;
    }

    /* Footer bottom text mobile */
    .text-\\[10px\\] {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }

    .flex.space-x-6 span {
        font-size: 0.75rem !important;
        padding: 0.25rem 0.5rem !important;
    }

    /* Bottom navigation fixes */

    .mobile-nav a {
        min-width: 60px !important;
        padding: 0.25rem !important;
    }

    .mobile-nav i {
        font-size: 1.25rem !important;
        margin-bottom: 0.25rem !important;
    }

    .mobile-nav span {
        font-size: 0.7rem !important;
        line-height: 1 !important;
    }

    /* Theme toggle mobile */
    #themeToggle {
        width: 40px !important;
        height: 40px !important;
        top: 12px !important;
        right: 12px !important;
    }

    /* Prevent text collisions and overflow */
    * {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    span,
    a {
        word-break: break-word !important;
        hyphens: auto !important;
    }

    /* Ensure no horizontal scroll */
    .max-w-7xl,
    .max-w-5xl,
    .max-w-2xl {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Fix grid layout issues */
    .grid-cols-1,
    .md\\:grid-cols-2,
    .lg\\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }

    /* Fix flex layout issues */
    .flex {
        flex-wrap: wrap !important;
    }

    /* Specific fixes for text that was colliding */
    .text-5xl,
    .text-6xl {
        font-size: 2rem !important;
    }
    .text-4xl {
        font-size: 1.75rem !important;
    }
    .text-3xl {
        font-size: 1.5rem !important;
    }
    .text-2xl {
        font-size: 1.3rem !important;
    }
    .text-xl {
        font-size: 1.2rem !important;
    }
    .text-lg {
        font-size: 1.1rem !important;
    }
    .text-base {
        font-size: 1rem !important;
    }
    .text-sm {
        font-size: 0.95rem !important;
    }
    .text-xs {
        font-size: 0.85rem !important;
    }

    /* Fix spacing for stacked elements */
    .space-y-3 > * + * {
        margin-top: 0.75rem !important;
    }
    .space-y-4 > * + * {
        margin-top: 1rem !important;
    }
    .space-y-6 > * + * {
        margin-top: 1.5rem !important;
    }
    .space-y-8 > * + * {
        margin-top: 2rem !important;
    }

    /* Fix margin utilities */
    .mb-1 {
        margin-bottom: 0.25rem !important;
    }
    .mb-2 {
        margin-bottom: 0.5rem !important;
    }
    .mb-3 {
        margin-bottom: 0.75rem !important;
    }
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    .mb-5 {
        margin-bottom: 1.25rem !important;
    }
    .mb-6 {
        margin-bottom: 1.5rem !important;
    }
    .mb-8 {
        margin-bottom: 2rem !important;
    }
    .mb-10 {
        margin-bottom: 2.5rem !important;
    }
    .mb-12 {
        margin-bottom: 3rem !important;
    }

    /* Fix padding utilities */
    .p-2 {
        padding: 0.5rem !important;
    }
    .p-3 {
        padding: 0.75rem !important;
    }
    .p-4 {
        padding: 1rem !important;
    }
    .p-5 {
        padding: 1.25rem !important;
    }
    .p-6 {
        padding: 1.5rem !important;
    }
    .p-8 {
        padding: 2rem !important;
    }
    .logo-top-hero {
        top: -40px !important;
    }
    #home {
        margin-top: -250px !important;
    }
    /* Fix icon sizes */
    .fa-lg {
        font-size: 1.25rem !important;
    }
    .fa-xl {
        font-size: 1.5rem !important;
    }
    .fa-2xl {
        font-size: 2rem !important;
    }

    /* Fix logo sizes */
    .logo-top-header {
        width: 60px !important;
        height: auto !important;
    }

    .w-20 {
        width: 60px !important;
    }
    .w-24 {
        width: 72px !important;
    }
    .w-32 {
        width: 96px !important;
    }

    /* Fix container widths */
    .max-w-md {
        max-width: 100% !important;
    }
    .max-w-lg {
        max-width: 100% !important;
    }
    .max-w-xl {
        max-width: 100% !important;
    }

    /* Ensure proper tap targets */
    button,
    a,
    input,
    select,
    textarea {
        min-height: 44px !important;
        min-width: 44px !important;
    }

    /* Hide desktop elements on mobile */
    .desktop-header,
    .hidden.md\\:block {
        display: none !important;
    }

    /* Show mobile elements */
    .mobile-nav,
    .md\\:hidden {
        display: flex !important;
    }
}

/* --- EXTRA SMALL DEVICES (Phones < 400px) --- */
@media (max-width: 400px) {
    body {
        font-size: 15px !important;
    }

    #home h1 {
        font-size: 1.8rem !important;
    }

    #home p {
        font-size: 1rem !important;
    }

    .naro-card {
        padding: 1.25rem !important;
    }

    .mobile-nav a {
        min-width: 50px !important;
    }

    .mobile-nav i {
        font-size: 1.1rem !important;
    }

    .mobile-nav span {
        font-size: 0.65rem !important;
    }

    /* Even smaller text adjustments for very small screens */
    .text-5xl,
    .text-6xl {
        font-size: 1.8rem !important;
    }
    .text-4xl {
        font-size: 1.6rem !important;
    }
    .text-3xl {
        font-size: 1.4rem !important;
    }
    .text-2xl {
        font-size: 1.2rem !important;
    }
    .text-xl {
        font-size: 1.1rem !important;
    }
}

/* --- TABLET OPTIMIZATIONS (768px - 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
    body {
        font-size: 16px !important;
    }

    section {
        padding: 60px 24px !important;
    }

    #home h1 {
        font-size: 2.8rem !important;
    }

    #home p {
        font-size: 1.15rem !important;
    }

    .naro-card {
        padding: 1.75rem !important;
    }

    .grid-cols-2,
    .md\\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .lg\\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Fix overlapping on tablet */
    .flex.items-center.space-x-4 {
        flex-wrap: wrap !important;
    }
}

@keyframes logoSpin {
    from {
        opacity: 0;
        transform: rotate(-90deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* --- STAGGERED ANIMATIONS FOR GRID ITEMS --- */
.naro-card:nth-child(1) {
    animation-delay: 0.1s;
}
.naro-card:nth-child(2) {
    animation-delay: 0.2s;
}
.naro-card:nth-child(3) {
    animation-delay: 0.3s;
}
.naro-card:nth-child(4) {
    animation-delay: 0.4s;
}
.naro-card:nth-child(5) {
    animation-delay: 0.5s;
}
.naro-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* --- FAQ ANIMATIONS --- */
.faq-content {
    animation: faqExpand 0.3s ease-out;
}

@keyframes faqExpand {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.faq-content.hidden {
    animation: faqCollapse 0.3s ease-in;
    max-height: 0;
    overflow: hidden;
}

@keyframes faqCollapse {
    from {
        opacity: 1;
        max-height: 500px;
    }
    to {
        opacity: 0;
        max-height: 0;
    }
}

/* --- EXIT ANIMATION CLASSES --- */
.exit-animation {
    animation: fadeOutExit 0.3s ease-in forwards !important;
}

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

/* --- VISUAL CLEANUP --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p,
li,
span {
    letter-spacing: -0.01em;
    line-height: 1.6;
}

/* --- SPACING IMPROVEMENTS --- */
.mb-2 {
    margin-bottom: 0.75rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-6 {
    margin-bottom: 2rem !important;
}
.mb-8 {
    margin-bottom: 2.5rem !important;
}
.mb-10 {
    margin-bottom: 3rem !important;
}
.mb-12 {
    margin-bottom: 3.5rem !important;
}

.mt-2 {
    margin-top: 0.75rem !important;
}
.mt-4 {
    margin-top: 1.5rem !important;
}
.mt-6 {
    margin-top: 2rem !important;
}
.mt-8 {
    margin-top: 2.5rem !important;
}
.mt-10 {
    margin-top: 3rem !important;
}
.logo-top-hero {
    justify-content: center;
    width: 350px;
    margin-top: 300px;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
    top: 100px;
}
