:root {
    --primary-purple: #7626C4;
    --primary-green: #00D18C;
    --primary-green-rgb: 0, 209, 140;
    --secondary-blue: #007BFF;
    --background-dark: #0D0F19;
    --background-light: #1A1E2B;
    --text-light: #FFFFFF;
    --text-muted: #B0B3B8;
    --font-family: 'Inter', sans-serif;
    --global-spacing: 1.5rem;
    --container-width: 1200px;
    --type-ratio: 1.2;
    --h1: 2.88rem;
    --h2: 2.4rem;
    --h3: 2rem;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-dark);
    color: var(--text-light);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    font-size: 1rem;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--global-spacing);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    min-height: 100%;
    perspective: 1px;
    transform-style: preserve-3d;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 80px; /* Height of navbar + some padding */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 25% 25%, var(--primary-purple) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 50%, var(--primary-green) 0%, transparent 100%),
        radial-gradient(2px 2px at 75% 75%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(2px 2px at 100% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    background-size: 250px 250px, 200px 200px, 150px 150px, 100px 100px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    animation: space-drift 60s linear infinite;
    z-index: -1;
}

@keyframes space-drift {
    0% {
        background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    }
    100% {
        background-position: 250px 250px, 240px 260px, 330px 470px, 270px 300px;
    }
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--global-spacing);
}

/* Enhanced Navbar Styles */
.navbar {
    background: rgba(13, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(13, 15, 25, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--global-spacing);
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Enhanced Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    position: relative;
}

.logo-icon {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

/* Wolf Logo Styles */
.hero-logo {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.lightning-container {
    position: relative;
    display: inline-block;
    transform: scale(1.2);
}

.main-bolt {
    background: linear-gradient(135deg, #ffd700 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    transform: rotate(-15deg);
    display: inline-block;
    animation: pulsate 2s infinite;
}

.side-bolt {
    position: absolute;
    font-size: 0.6em;
    color: #ffd700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
    opacity: 0;
}

.side-bolt.left {
    left: -0.5em;
    top: 0.2em;
    transform: rotate(-45deg) scale(0.8);
    animation: flashLeft 3s infinite;
}

.side-bolt.right {
    right: -0.5em;
    top: 0.2em;
    transform: rotate(45deg) scale(0.8);
    animation: flashRight 3s infinite;
}

.spark {
    position: absolute;
    color: #ffd700;
    font-size: 0.8rem;
    animation: sparkle 2s infinite;
}

.spark:nth-child(4) { top: -0.5em; right: -0.5em; animation-delay: 0s; }
.spark:nth-child(5) { top: 0.5em; left: -0.5em; animation-delay: 0.4s; }
.spark:nth-child(6) { bottom: -0.5em; right: 0; animation-delay: 0.8s; }
.spark:nth-child(7) { bottom: 0; left: 0; animation-delay: 1.2s; }

@keyframes pulsate {
    0% { transform: rotate(-15deg) scale(1); filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6)); }
    50% { transform: rotate(-15deg) scale(1.1); filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8)); }
    100% { transform: rotate(-15deg) scale(1); filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6)); }
}

@keyframes flashLeft {
    0%, 100% { opacity: 0; transform: rotate(-45deg) scale(0.8) translateX(0); }
    10%, 90% { opacity: 0; }
    50% { opacity: 1; transform: rotate(-45deg) scale(1) translateX(-0.2em); }
}

@keyframes flashRight {
    0%, 100% { opacity: 0; transform: rotate(45deg) scale(0.8) translateX(0); }
    10%, 90% { opacity: 0; }
    50% { opacity: 1; transform: rotate(45deg) scale(1) translateX(0.2em); }
}

@keyframes sparkle {
    0% { transform: scale(0.5) rotate(0deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
    100% { transform: scale(0.5) rotate(360deg); opacity: 0; }
}

@media (max-width: 768px) {
    .hero-logo { font-size: 3.5rem; }
    .spark { font-size: 0.7rem; }
}

@media (max-width: 480px) {
    .hero-logo { font-size: 3rem; }
    .spark { font-size: 0.6rem; }
}

/* Enhanced Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-green));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.active {
    color: var(--primary-green);
}

.nav-links a.active::before {
    transform: scaleX(1);
}

/* Logo Shine Animation */
@keyframes shine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar-content {
        padding: 0 var(--global-spacing);
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Navigation Hover Glow */
.nav-links a:hover {
    text-shadow: 0 0 10px rgba(var(--primary-green-rgb), 0.5);
}

/* Active Link Indicator */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-green));
    animation: gradient 3s linear infinite;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 255, 157, 0.1));
    position: relative;
    overflow: hidden;
    margin-top: -80px; /* Offset the body padding for hero section */
    padding-top: 80px; /* Add padding to maintain spacing */
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.1) 0%, rgba(138, 43, 226, 0.1) 50%, rgba(65, 105, 225, 0.1) 100%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem var(--global-spacing);
}

h1 {
    font-size: var(--h1);
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: var(--h2);
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-xs);
}

h3 {
    font-size: var(--h3);
    margin-bottom: var(--spacing-xxs);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--global-spacing);
    margin-top: 2rem;
}

.hero-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-green);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-cta {
        gap: 1.25rem;
    }

    .hero-social {
        gap: 0.75rem;
    }

    .social-button {
        padding: 0.625rem;
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        gap: 1rem;
    }

    .hero-social {
        gap: 0.5rem;
    }

    .social-button {
        padding: 0.5rem;
        font-size: 1.1rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Animations */
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: var(--global-spacing);
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
    min-height: 300px;
}

.card > *:last-child {
    margin-top: auto;
}

.card.opacity {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-out;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin: var(--global-spacing);
}

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

.card.opacity:hover {
    box-shadow: 0 8px 32px 0 rgba(var(--primary-purple-rgb), 0.1);
    border: 1px solid rgba(var(--primary-purple-rgb), 0.1);
    transform: translateY(-5px) scale(1.02);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(var(--primary-purple-rgb), 0.2);
}

/* Chart Container Animations */
.chart-container {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease-out;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1rem;
    margin: var(--global-spacing) 0;
}

.chart-container.visible {
    opacity: 1;
    transform: scale(1);
}

/* Form Animations */
.form-group {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease-out;
}

.form-group.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Button Animations */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    border: none;
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-green), var(--primary-purple));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(var(--primary-purple-rgb), 0.5);
    color: var(--text-light);
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.2));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(0);
}

/* Card button specific styles */
.card .btn {
    margin: 1.5rem;
    width: calc(100% - 3rem);
}

/* Hero Section Animations */
.hero-content > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content > *:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-content > *:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Cards */
.card {
    /* styles already defined in card animations */
}

/* Sections */
.section {
    padding: var(--global-spacing) 0;
    margin-top: 0 !important;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--global-spacing);
    width: 100%;
    max-width: var(--container-width);
    margin: var(--global-spacing) auto;
}

/* Portal Section */
.portal-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.portal-container {
    max-width: 600px;
    margin: 0 auto;
}

.portal-container h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portal-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.portal-btn {
    font-size: 1.2rem;
    padding: 1rem 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-blue));
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.portal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-green));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.portal-btn:hover::before {
    opacity: 1;
}

/* Footer Styles */
.footer {
    background: rgba(13, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--global-spacing);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--global-spacing);
}

.footer-branding h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-branding p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: var(--global-spacing);
    justify-content: flex-end;
}

.footer-links-column h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column li {
    margin-bottom: 1rem;
}

.footer-links-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-column a:hover {
    color: var(--primary-green);
}

.footer-social {
    margin-top: 2rem;
    display: flex;
    gap: var(--global-spacing);
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.social-link:hover {
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--global-spacing);
        text-align: center;
    }

    .footer-branding {
        order: 1;
    }

    .footer-branding h2 {
        font-size: 1.6rem;
    }

    .footer-links {
        order: 2;
        flex-direction: column;
        gap: var(--global-spacing);
        justify-content: center;
        align-items: center;
    }

    .footer-links-column {
        text-align: center;
        width: 100%;
    }

    .footer-links-column h3 {
        margin-bottom: 1.25rem;
    }

    .footer-links-column li {
        margin-bottom: 0.875rem;
    }
}

/* Small Mobile Footer Adjustments */
@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        gap: var(--global-spacing);
        padding: 0 var(--global-spacing);
    }

    .footer-branding h2 {
        font-size: 1.4rem;
    }

    .footer-branding p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .footer-links {
        gap: var(--global-spacing);
    }

    .footer-links-column h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-links-column li {
        margin-bottom: 0.75rem;
    }
}

/* Hero Section Enhancements */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--global-spacing);
    margin-top: 2rem;
}

.hero-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-green);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-cta {
        gap: 1.25rem;
    }

    .hero-social {
        gap: 0.75rem;
    }

    .social-button {
        padding: 0.625rem;
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        gap: 1rem;
    }

    .hero-social {
        gap: 0.5rem;
    }

    .social-button {
        padding: 0.5rem;
        font-size: 1.1rem;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--global-spacing);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.content-box .section-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Card Enhancements */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header i {
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.feature-list {
    margin-bottom: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-item i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
    min-height: 200px;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Mobile Adjustments for Feature Boxes */
@media (max-width: 768px) {
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: var(--global-spacing);
        padding: 0 var(--global-spacing);
    }

    .feature-box {
        padding: 1.5rem;
        min-height: auto;
        height: auto;
    }

    .feature-box h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
        hyphens: auto;
        word-wrap: break-word;
    }

    .feature-box p {
        font-size: 0.95rem;
        line-height: 1.5;
        hyphens: auto;
        word-wrap: break-word;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-features {
        margin-top: 2rem;
        gap: 1rem;
    }

    .feature-box {
        padding: 1.25rem;
    }
}

/* Analysis Page */
.tradingview-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin: var(--global-spacing);
    text-align: center;
    gap: 2rem;
}

.tradingview-link i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tradingview-link p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 500px;
}

.tradingview-link .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .tradingview-link {
        min-height: 250px;
        padding: 2rem 1.5rem;
    }

    .tradingview-link i {
        font-size: 3rem;
    }

    .tradingview-link p {
        font-size: 1.1rem;
    }
}

.chart-container {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease-out;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1rem;
    margin: var(--global-spacing) 0;
}

.chart-container.visible {
    opacity: 1;
    transform: scale(1);
}

/* Market Sentiment Styles */
.sentiment-container {
    padding: 2rem;
    text-align: center;
    padding-bottom: 1.5rem;
}

.sentiment-gauge {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    padding: 20px;
}

.gauge-value {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.1), rgba(0, 255, 157, 0.1));
    border: 2px solid transparent;
    background-clip: padding-box;
}

.gauge-value::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    border-radius: 50%;
    z-index: -1;
}

.value-text {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.value-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.sentiment-details {
    margin-top: 2rem;
}

.sentiment-details p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.sentiment-scale {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.scale-item {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .sentiment-scale {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .scale-item {
        padding: 0.3rem;
    }
}

/* Trending Coins Styles */
.trending-container {
    padding: 1.5rem;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trending-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.trending-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.coin-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.coin-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coin-name {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.coin-symbol {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.coin-price {
    font-weight: 500;
    color: var(--primary-green);
}

.trending-footer {
    margin-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.trending-footer p {
    margin-bottom: 0.5rem;
}

.trending-footer small {
    font-size: 0.8rem;
}

/* Loading skeleton */
.skeleton {
    position: relative;
    overflow: hidden;
}

.skeleton .coin-icon {
    background: rgba(255, 255, 255, 0.1);
}

.skeleton .coin-name {
    width: 120px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.skeleton .coin-price {
    width: 80px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    animation: shimmer 2s infinite;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Analysis Items Styles */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--global-spacing);
    padding: 1.5rem;
}

.analysis-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.analysis-preview {
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.2), rgba(0, 255, 157, 0.2));
    padding: 2rem;
    text-align: center;
    position: relative;
}

.analysis-preview i {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.analysis-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-green);
}

.analysis-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.analysis-content h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.analysis-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.analysis-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.analysis-meta span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.analysis-meta i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .analysis-grid {
        grid-template-columns: 1fr;
    }
}

/* About Page Styles */
.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--global-spacing);
    margin-top: 2rem;
}

.mission-content {
    padding: 2rem;
}

.mission-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.feature-list {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.feature-item span {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.community-content {
    padding: 2rem;
    text-align: center;
}

.community-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta-buttons i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .about-content {
        gap: 1.5rem;
    }

    .mission-content,
    .feature-list,
    .community-content {
        padding: 1.5rem;
    }

    .mission-content p,
    .feature-item span,
    .community-content p {
        font-size: 1rem;
    }

    .cta-buttons .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .card {
        padding: 1.5rem;
        margin: 0.8rem;
    }

    .grid,
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .card-header {
        margin-bottom: 1rem;
    }

    .card-header h3 {
        font-size: 1.3rem;
    }
}

.tool-description {
    color: rgba(255, 255, 255, 0.8);
    margin: 1rem 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(var(--primary-purple-rgb), 0.3);
}

.back-to-top i {
    font-size: 1.2rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .back-to-top i {
        font-size: 1rem;
    }
}

/* Educational Resources Section */
.section-header {
    text-align: center;
    margin-bottom: var(--global-spacing);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--global-spacing);
    margin: 2rem auto;
    max-width: var(--container-width);
    padding: 0 var(--global-spacing);
}

.resource-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(var(--primary-purple-rgb), 0.2);
}

.resource-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(var(--primary-purple-rgb), 0.3);
}

.resource-icon i {
    font-size: 2rem;
    color: var(--text-light);
}

.resource-card h3 {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

.resource-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
}

.resource-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
}

.topic {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.topic:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.resource-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
        padding: 0 var(--global-spacing);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .resource-card {
        padding: 2rem;
    }

    .resource-icon {
        width: 60px;
        height: 60px;
    }

    .resource-icon i {
        font-size: 1.5rem;
    }
}

/* Loading Skeletons */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
    border-radius: 4px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resource-card {
        padding: 1.5rem;
    }
}

/* Parallax and Animation Effects */
.parallax-section {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    z-index: 1;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
    background: linear-gradient(45deg, rgba(var(--primary-purple-rgb), 0.15), rgba(var(--primary-green-rgb), 0.15));
}

/* Animated Icons */
.animated-icon {
    transition: all 0.3s ease;
    transform-origin: center;
}

.animated-icon:hover {
    transform: scale(1.2) rotate(5deg);
    filter: brightness(1.2);
}

.pulse-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Smooth Content Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Interactive Elements */
.interactive-element {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive-element:hover {
    transform: translateY(-5px);
}

.interactive-element::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.interactive-element:hover::after {
    transform: scaleX(1);
}

/* Floating Animation */
.float {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Interactive Infographics */
.infographic {
    position: relative;
    transition: all 0.3s ease;
}

.infographic-item {
    position: relative;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.infographic-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.infographic-icon {
    position: relative;
    z-index: 1;
}

.infographic-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(var(--primary-purple-rgb), 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.infographic-item:hover .infographic-icon::before {
    width: 100px;
    height: 100px;
}

/* Smooth Scroll Behavior */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Mission Section */
.mission-section {
    background: rgba(13, 15, 25, 0.7);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.1) 0%, 
        rgba(0, 255, 157, 0.1) 100%
    );
    z-index: -1;
}

.mission-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.mission-content > p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mission-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--global-spacing);
    margin-top: 3rem;
}

.mission-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(138, 43, 226, 0.05) 0%,
        rgba(0, 255, 157, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.mission-card:hover::before {
    opacity: 1;
}

.mission-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.mission-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Responsive Design for Mission Section */
@media (max-width: 768px) {
    .mission-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-content h2 {
        font-size: 2rem;
    }

    .mission-content > p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .mission-card {
        padding: 1.5rem;
    }

    .mission-card i {
        font-size: 2rem;
    }

    .mission-card h3 {
        font-size: 1.3rem;
    }
}

/* Animation for Mission Cards */
.mission-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.mission-card:nth-child(1) { animation-delay: 0.2s; }
.mission-card:nth-child(2) { animation-delay: 0.4s; }
.mission-card:nth-child(3) { animation-delay: 0.6s; }

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

/* Button Styles */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-green), var(--primary-purple));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-purple-rgb), 0.3);
}

/* Hero Section Refinements */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem var(--global-spacing);
}

.hero-cta {
    margin-top: 2rem;
}

/* Loading States */
.skeleton {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Accessibility Improvements */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Ensure text remains visible during webfont load */
.font-loading {
    font-display: swap;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary-green);
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(13, 15, 25, 0.98);
        padding: 1.25rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .logo-text {
        font-size: 1.3rem;
    }
}

.nav-links.mobile-active a {
    display: block;
    padding: 0.8rem var(--global-spacing);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links.mobile-active a:last-child {
    border-bottom: none;
}

/* Responsive Grid Layouts */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .mission-highlights {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 0.5rem;
    }
}

/* Responsive Card Layouts */
@media (max-width: 768px) {
    .card {
        padding: 1.5rem;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
    }

    .card-header i {
        margin-bottom: 1rem;
    }

    .trending-item {
        padding: 0.8rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links-column a {
        font-size: 0.9rem;
    }
}

/* Common Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--global-spacing);
    width: 100%;
    max-width: var(--container-width);
    margin: var(--global-spacing) auto;
}

/* Common Card/Box Styles */
.card, .feature-box, .tool-box, .analysis-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
    min-height: 200px;
}

.card h3, .feature-box h3, .tool-box h3, .analysis-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.card p, .feature-box p, .tool-box p, .analysis-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Tool Section Styles */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--global-spacing);
    width: 100%;
    max-width: var(--container-width);
    margin: var(--global-spacing) auto;
    padding: 0 var(--global-spacing);
}

.tool-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.25rem;
    transition: all 0.3s ease;
    min-height: 400px;
}

.tool-box h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-light);
    line-height: 1.3;
}

.tool-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    flex-grow: 1;
}

.tool-box .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.25rem;
        margin: 2rem auto;
    }

    .tool-box {
        padding: 2rem;
        min-height: auto;
    }

    .tool-box h3 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .tool-box p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
    .tools-grid {
        gap: 1.25rem;
        padding: 0 1rem;
        margin: 1.5rem auto;
    }

    .tool-box {
        padding: 1.75rem;
    }

    .tool-box h3 {
        font-size: 1.35rem;
    }

    .tool-box p {
        font-size: 0.95rem;
    }
}

.analysis-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
    min-height: 400px;
}

.footer-social {
    margin-top: 2rem;
    display: flex;
    gap: var(--global-spacing);
    align-items: center;
}

.social-link {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.social-link:hover {
    color: var(--primary-green);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-social {
        gap: 1.25rem;
    }
    
    .social-link {
        font-size: 1.35rem;
    }
}

/* Section Spacing */
.section {
    padding: var(--global-spacing) 0;
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 2rem 0;
    }
}

/* Mobile-First Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Refined Section Spacing */
.section {
    padding: 5rem 0;
}

/* Enhanced Grid System */
.grid, .tools-grid, .analysis-grid, .hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--global-spacing);
    width: 100%;
    max-width: var(--container-width);
    margin: var(--global-spacing) auto;
}

/* Refined Box Styles */
.card, .feature-box, .tool-box, .analysis-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.card:hover, .feature-box:hover, .tool-box:hover, .analysis-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Typography Refinements */
.card h3, .feature-box h3, .tool-box h3, .analysis-box h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-light);
    line-height: 1.3;
}

.card p, .feature-box p, .tool-box p, .analysis-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Form Refinements */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.08);
}

/* Chart Container Refinements */
.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin: var(--global-spacing) 0;
    height: 400px;
}

/* Mobile Responsive Refinements */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }

    .grid, .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 0;
        width: 100%;
    }

    .card, .tool-box, .content-box {
        margin: 0;
        width: 100%;
    }

    .section {
        padding: 4rem 0;
    }

    .grid, .tools-grid, .analysis-grid, .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem auto;
    }

    .card, .feature-box, .tool-box, .analysis-box {
        padding: 1.75rem;
        gap: 1.25rem;
    }

    .card h3, .feature-box h3, .tool-box h3, .analysis-box h3 {
        font-size: 1.5rem;
    }

    .card p, .feature-box p, .tool-box p, .analysis-box p {
        font-size: 1rem;
    }

    .chart-container {
        padding: 1.5rem;
        height: 300px;
        margin: 2rem 0;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    input, select, textarea {
        padding: 0.875rem;
    }
}

/* Small Mobile Refinements */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .grid, .tools-grid, .analysis-grid, .hero-features {
        gap: 1.25rem;
        margin: 1.5rem auto;
    }

    .card, .feature-box, .tool-box, .analysis-box {
        padding: 1.5rem;
        gap: 1rem;
    }

    .card h3, .feature-box h3, .tool-box h3, .analysis-box h3 {
        font-size: 1.35rem;
    }

    .chart-container {
        padding: 1.25rem;
        height: 250px;
        margin: 1.5rem 0;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    input, select, textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

/* Navigation Refinements */
.navbar {
    padding: 1.25rem 0;
}

.navbar-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--global-spacing);
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .navbar-content {
        padding: 0 1.25rem;
    }

    .nav-links {
        top: 72px;
        padding: 1.25rem;
    }

    .nav-links a {
        padding: 0.75rem 1.5rem;
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.875rem 0;
    }

    .navbar-content {
        padding: 0 1rem;
    }

    .nav-links {
        top: 65px;
        padding: 1rem;
    }

    .nav-links a {
        padding: 0.625rem 1.25rem;
    }
}

/* Tool Section Styles */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--global-spacing);
    width: 100%;
    max-width: var(--container-width);
    margin: var(--global-spacing) auto;
    padding: 0 var(--global-spacing);
}

.tool-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.25rem;
    transition: all 0.3s ease;
    min-height: 400px;
}

.tool-box h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-light);
    line-height: 1.3;
}

.tool-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    flex-grow: 1;
}

.tool-box .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.25rem;
        margin: 2rem auto;
    }

    .tool-box {
        padding: 2rem;
        min-height: auto;
    }

    .tool-box h3 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .tool-box p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
    .tools-grid {
        gap: 1.25rem;
        padding: 0 1rem;
        margin: 1.5rem auto;
    }

    .tool-box {
        padding: 1.75rem;
    }

    .tool-box h3 {
        font-size: 1.35rem;
    }

    .tool-box p {
        font-size: 0.95rem;
    }
}

.analysis-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
    min-height: 400px;
}

@keyframes skeleton-wave {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-wave 1.5s linear infinite;
    border-radius: 4px;
}

.content-box {
    margin-bottom: 2rem;
}

/* Card Enhancements */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header i {
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.feature-list {
    margin-bottom: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-item i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
    min-height: 200px;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}
