/* Fonts */
@font-face {
    font-family: 'Mazzard M';
    src: url('fonts/MazzardM-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Mazzard M';
    src: url('fonts/MazzardM-Regular.woff2') format('woff2');
    /* Forced Regular */
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Mazzard M';
    src: url('fonts/MazzardM-Regular.woff2') format('woff2');
    /* Forced Regular */
    font-weight: 700;
    font-style: normal;
}

:root {
    --primary-color: rgb(53, 59, 255);
    /* User requested Blue */
    --primary-hover: rgb(40, 45, 210);
    /* Slightly darker for hover */
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --card-bg: #f8fafc;
    --border-color: #e2e8f0;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Mazzard M', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background-color: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    animation: slideDown 0.8s ease-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-star {
    font-size: 1em;
    color: var(--primary-color);
    display: inline-block;
    margin-left: 4px;
    animation: logoSpin 6s linear infinite;
    transform-origin: center;
}

img.logo-star {
    width: 0.3em;
    height: 0.3em;
    vertical-align: top;
    position: relative;
    top: -0.2em;
    /* Apostrophe-like positioning */
}

img.team-star {
    width: 0.8em;
    height: 0.8em;
    vertical-align: middle;
    position: relative;
    top: -0.1em;
    /* Visual center adjustment */
    margin-right: 0.3rem;
    margin-right: 0.3rem;
    animation: logoSpin 6s linear infinite;
    /* Explicit animation inheritance */
}

.nav-links {
    display: flex;
    flex-direction: row;
    gap: 3.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links i {
    display: none;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    /* No underline */
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(53, 59, 255, 0.23);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    background-color: var(--primary-color);
    color: white;
}

.btn-sm:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2.5rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    padding: 4rem 0 1rem;
    /* Removed flex/justify-center to allow standard container behavior (block flow) */
}

.hero-container {
    background-color: transparent;
    padding: 3rem 0;
    /* Remove horizontal padding since it's now transparent */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* overflow: hidden;  <-- Removed to allow floating elements if needed, but safer to keep if animations stay inside */
    overflow: visible;
    width: 100%;
    min-height: 300px;
}

/* Subtle background pattern for hero */
/* Hero Background Grid (Dynamic) */
.hero-bg-grid {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 90%;
    z-index: -1;
    overflow: visible;
    pointer-events: none;
    border-radius: 20px;
}

.bg-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transform: translate(-50%, -50%);
    /* Fix: Center item on grid point */
}

.bg-dot {
    width: 6px;
    height: 6px;
    background-color: #cbd5e1;
    /* Gray-300 */
    border-radius: 50%;
    animation: pulse-dot 6s ease-in-out infinite;
}

.bg-star {
    font-size: 1rem;
    opacity: 0;
    animation: pulse-star 5s ease-in-out infinite;
    color: #94a3b8;
    /* Slightly darker gray for stars */
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(0.2);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes pulse-star {

    0%,
    100% {
        transform: scale(0.2);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.hero-content {
    max-width: 50%;
    /* Strictly limit text to the left half */
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    /* Optional: Staggered animate H1 too for nice effect */
    animation: slideUp 0.8s ease-out forwards;
}

.hero-content p {
    margin-top: 1.5rem;
    color: var(--text-muted);
    opacity: 0;
    /* Start hidden */
    animation: slideUp 0.8s ease-out 0.3s forwards;
    /* Delay 0.3s */
}

.hero-content .btn {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.6s forwards;
    /* Delay 0.6s */
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 54%;
    /* Constrain badges to right 45% */
    height: 85%;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 4rem;
}

.decorative-star {
    position: absolute;
    left: -50px;
    top: 100px;
    width: 150px;
    height: 150px;
    opacity: 0.8;
    z-index: -1;
    animation: spin 20s linear infinite;
}

.decorative-star svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
}

@keyframes logoSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.features {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--card-bg);
    /* Animated dots handled by JS */
    position: relative;

    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

/* Decoration Star */
.card-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    color: #1e293b;
    opacity: 1;
    transition: var(--transition);
    z-index: 0;
}

.card-decoration svg {
    width: 100%;
    height: 100%;
}

.feature-card:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover .card-decoration {
    color: white;
    transform: scale(1.1) rotate(15deg);
}

.icon-wrapper {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 1rem;
    z-index: 1;
    transition: var(--transition);
    display: none;
}

.feature-card .icon-wrapper {
    display: block;
    margin-bottom: 1rem;
}

.feature-card:hover .icon-wrapper {
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    z-index: 1;
    transition: var(--transition);
}

.feature-card:hover h3 {
    color: white;
}

/* Collapsible Card Details */
.card-details {
    display: none;
    margin-top: 1rem;
    animation: fadeIn 0.3s ease;
}

.feature-card.expanded .card-details {
    display: block;
}

.expand-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    z-index: 2;
    position: relative;
    text-decoration: none;
    /* No underline ever */
}

/* ... existing styles ... */

.feature-card .btn {
    margin-top: auto;
    z-index: 1;
    background-color: var(--primary-color);
    color: white;
    border: 1px solid transparent;
    text-decoration: none;
    /* No underline ever */
}

.feature-card:hover .btn {
    background-color: white;
    color: var(--primary-color);
}

.feature-card:hover::before {
    opacity: 0;
}

/* Dynamic Hover Dots */
.hover-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}



/* Dots Animation */
.feature-card:hover .hover-dots {
    opacity: 1;
}

.dot-cell {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot {
    width: 2px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    opacity: 0.4;
}

.feature-card:hover .dot {
    animation: breathe infinite ease-in-out;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(3);
        opacity: 0.9;
    }
}

/* Background dots pattern for static state */
.feature-card:hover .hover-dots {
    opacity: 1;
}

.dot-cell {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot {
    width: 2px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    opacity: 0.4;
}

.feature-card:hover .dot {
    animation: breathe infinite ease-in-out;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(3);
        opacity: 0.9;
    }
}

/* Background dots pattern for static state */
/* Background dots pattern removed as requested */
.feature-card::before {
    display: none !important;
}

.feature-card .hover-dots {
    display: none !important;
}

/* Explicit exclusion removed since globally hidden */
.feature-card.devhub-card::before,
.feature-card.devhub-card .hover-dots {
    display: none !important;
}

.features-cta {
    text-align: center;
}

/* Footer */
.footer {
    padding: 3rem 0;
    margin-top: 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-hover);
    transform: scale(1.1);
}

/* DevHub Specific Styles */
.grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

.text-primary {
    color: var(--primary-color);
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.code-visual {
    background: #1e293b;
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    font-family: 'Fira Code', monospace;
    position: relative;
    overflow: hidden;
}

.code-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red {
    background: #ef4444;
}

.code-dot.yellow {
    background: #eab308;
}

.code-dot.green {
    background: #22c55e;
}

.code-visual pre {
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.keyword {
    color: #c084fc;
}

.var {
    color: #60a5fa;
}

.func {
    color: #38bdf8;
}

.string {
    color: #4ade80;
}

.prop {
    color: #94a3b8;
}

.section-header {
    margin-bottom: 3rem;
    text-align: left;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
}

.cta-section {
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    padding: 4rem;
    border-radius: var(--radius-xl);
    border: 1px solid #dbeafe;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta-content p {
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Validators Page Styles */
.shield-visual {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon {
    font-size: 5rem;
    color: var(--primary-color);
    z-index: 10;
    animation: pulse 3s infinite ease-in-out;
}

.shield-ring {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: ripple 3s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.ring-2 {
    width: 100%;
    height: 100%;
    animation-delay: 1s;
}

.ring-3 {
    width: 100%;
    height: 100%;
    animation-delay: 2s;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.specs-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.spec-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.spec-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.spec-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.spec-card p {
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 768px) {
    .specs-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .specs-container {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-container {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr !important;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Team Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: #1e293b;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.member-info h3 i {
    color: var(--primary-color);
    font-size: 0.8em;
}

.member-info p {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Controls */
.carousel-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    transform: scale(1.1);
    background-color: #f8fafc;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .dot.active,
.carousel-dots .dot:hover {
    background-color: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        margin: 10% auto;
    }

    .team-carousel-container {
        flex-direction: column;
    }

    .carousel-btn {
        display: none;
        /* Hide arrows on mobile, rely on swipe */
    }
}

/* Portfolio Page Styles */
.portfolio-header {
    text-align: center;
    padding: 4rem 0;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-content {
    padding-bottom: 4rem;
}

.portfolio-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 3rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.portfolio-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-left {
    flex: 1;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .dot.active,
.carousel-dots .dot:hover {
    background-color: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        margin: 10% auto;
    }

    .team-carousel-container {
        flex-direction: column;
    }

    .carousel-btn {
        display: none;
        /* Hide arrows on mobile, rely on swipe */
    }
}

/* Portfolio Page Styles */
.portfolio-header {
    text-align: center;
    padding: 4rem 0;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-content {
    padding-bottom: 4rem;
}

.portfolio-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 3rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.portfolio-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-left {
    flex: 1;
    max-width: 40%;
}

.token-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.token-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.token-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-header h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
}

.token-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.token-desc a {
    color: var(--text-muted);
    text-decoration: underline;
}

.card-right {
    flex: 1.5;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    flex: 1.5;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.highlight-blue {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .portfolio-card {
        flex-direction: column;
        gap: 2rem;
    }

    .card-left {
        max-width: 100%;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .dot.active,
.carousel-dots .dot:hover {
    background-color: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        margin: 10% auto;
    }

    .team-carousel-container {
        flex-direction: column;
    }

    .carousel-btn {
        display: none;
        /* Hide arrows on mobile, rely on swipe */
    }
}

/* Portfolio Page Styles */
.portfolio-header {
    text-align: center;
    padding: 4rem 0;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-content {
    padding-bottom: 4rem;
}

.portfolio-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 3rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.portfolio-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-left {
    flex: 1;
    max-width: 40%;
}

.token-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.token-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.token-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-header h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
}

.token-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.token-desc a {
    color: var(--text-muted);
    text-decoration: underline;
}

.card-right {
    flex: 1.5;
}

/* Dots Animation */
.dot {
    fill: #E3E7F1 !important;
}

@keyframes spin {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Static Hero Badges */
.visual-badge {
    position: absolute;
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    z-index: 10;
    opacity: 0;
    position: absolute;
    /* Added for JS positioning */
    pointer-events: none;
    /* User can click through */
    transition: opacity 1s ease, transform 1s ease;
}

.visual-badge i {
    color: var(--primary-color);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Refined Design Verification Overrides */
.feature-card,
.portfolio-card {
    border-radius: 34px !important;
    border: 1px solid rgba(226, 232, 240, 0.6) !important;
    /* background: #ffffff !important; Removed to allow pattern */
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
}

.feature-card:hover,
.portfolio-card:hover {
    /* background: #ffffff !important; Removed to allow pattern */
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.1) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01) !important;
}

/* Ensure text remains dark on hover since background stays white */
.feature-card:hover h3,
.feature-card:hover p,
.feature-card:hover i,
.portfolio-card:hover h3,
.portfolio-card:hover p,
.portfolio-card:hover span {
    color: inherit !important;
}

/* But specific colored elements should keep/change color */
.feature-card:hover h3 {
    color: var(--text-dark) !important;
}

.feature-card:hover .icon-wrapper i {
    color: var(--primary-color) !important;
}

/* Card Decoration SVG Styling with Animation */
.card-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    opacity: 1;
    z-index: 0;
    color: var(--text-dark);
}

.card-decoration svg {
    width: 100%;
    height: 100%;
    fill: none;
    overflow: visible;
    /* Allow stroke to exceed bounds slightly */
}

.card-decoration svg path,
.card-decoration svg line {
    stroke: #000000;
    /* Deep black as requested */
    stroke-width: 3px;
    /* Thinner lines */
    stroke-linecap: square;
    /* sharp ends */
    stroke-linejoin: round;
    stroke-dasharray: 600;
    /* Increased length to cover all shapes */
    stroke-dashoffset: 600;
    opacity: 0;
    /* Initially hidden */
    transition: opacity 0.5s ease;
}

/* Triggered Animation Class */
.card-decoration.in-view svg path,
.card-decoration.in-view svg line {
    animation: drawLines 2.5s ease-out forwards;
}

@keyframes drawLines {
    0% {
        stroke-dashoffset: 600;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 1;
        /* Key: Stays visible */
    }
}

/* Global Font Enforcement */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
button,
input,
div,
li,
label {
    font-family: 'Mazzard M', sans-serif !important;
    font-weight: 400 !important;
    /* Force non-bold */
}

/* Specific Header Adjustment "Directions: projects" */
.section-header h2 {
    font-size: 3rem !important;
    font-weight: 500;
    color: #000;
}

/* Header Update */
.navbar {
    background-color: #fff !important;
    border-bottom: 1px solid var(--border-color);
}

/* Fix Expand Button Visibility */
.expand-btn {
    background: none;
    border: none;
    color: var(--text-dark) !important;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 1rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    z-index: 5;
    position: relative;
    opacity: 1 !important;
}

.expand-btn i {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

.expand-btn:hover {
    text-decoration: none;
    opacity: 0.8 !important;
}

.feature-card:hover .expand-btn {
    opacity: 1 !important;
    color: #ffffff !important;
    visibility: visible !important;
}

.feature-card:hover .expand-btn i {
    color: #ffffff !important;
}

/* Hide card details by default only if they have the toggler */
.card-details {
    display: none;
    margin-top: 1rem;
    animation: fadeIn 0.3s ease;
}

.card-details.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Us */
.about-us {
    padding: 0 0 4rem;
    position: relative;
    overflow: hidden;
}

.about-card {
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    min-height: 320px;
    align-items: center;
}

.about-visual {
    flex: 0 0 40%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.big-asterisk-img {
    width: 100%;
    height: auto;
    max-width: 380px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(59, 90, 255, 0.25));
    transform-origin: center center;
    will-change: transform;
}

.about-content {
    flex: 1;
    padding: 3rem 4rem 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 1rem;
}

.about-footer {
    margin-top: 1.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .about-card {
        flex-direction: column;
    }

    .about-visual {
        padding: 2rem 1rem;
        min-height: 250px;
    }

    .about-content {
        padding: 2rem;
    }
}


/* Team Section */
.team-section {
    padding: 0 0 1rem;
    position: relative;
    background: var(--primary-color);
    color: #fff;
    overflow: hidden;
}

.team-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 500;
}

.team-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    margin: 0 5%;
    overflow: hidden;
    /* Container clips the track */
}

.team-carousel {
    display: flex;
    overflow: visible;
    /* Content flows out */
    gap: 2rem;
    /* Spacing between cards */
    padding: 1rem 0;
    scroll-behavior: auto;
    scrollbar-width: none;
    width: max-content;
    /* Allow track to grow */
    cursor: grab;
}

.team-carousel:active {
    cursor: grabbing;
}

/* Ensure controls are centered */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    position: relative;
    z-index: 100;
}

.team-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.team-card {
    min-width: 280px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    color: var(--text-dark);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 100%;
    height: 300px;
    background: #f1f5f9;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.member-info h3 i {
    color: var(--primary-color);
    font-size: 0.8em;
}

.member-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.carousel-btn {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid #e2e8f0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 100;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0;
    /* Removed margin as it is in controls */
}

.carousel-dots .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    width: 24px;
    /** extended dot */
    border-radius: 4px;
    background: #fff;
}

@media (max-width: 768px) {
    .team-carousel-container {
        width: 100%;
        overflow: hidden;
        /* Container clips the track */
        position: relative;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Footer / Contact Section */
/* Footer / Contact Section */
/* Footer / Contact Section */
.footer {
    background-color: #fff;
    padding: 2rem 0;
    margin-top: 0;
    border-top: none;
    color: var(--text-dark);
}

.contact-card {
    background: #f8fafc;
    border-radius: 30px;
    padding: 3rem;
    color: var(--text-dark);
    max-width: 1200px;
    margin: 2rem auto;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

/* New Grid Layout */
/* New Grid Layout */
.footer-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr 0.8fr;
    /* Wide Form (1.6fr), Narrow Company (0.8fr) */
    gap: 4rem;
    /* More space */
    align-items: start;
}

/* Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 300px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    /* Increased size */
    line-height: 1.6;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    font-size: 1.4rem;
    color: var(--text-muted);
    /* Gray icons */
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
}

/* Link Columns */
.footer-link-col h4 {
    font-size: 1.3rem;
    /* Increased headers */
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.footer-link-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-col li {
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: flex-end;
    /* Align items to right */
}

.footer-link-col {
    justify-self: end;
    /* Push entire column to right edge */
    text-align: right;
    width: 100%;
}

.footer-link-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.15rem;
    /* Increased links */
    transition: color 0.3s ease;
}

.footer-link-col a:hover {
    color: var(--primary-color);
}

/* Contact Form Column - Visual Block */
.contact-form-block {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.contact-form-block h4 {
    font-size: 1.8rem;
    /* Larger "Contact us" */
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-form-simple {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-input {
    width: 80%;
    /* Reduced width by 20% */
    padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    /* Restored spacious padding */
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.1rem;
    /* Larger input text */
    color: var(--text-dark);
    transition: all 0.3s ease;
}

textarea.form-input {
    min-height: 150px;
    /* Restored original height */
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.textarea-icon {
    top: 1.2rem;
    /* Align icon to top for textarea */
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .footer-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 2rem;
    }

    .footer-form-col,
    .footer-brand-col {
        grid-column: span 2;
        /* Full width on tablet */
        max-width: 600px;
    }
}

@media (max-width: 640px) {
    .footer-content-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .footer-brand-col,
    .footer-form-col {
        width: 100%;
        max-width: 100%;
    }
}

/* Modal */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1200px;
    /* Wide for carousel */
    border-radius: 24px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.close-modal {
    color: var(--text-muted);
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
}

/* Scroll Offset for Sticky Navbar overlap fix */
html {
    scroll-padding-top: 80px;
}

#about,
#projects,
#team,
#contact {
    scroll-margin-top: 80px;
}

/* DevHub Updates */
.grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.project-links {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
}

/* Fix properties for clickable buttons */
.project-links .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    z-index: 50;
    /* Super high z-index */
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Hide dots for project cards as requested */
.project-card .hover-dots {
    display: none !important;
}

.project-card:hover .hover-dots {
    display: none !important;
    opacity: 0 !important;
}

/* Force buttons to stay blue when card is hovered */
.feature-card:hover .project-links .btn {
    background-color: var(--primary-color);
    color: white;
    box-shadow: none;
}

/* Normal hover for the button itself */
.feature-card:hover .project-links .btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr !important;
    }
}

/* NFT Gallery Layout */
.nft-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.nft-gallery img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* Feature Card SVGs - Thinner Lines & Animation */
.anim-svg path,
.anim-svg line,
.anim-svg polyline,
.anim-svg rect,
.anim-svg g {
    stroke-width: 0.8px;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
    /* Ensure visibility by default */
    stroke-dasharray: 400;
    stroke-dashoffset: 0;
    /* Animate from hidden - fill-mode: both ensures it stays hidden during delay */
    animation: drawStroke 1.6s ease-out both;
}

/* Force icons to turn white on hover */
.feature-card:hover .anim-svg {
    color: white !important;
    stroke: white !important;
}

/* Staggered Delays - Forced (20% Faster) */
/* Use nth-of-type to target specific shape siblings regardless of other elements */
.anim-svg path:nth-of-type(1),
.anim-svg line:nth-of-type(1) {
    animation-delay: 0s !important;
}

.anim-svg path:nth-of-type(2),
.anim-svg line:nth-of-type(2) {
    animation-delay: 0.4s !important;
}

.anim-svg path:nth-of-type(3),
.anim-svg line:nth-of-type(3) {
    animation-delay: 0.8s !important;
}

.anim-svg path:nth-of-type(4),
.anim-svg line:nth-of-type(4) {
    animation-delay: 1.2s !important;
}

.anim-svg path:nth-of-type(5),
.anim-svg line:nth-of-type(5) {
    animation-delay: 1.6s !important;
}

.anim-svg path:nth-of-type(6),
.anim-svg line:nth-of-type(6) {
    animation-delay: 2.0s !important;
}

.anim-svg path:nth-of-type(7),
.anim-svg line:nth-of-type(7) {
    animation-delay: 2.4s !important;
}

.anim-svg path:nth-of-type(8),
.anim-svg line:nth-of-type(8) {
    animation-delay: 2.8s !important;
}

/* Hide explicit dots (circles) which look bad with thin lines */
.anim-svg circle {
    display: none !important;
}

@keyframes drawStroke {
    from {
        stroke-dashoffset: 400;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* NUCLEAR OPTION: Force everything WHITE on hover */
.feature-card:hover h3,
.feature-card:hover p,
.feature-card:hover strong,
.feature-card:hover span,
.feature-card:hover div,
.feature-card:hover .card-details,
.feature-card:hover .expand-btn,
.feature-card:hover .btn,
.feature-card:hover button,
.feature-card:hover a {
    color: white !important;
    border-color: white !important;
    /* For outlined buttons if any */
}

/* Force SVGs to white */
.feature-card:hover .anim-svg,
.feature-card:hover .anim-svg * {
    stroke: white !important;
    color: white !important;
    fill: none !important;
    /* Ensure no accidental fills block the background */
}

/* FIX: Ensure Buttons have BLUE text on white background when hovered */
.feature-card:hover .btn,
.feature-card:hover .expand-btn,
.feature-card:hover button {
    background-color: white !important;
    color: var(--primary-color) !important;
    /* Blue text */
    text-decoration: none !important;
    /* No underline */
    border-color: white !important;
}

/* Align Footer "C4" with "Contact us" and "Company" */
.footer-brand-col,
.footer-form-col,
.footer-link-col {
    padding-top: 1.5rem;
}

/* Reset headings to ensure alignment starts from top */
.footer-brand-col .footer-logo,
.footer-form-col h4,
.footer-link-col h4 {
    margin-top: 0 !important;
    font-size: 1.8rem !important;
    /* Unified font size */
    font-weight: 600 !important;
    /* Unified font weight */
    /* Unified font weight */
}

/* Footer Logo Alignment Fix */
.footer-brand-col .footer-logo {
    display: inline-flex !important;
    align-items: flex-start !important;
    /* Align top */
    gap: 0;
    line-height: 1;
    /* Match header height */
}

/* Footer Asterisk Refinement */
.footer-logo .logo-star {
    margin-left: 0.15rem;
    /* Tiny gap */
    animation: logoSpin 6s linear infinite;
    /* Ensure spin */
    width: 0.35em !important;
    height: 0.35em !important;
    position: relative;
    top: -0.1em;
    /* Superscript lift */
    display: inline-block;
    /* Ensure dimensions apply */
}
/* Feature Card Expansion Logic (Restored) */
.card-content-visible {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card.expanded .card-content-visible {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
