/* Landing Page Styles */
:root {
    /* Main color palette */
    --primary-color: #6E56CF;
    --primary-light: #9D8DF1;
    --primary-dark: #4A3A8C;
    --secondary-color: #14F195;
    --background-dark: #0F0B19;
    --background-medium: #1A1625;
    --background-light: #2D2A3B;
    --text-primary: #FFFFFF;
    --text-secondary: #A9A6B6;
    --text-tertiary: #6C6A7A;
    --success-color: #14F195;
    --warning-color: #F1C40F;
    --danger-color: #E74C3C;
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Sizes and spacing */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 80px;
    --header-height: 70px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.2);
    
    /* Animations */
    --transition-speed: 0.3s;
    
    /* Breakpoints for responsive design */
    --breakpoint-xs: 480px;
    --breakpoint-sm: 768px;
    --breakpoint-md: 992px;
    --breakpoint-lg: 1200px;
    --breakpoint-xl: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    border: none;
    background: none;
}

input, button {
    outline: none;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 2;
}

/* Стили для кнопки Dashboard */
/* Кнопка Dashboard видна во всех версиях */

/* Burger Menu Styles */
#burger-menu {
    display: none; /* Скрыто по умолчанию */
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 4px;
    background: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#burger-menu div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    border-radius: 3px;
}

#mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 11, 25, 0.95);
    z-index: 9998;
    overflow-y: auto;
    padding-top: 80px;
}

#mobile-nav.active {
    display: block;
}

#mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0;
    margin-bottom: 30px;
}

#mobile-nav li {
    list-style: none;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

#mobile-nav li:last-child {
    border-bottom: none;
}

#mobile-nav a {
    font-size: 20px;
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 0;
}

#close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Стили для кнопки Dashboard в мобильном меню */
.mobile-dashboard-btn {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 40px;
}

.mobile-dashboard-btn .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(110, 86, 207, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-dashboard-btn .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(110, 86, 207, 0.4);
}

/* Background Elements */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(110, 86, 207, 0.15) 0%, transparent 30%),
                radial-gradient(circle at 90% 80%, rgba(20, 241, 149, 0.1) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: var(--spacing-md) 0;
    transition: all var(--transition-speed) ease;
    backdrop-filter: blur(10px);
    background: rgba(15, 11, 25, 0.8);
}

.header.scrolled {
    padding: var(--spacing-sm) 0;
    background: rgba(15, 11, 25, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.solana-logo {
    color: var(--text-primary);
    transition: color var(--transition-speed) ease;
}

.light-theme .solana-logo {
    color: #000000;
}

.solana-logo-symbol {
    margin-right: 5px;
}

.logo img {
    height: 38px;
    width: auto;
}

.logo span {
    font-weight: 700;
    font-size: 28px;
    white-space: nowrap;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(110, 86, 207, 0.5);
    letter-spacing: 0.5px;
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background-light);
    cursor: pointer;
    transition: background var(--transition-speed) ease;
}

.theme-toggle:hover {
    background: var(--background-medium);
}

.theme-toggle svg {
    color: var(--text-secondary);
    transition: color var(--transition-speed) ease;
}

.theme-toggle:hover svg {
    color: var(--text-primary);
}

/* Light Theme Styles */
.light-theme {
    --background-dark: #FFFFFF;
    --background-medium: #F5F5F7;
    --background-light: #E8E8E8;
    --text-primary: #1A1625;
    --text-secondary: #333333;
    --text-tertiary: #555555;
    --border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .header {
    background: rgba(255, 255, 255, 0.8);
}

.light-theme .header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.light-theme .logo span {
    color: #1A1625;
    text-shadow: none;
}

.light-theme .section-title {
    background: linear-gradient(90deg, #1A1625 0%, var(--primary-color) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.light-theme .gradient-text {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.light-theme .highlight {
    color: var(--primary-dark);
    font-weight: 800;
}

.light-theme .card-icon,
.light-theme .feature-icon {
    background: rgba(110, 86, 207, 0.2);
}

.light-theme .stat-card,
.light-theme .architecture-card,
.light-theme .feature-card,
.light-theme .testimonial-content,
.light-theme .audit-card,
.light-theme .news-card {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.light-theme .stat-value {
    background: linear-gradient(90deg, #1A1625 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.light-theme .hero-title {
    color: #1A1625;
    font-weight: 800;
}

.light-theme .hero-description {
    color: #333333;
    font-weight: 600;
}

.light-theme .nav-link {
    color: #1A1625;
    font-weight: 600;
}

.light-theme .card-title,
.light-theme .feature-title,
.light-theme .architecture-title,
.light-theme .news-title,
.light-theme .cta-title,
.light-theme .footer-title {
    color: #1A1625;
    font-weight: 700;
}

.light-theme .card-description,
.light-theme .feature-description,
.light-theme .architecture-description,
.light-theme .news-excerpt,
.light-theme .cta-description {
    color: #333333;
    font-weight: 500;
}

.light-theme .footer {
    background: #F5F5F7;
}

.light-theme .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 86, 207, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: rgba(110, 86, 207, 0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-speed) ease;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    margin-bottom: var(--spacing-xl);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--secondary-color);
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-stats {
    animation: fadeIn 1s ease 0.6s both;
}

.stat-card {
    background: rgba(42, 37, 57, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.animated-card {
    animation: floatAnimation 4s ease-in-out infinite;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.stat-progress {
    width: 100%;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50px;
    width: 0;
    animation: progressAnimation 2s ease-out forwards;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-tertiary);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.stat-unit {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-light);
    margin-left: var(--spacing-xs);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.sol-icon {
    background-image: url('../img/solana-logo.svg');
    top: 20%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.usdc-icon {
    background-image: url('../img/usdc.png');
    top: 60%;
    right: 20%;
    animation: float 10s ease-in-out infinite 1s;
    background-size: contain;
}

.usdt-icon {
    background-image: url('../img/usdt.png');
    top: 30%;
    right: 30%;
    animation: float 9s ease-in-out infinite 2s;
    background-size: contain;
}

.eth-icon {
    background-image: url('../img/eth-logo.svg');
    top: 70%;
    right: 5%;
    animation: float 12s ease-in-out infinite 1.5s;
}

.btc-icon {
    background-image: url('../img/btc-logo.svg');
    top: 40%;
    right: 15%;
    animation: float 11s ease-in-out infinite 0.5s;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--primary-light) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.6;
}

.section-description {
    font-size: 16px;
    color: var(--text-tertiary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(180deg, var(--background-dark) 0%, var(--background-medium) 100%);
}

.architecture-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.architecture-card {
    background: rgba(42, 37, 57, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.architecture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(110, 86, 207, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(110, 86, 207, 0.1);
    border-radius: 50%;
    color: var(--primary-light);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.card-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.yield-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.partners-banner {
    background: rgba(42, 37, 57, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.partners-banner p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.partner-logo {
    width: 120px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content {
    background: rgba(42, 37, 57, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: rgba(110, 86, 207, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.testimonial-author:hover .author-avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-light);
}

.light-theme .author-avatar {
    border-color: var(--primary-dark);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Key Features Section */
.key-features {
    background: var(--background-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.feature-card {
    background: rgba(42, 37, 57, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xl);
    text-align: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(110, 86, 207, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(110, 86, 207, 0.1);
    border-radius: 50%;
    color: var(--primary-light);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.features-footer {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Trusted By Section */
.trusted-by {
    background: linear-gradient(180deg, var(--background-medium) 0%, var(--background-dark) 100%);
}

.partners-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.partner-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    transition: all var(--transition-speed) ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-item .partner-logo {
    width: 180px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
    padding: var(--spacing-md);
}

.partner-item:hover .partner-logo {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2);
    transition: all var(--transition-speed) ease;
    opacity: 0.8;
}

.partner-item:hover .partner-logo img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.light-theme .partner-logo {
    background: rgba(0, 0, 0, 0.03);
}

.light-theme .partner-item:hover .partner-logo {
    background: rgba(0, 0, 0, 0.05);
}

.light-theme .partner-logo img {
    filter: grayscale(100%) brightness(0.8);
}

.light-theme .partner-item:hover .partner-logo img {
    filter: grayscale(0%) brightness(1);
}

/* Security Section */
.security {
    background: var(--background-dark);
}

.security .section-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.audit-reports {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.audit-card {
    background: rgba(42, 37, 57, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xl);
    text-align: center;
    width: 280px;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.audit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(110, 86, 207, 0.3);
}

.audit-date {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.audit-rating {
    font-size: 24px;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: var(--spacing-lg);
}

.audit-link {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(110, 86, 207, 0.1);
    border: 1px solid rgba(110, 86, 207, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.audit-link:hover {
    background: rgba(110, 86, 207, 0.2);
    transform: translateY(-2px);
}

/* News Section */
.news {
    background: linear-gradient(180deg, var(--background-dark) 0%, var(--background-medium) 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.news-card {
    background: rgba(42, 37, 57, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(110, 86, 207, 0.3);
}

.news-image {
    height: 180px;
    background-color: rgba(110, 86, 207, 0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-speed) ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: var(--spacing-lg);
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.news-source {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-md);
}

.news-link {
    display: inline-block;
    color: var(--primary-light);
    font-weight: 500;
    font-size: 14px;
}

.news-link:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta {
    background: linear-gradient(90deg, rgba(110, 86, 207, 0.2) 0%, rgba(20, 241, 149, 0.1) 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Footer */
.footer {
    background: var(--background-dark);
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
}

.footer-description {
    max-width: 300px;
}

.footer-description .logo {
    margin-bottom: var(--spacing-md);
}

.footer-description p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-column {
    min-width: 160px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-column a {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Fix for mapsol.svg text in dark theme */
.dark-theme .mapsol-image-container svg text,
.dark-theme img[src="img/mapsol.svg"] {
    fill: white !important;
    color: white !important;
}

/* Make sure the text is black in light theme */
.light-theme .mapsol-image-container svg text,
.light-theme img[src="img/mapsol.svg"] {
    fill: black !important;
    color: black !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

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

@keyframes progressAnimation {
    from {
        width: 0;
    }
    to {
        width: 65%;
    }
}

/* Отображаем бургер-меню только на мобильных устройствах */
@media (max-width: 991px) {
    #burger-menu {
        display: flex;
    }
    
    .main-nav {
        display: none;
    }
    
    /* Скрываем текстовый логотип Solana */
    .solana-logo {
        display: none;
    }
    
    /* Оставляем только иконку */
    .solana-logo-symbol {
        margin-right: 0;
    }
    
    /* Реорганизация шапки для мобильных устройств */
    .header-inner {
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    /* Стили для кнопки Dashboard в мобильной версии */
    .header-actions .btn {
        display: inline-block !important;
        font-size: 14px;
        padding: 8px 16px !important;
        margin-right: 15px !important;
        box-shadow: 0 2px 8px rgba(110, 86, 207, 0.3) !important;
        white-space: nowrap;
    }
    
    /* Стилизация кнопки смены темы */
    .theme-toggle {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Убран цветной фон */
        border-radius: 4px;
        margin-left: 0;
        margin-right: 10px;
    }
    
    /* Размещение бургер-меню в шапке */
    #burger-menu {
        position: static;
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 8px;
        background: var(--primary-color);
        border-radius: 4px;
    }
    
    #burger-menu div {
        width: 24px;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        margin: 0;
    }
}

/* Responsive Mobile Menu Styles */
@media (max-width: 991px) {
    .header-inner {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--background-dark);
        z-index: 999;
        transition: left 0.3s ease;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
        padding-top: 70px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .main-nav ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 15px;
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    .main-nav ul li a {
        font-size: 18px;
        display: block;
        padding: 5px 0;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 998;
        transition: opacity 0.3s ease;
        opacity: 0;
    }
    
    .overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* Реорганизация элементов в шапке для мобильных устройств */
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .logo {
        order: 1;
        flex: 0 0 auto;
    }
    
    .header-actions {
        order: 3;
        display: flex;
        align-items: center;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 48px;
    }
    
    .architecture-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    /* Скрываем бургер-меню на мобильных устройствах */
    .mobile-menu-toggle {
        display: none;
    }
    
    .header-actions .btn-primary {
        display: none;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .footer-description {
        max-width: 100%;
        margin-bottom: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    /* Улучшаем видимость плавающих иконок на мобильных устройствах */
    .floating-element {
        width: 40px;
        height: 40px;
    }
    
    /* Перемещаем иконки USDT и USDC, чтобы они были видны на мобильных устройствах */
    .usdt-icon {
        top: 20%;
        right: 5%;
    }
    
    .usdc-icon {
        top: 50%;
        right: 10%;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .architecture-grid,
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .audit-reports {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-lg);
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .testimonial-content {
        padding: var(--spacing-lg);
    }
    
    .testimonial-text {
        font-size: 16px;
    }
}
