/* ========================================
   DeVPN-AI Landing Page - Main Styles
   Tech & Futuristic Theme
======================================== */

/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --primary-cyan: #00D9FF;
    --primary-blue: #0099FF;
    --secondary-purple: #9D4EDD;
    --secondary-magenta: #C77DFF;
    --accent-green: #00FF88;
    --bg-dark: #0A0E27;
    --bg-dark-secondary: #1A1F3A;
    --bg-card: rgba(26, 31, 58, 0.7);
    --text-light: #E0E0E0;
    --text-white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-purple), var(--secondary-magenta));
    --gradient-hero: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    
    /* Shadows & Glows */
    --glow-cyan: 0 0 20px rgba(0, 217, 255, 0.5);
    --glow-purple: 0 0 20px rgba(157, 78, 221, 0.5);
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.5);
    
    /* Spacing */
    --section-padding: 100px 0;
    --card-padding: 30px;
    
    /* Border Radius */
    --border-radius: 16px;
    --border-radius-small: 8px;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Animated Background ===== */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-hero);
}

#particleCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== Header & Navigation ===== */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: auto;
    transition: all 0.3s ease;
    background: transparent;
}

.sticky-header.scrolled {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.1);
}

.navbar {
    padding: 20px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
}

.logo-glow i {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
    animation: pulse-glow 2s ease-in-out infinite;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.5));
    animation: pulse-glow 2s ease-in-out infinite;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-cyan) !important;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
}

.lang-btn.active {
    color: var(--primary-cyan);
}

.lang-btn:hover {
    color: var(--primary-cyan);
}

.separator {
    color: var(--text-light);
}

/* Buttons */
.btn-primary-glow {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--glow-cyan);
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

.navbar-toggler {
    border: 1px solid var(--primary-cyan);
    padding: 8px 12px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300D9FF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-large {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 16px 36px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
    opacity: 1; /* Default visible, GSAP will animate if available */
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 217, 255, 0.5);
    color: var(--text-white);
}

.btn-secondary-large {
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 14px 34px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    opacity: 1; /* Default visible, GSAP will animate if available */
}

.btn-secondary-large:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-3px);
    color: var(--primary-cyan);
}

/* Network Visualization */
.network-visualization {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: auto;
}

#networkCanvas {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: auto;
}

/* Network Stats */
.network-stats {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(0, 217, 255, 0.9);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    background: rgba(10, 14, 39, 0.6);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    backdrop-filter: blur(10px);
}

.stat-label {
    font-weight: 500;
    color: rgba(0, 217, 255, 0.8);
}

.stat-value {
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.8);
}

/* ===== Section Styles ===== */
section {
    padding: var(--section-padding);
    position: relative;
    z-index: 10;
}

/* Ensure interactive elements are clickable */
.btn, button, a, .nav-link, input, select, textarea {
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
}

/* Ensure section titles without AOS are visible */
.section-title:not([data-aos]) {
    opacity: 1;
}

/* AOS will set opacity: 0 initially for elements with data-aos */
/* After animation completes, AOS adds .aos-animate class */
.section-title[data-aos].aos-animate {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Problem Section ===== */
.problem-section {
    background: rgba(26, 31, 58, 0.3);
}

.problem-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-cyan);
}

.problem-card h3 {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 20px;
}

.problem-card ul {
    list-style: none;
    padding: 0;
}

.problem-card ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.problem-card ul li i {
    color: #ff4757;
    font-size: 18px;
}

/* QuadShield Solution Card */
.problem-quadshield {
    border-color: rgba(0, 255, 136, 0.3);
}

.problem-quadshield:hover {
    border-color: var(--accent-green);
    box-shadow: var(--glow-green);
}

.problem-quadshield .problem-icon {
    color: var(--accent-green);
    text-shadow: var(--glow-green);
}

.problem-quadshield ul li i.fa-check-circle {
    color: var(--accent-green);
}

/* ===== Solution Section ===== */
.solution-section {
    background: transparent;
}

.feature-card {
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
    opacity: 1 !important;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
    background: rgba(0, 217, 255, 0.05);
    opacity: 1 !important;
}

/* Ensure all feature cards have full opacity after AOS animation */
.feature-card.aos-animate,
.feature-card[data-aos] {
    opacity: 1 !important;
}

/* Feature cards staggered vertical alignment (thụt xuống dần) */
.solution-section .row > .col-md-6.col-lg-3:nth-child(1) {
    margin-top: 0;
}

.solution-section .row > .col-md-6.col-lg-3:nth-child(2) {
    margin-top: 20px;
}

.solution-section .row > .col-md-6.col-lg-3:nth-child(3) {
    margin-top: 40px;
}

.solution-section .row > .col-md-6.col-lg-3:nth-child(4) {
    margin-top: 60px;
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

.feature-card h3 {
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    font-size: 15px;
    color: #E8E8E8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    background: rgba(0, 217, 255, 0.2);
    color: var(--primary-cyan);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== Architecture Section ===== */
.architecture-section {
    background: rgba(26, 31, 58, 0.3);
}

.architecture-container {
    max-width: 800px;
    margin: 50px auto;
}

.architecture-layer {
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    opacity: 1 !important;
}

.architecture-layer::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: var(--glow-cyan);
}

.architecture-layer:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
    border-color: var(--primary-cyan);
    opacity: 1 !important;
}

/* Ensure all architecture layers have full opacity after AOS animation */
.architecture-layer.aos-animate,
.architecture-layer[data-aos],
.architecture-container[data-aos] .architecture-layer {
    opacity: 1 !important;
}

/* Architecture layers staggered right alignment (thụt lề phải dần đều) */
.architecture-layer[data-layer="1"] {
    padding-left: 25px;
}

.architecture-layer[data-layer="2"] {
    padding-left: 45px;
}

.architecture-layer[data-layer="3"] {
    padding-left: 65px;
}

.architecture-layer[data-layer="4"] {
    padding-left: 85px;
}

.architecture-layer[data-layer="5"] {
    padding-left: 105px;
}

.layer-content {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 1 !important;
}

.layer-info {
    opacity: 1 !important;
}

.layer-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-cyan);
    min-width: 50px;
}

.layer-content h4 {
    font-size: 20px;
    color: var(--text-white);
    margin: 0 0 5px 0;
}

.layer-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Expandable Architecture Layers */
.layer-info {
    flex: 1;
}

.expand-icon {
    font-size: 20px;
    color: var(--primary-cyan);
    transition: transform 0.3s ease;
}

.architecture-layer.expanded .expand-icon {
    transform: rotate(180deg);
}

.layer-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease, margin-top 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.architecture-layer.expanded .layer-details {
    max-height: 600px;
    opacity: 1;
    margin-top: 20px;
}

.layer-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.layer-details ul li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-light);
}

.layer-details ul li i {
    color: var(--accent-green);
    margin-top: 4px;
    font-size: 14px;
}

/* Tech Stack Badges */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    background: rgba(0, 217, 255, 0.15);
    color: var(--primary-cyan);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(0, 217, 255, 0.25);
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

/* ===== Features Detail Section ===== */
.features-detail-section {
    background: transparent;
}

.features-tabs .nav-pills {
    gap: 15px;
}

.features-tabs .nav-link {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    transition: all 0.3s ease;
}

.features-tabs .nav-link:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.features-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: var(--glow-cyan);
}

.tab-content {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ensure active tab-pane is visible */
.tab-pane.active.show {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Exclude tab-pane from AOS animation interference */
.tab-pane[data-aos] {
    opacity: 1 !important;
}

.tab-pane h3 {
    font-size: 28px;
    color: var(--text-white);
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.feature-list li i {
    color: var(--accent-green);
    font-size: 20px;
}

.tech-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.diagram-box {
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid var(--primary-cyan);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--glow-cyan);
}

.diagram-box i {
    font-size: 80px;
    color: var(--primary-cyan);
    margin-bottom: 20px;
}

.diagram-box p {
    font-size: 18px;
    color: var(--text-white);
    margin: 0;
}

/* ===== Use Cases Section ===== */
.usecases-section {
    background: rgba(26, 31, 58, 0.3);
}

.usecase-card {
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
    opacity: 1 !important;
}

.usecase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(157, 78, 221, 0.4);
    border-color: var(--secondary-purple);
    opacity: 1 !important;
}

/* Ensure all usecase cards have full opacity after AOS animation */
.usecase-card.aos-animate,
.usecase-card[data-aos] {
    opacity: 1 !important;
}

.usecase-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary-purple);
    text-shadow: var(--glow-purple);
}

.usecase-card h4 {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 15px;
}

.usecase-card p {
    font-size: 15px;
    color: var(--text-light);
}

/* ===== Roadmap Section ===== */
.roadmap-section {
    background: transparent;
}

.roadmap-timeline {
    max-width: 900px;
    margin: 50px auto;
    position: relative;
}

/* Ensure roadmap timeline has full opacity after AOS animation */
.roadmap-timeline.aos-animate {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
}

/* Ensure timeline items have full opacity and correct transform after AOS animation */
.timeline-item.aos-animate {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    min-width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
    box-shadow: var(--glow-cyan);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: rgba(26, 31, 58, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.timeline-content:hover {
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
    transform: scale(1.02);
}

.timeline-content h3 {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content ul li {
    padding: 8px 0;
    color: var(--text-light);
    padding-left: 25px;
    position: relative;
}

.timeline-content ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: bold;
}

/* ===== Comparison Table ===== */
.comparison-section {
    background: rgba(26, 31, 58, 0.3);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.comparison-table thead {
    background: rgba(0, 217, 255, 0.1);
}

.comparison-table th {
    padding: 20px;
    text-align: center;
    color: var(--text-white);
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th.highlight {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.comparison-table td {
    padding: 18px 20px;
    text-align: center;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table td.highlight {
    background: rgba(0, 217, 255, 0.05);
    font-weight: 700;
}

.comparison-table .fa-check-circle {
    color: var(--accent-green);
    font-size: 20px;
}

.comparison-table .fa-times-circle {
    color: #ff4757;
    font-size: 20px;
}

.comparison-table .fa-minus-circle {
    color: #ffa502;
    font-size: 20px;
}

/* ===== Security Section ===== */
.security-section {
    background: transparent;
}

.security-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.security-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 255, 136, 0.3);
    border-color: var(--accent-green);
}

.security-card i {
    font-size: 48px;
    color: var(--accent-green);
    margin-bottom: 20px;
    text-shadow: var(--glow-green);
}

.security-card h4 {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 15px;
}

.security-card p {
    font-size: 15px;
    color: var(--text-light);
}

/* ===== Whitepaper Section ===== */
.whitepaper-section {
    background: transparent;
    padding: 100px 0;
}

.whitepaper-preview {
    max-width: 600px;
    margin: 40px auto 0;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 217, 255, 0.2);
    transition: all 0.3s ease;
}

.whitepaper-preview:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 50px rgba(0, 217, 255, 0.3);
    transform: translateY(-5px);
}

.whitepaper-icon {
    font-size: 80px;
    color: var(--primary-cyan);
    margin-bottom: 20px;
    text-shadow: var(--glow-cyan);
}

.whitepaper-preview h3 {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 15px;
    font-weight: 700;
}

.whitepaper-preview p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>');
    animation: particle-drift 20s linear infinite;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
}

/* Ensure CTA title has full opacity and correct transform after AOS animation */
.cta-title.aos-animate {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 40px;
}

/* Ensure CTA subtitle has full opacity and correct transform after AOS animation */
.cta-subtitle.aos-animate {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Ensure CTA buttons container has full opacity and correct transform after AOS animation */
.cta-buttons.aos-animate {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Ensure individual CTA buttons have full opacity and correct transform after AOS animation */
.cta-buttons.aos-animate .btn,
.cta-buttons.aos-animate .btn-cta-primary,
.cta-buttons.aos-animate .btn-cta-secondary,
.cta-buttons.aos-animate .btn-cta-tertiary {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.btn-cta-primary,
.btn-cta-secondary,
.btn-cta-tertiary {
    padding: 16px 36px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    background: var(--text-white);
    color: var(--secondary-purple);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
    color: var(--secondary-purple);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
}

.btn-cta-secondary:hover {
    background: var(--text-white);
    color: var(--secondary-purple);
}

.btn-cta-tertiary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: var(--text-white);
}

.btn-cta-tertiary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

.footer-brand i {
    color: var(--primary-cyan);
}

.footer-description {
    color: var(--text-light);
    font-size: 14px;
}

.footer h5 {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: var(--primary-cyan);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--primary-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

/* ===== Scrollbar Styles ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

