:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4895ef;
    --dark: #1a202c;
    --light: #f7fafc;
    --gradient-start: #4361ee;
    --gradient-end: #3a0ca3;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --card-bg: #ffffff;
    --text-primary: #1a202c;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body.menu-open {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(67, 97, 238, 0.1);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 12px;
    border-radius: 14px;
    position: relative;
}

.logo:hover {
    background: rgba(67, 97, 238, 0.04);
    transform: translateY(-1px);
}

.logo-icon {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
    transition: all 0.3s ease;
}

.logo-bg-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.code-symbol {
    position: absolute;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Fira Code', monospace;
    transition: all 0.3s ease;
    z-index: 0;
}

.code-symbol-left {
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.code-symbol-right {
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.rocket-icon {
    font-size: 1.3rem;
    color: white;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.trail-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: trailFade 1.5s ease-out infinite;
}

.trail-dot-1 {
    bottom: 8px;
    right: 8px;
    animation-delay: 0s;
}

.trail-dot-2 {
    bottom: 12px;
    right: 12px;
    animation-delay: 0.3s;
}

.trail-dot-3 {
    bottom: 16px;
    right: 16px;
    animation-delay: 0.6s;
}

.logo:hover .logo-icon {
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.35);
    transform: translateY(-1px);
}

.logo:hover .logo-bg-layer {
    opacity: 1;
}

.logo:hover .rocket-icon {
    transform: rotate(-45deg) scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo:hover .code-symbol {
    color: rgba(255, 255, 255, 0.9);
}

.logo:hover .trail-dot {
    animation: trailBurst 1s ease-out infinite;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-accent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 2px;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.3px;
    margin-top: -2px;
}

@keyframes trailFade {
    0% {
        opacity: 0.8;
        transform: translate(0, 0) scale(1);
    }
    70% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translate(-8px, 8px) scale(0.5);
    }
}

@keyframes trailBurst {
    0% {
        opacity: 0.9;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-12px, 12px) scale(0.3);
    }
}

.menu-toggle {
    background: rgba(67, 97, 238, 0.08);
    border: 2px solid rgba(67, 97, 238, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: none;
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(67, 97, 238, 0.15);
    border-color: rgba(67, 97, 238, 0.3);
    transform: scale(1.05);
}

.menu-toggle i {
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 14px;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: inline-block;
}

.nav-icon-mobile {
    display: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(67, 97, 238, 0.05);
}

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

.nav-button {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white !important;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-button:hover::before {
    left: 100%;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.4);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 40px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4ff 50%, #e6f2ff 100%);
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 25s infinite ease-in-out;
}

.hero-gradient-orb-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.3) 0%, transparent 70%);
    animation-delay: 0s;
    animation-duration: 20s;
}

.hero-gradient-orb-2 {
    width: 500px;
    height: 500px;
    bottom: 10%;
    left: -10%;
    background: radial-gradient(circle, rgba(72, 149, 239, 0.25) 0%, transparent 70%);
    animation-delay: 5s;
    animation-duration: 25s;
}

.hero-gradient-orb-3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(76, 201, 240, 0.2) 0%, transparent 70%);
    animation-delay: 10s;
    animation-duration: 30s;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(67, 97, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 97, 238, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-layout {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title-line {
    display: block;
    color: var(--text-primary);
}

.hero-title-gradient {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--accent) 50%, var(--gradient-end) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    position: relative;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.3rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-hero {
    padding: 10px 24px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero i {
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateX(5px);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(67, 97, 238, 0.08);
    border: 1px solid rgba(67, 97, 238, 0.15);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.hero-stat:hover {
    background: rgba(67, 97, 238, 0.12);
    border-color: rgba(67, 97, 238, 0.25);
    transform: translateY(-2px);
}

.hero-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
}

.hero-stat-content {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.hero-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.vscode-window {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1),
                0 0 1px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.vscode-titlebar {
    height: 35px;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid #e5e5e5;
}

.vscode-traffic-lights {
    display: flex;
    gap: 8px;
    margin-right: 70px;
}

.vscode-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.vscode-light-close {
    background: #ff5f56;
}

.vscode-light-minimize {
    background: #ffbd2e;
}

.vscode-light-maximize {
    background: #27c93f;
}

.vscode-window:hover .vscode-light-close {
    background: #ff5f56 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="%23000" d="M1 1l6 6M1 7l6-6"/></svg>') center/6px no-repeat;
}

.vscode-title {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333333;
    font-weight: 400;
}

.vscode-title-sep {
    color: #999999;
}

.vscode-project {
    color: #666666;
}

.vscode-tabs {
    height: 36px;
    background: #f3f3f3;
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    overflow-x: auto;
}

.vscode-tab {
    min-width: 120px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    color: #6f6f6f;
    font-size: 13px;
    border-right: 1px solid #e5e5e5;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vscode-tab-active {
    background: #ffffff;
    color: #333333;
}

.vscode-tab-icon {
    font-size: 14px;
}

.vscode-tab-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vscode-tab-close {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    opacity: 0;
    transition: all 0.2s ease;
}

.vscode-tab-active .vscode-tab-close {
    opacity: 1;
}

.vscode-tab-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.vscode-main {
    flex: 1;
    display: flex;
    overflow: hidden;
    background: #ffffff;
    min-height: 0;
}

.vscode-sidebar {
    width: 48px;
    background: #f3f3f3;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    gap: 12px;
    border-right: 1px solid #e5e5e5;
}

.vscode-sidebar-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #858585;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.vscode-sidebar-icon:hover {
    color: #333333;
}

.vscode-sidebar-icon-active {
    color: #333333;
}

.vscode-sidebar-icon-active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    height: 100%;
    background: #007acc;
}

.vscode-explorer {
    width: 220px;
    background: #f3f3f3;
    border-right: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
}

.vscode-explorer-header {
    height: 35px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333333;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.vscode-explorer-content {
    flex: 1;
    padding: 8px 0;
    overflow-y: auto;
}

.vscode-folder {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    color: #333333;
    font-size: 13px;
    cursor: pointer;
}

.vscode-folder i {
    font-size: 12px;
}

.vscode-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 32px;
    color: #333333;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.vscode-file:hover {
    background: rgba(0, 0, 0, 0.05);
}

.vscode-file-active {
    background: #e5e5e5;
}

.vscode-file i {
    font-size: 14px;
}

.vscode-editor {
    flex: 1;
    display: flex;
    background: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

.vscode-line-numbers {
    width: 50px;
    background: #ffffff;
    padding: 12px 8px;
    text-align: right;
    color: #237893;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    line-height: 22px;
    user-select: none;
    flex-shrink: 0;
}

.vscode-line-number {
    height: 22px;
}

.vscode-code {
    flex: 1;
    padding: 12px 16px;
    color: #333333;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 22px;
    overflow: visible;
    min-width: 0;
}

.vscode-code-line {
    min-height: 22px;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
}

.vscode-keyword {
    color: #0000ff;
    font-weight: 600;
}

.vscode-function {
    color: #795e26;
}

.vscode-string {
    color: #a31515;
}

.vscode-number {
    color: #098658;
}

.vscode-comment {
    color: #008000;
    font-style: italic;
}

.vscode-operator {
    color: #000000;
}

.vscode-class {
    color: #267f99;
}

.vscode-param {
    color: #001080;
}

.vscode-cursor {
    display: inline-block;
    width: 2px;
    height: 18px;
    background: #000000;
    animation: blink 1s infinite;
    vertical-align: middle;
    margin-left: 1px;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.vscode-minimap {
    display: none;
}

.vscode-minimap-content {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.02) 2px,
        rgba(0, 0, 0, 0.02) 4px
    );
}

.vscode-statusbar {
    height: 22px;
    background: #007acc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    color: #ffffff;
    font-size: 12px;
}

.vscode-statusbar-left,
.vscode-statusbar-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.vscode-statusbar-item {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0 8px;
    height: 100%;
    transition: background 0.2s ease;
}

.vscode-statusbar-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vscode-statusbar-item i {
    font-size: 11px;
}

.vscode-editor::-webkit-scrollbar {
    width: 14px;
    background: #ffffff;
}

.vscode-editor::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border: 3px solid #ffffff;
    border-radius: 7px;
}

.vscode-editor::-webkit-scrollbar-thumb:hover {
    background: #a6a6a6;
}

.vscode-editor::-webkit-scrollbar-track {
    background: #ffffff;
}

.dark-mode .vscode-window {
    background: #1e1e1e;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3),
                0 0 1px rgba(0, 0, 0, 0.5);
}

.dark-mode .vscode-titlebar {
    background: #323233;
    border-bottom: 1px solid #1e1e1e;
}

.dark-mode .vscode-title {
    color: #cccccc;
}

.dark-mode .vscode-title-sep {
    color: #666;
}

.dark-mode .vscode-project {
    color: #999;
}

.dark-mode .vscode-tabs {
    background: #252526;
    border-bottom: 1px solid #1e1e1e;
}

.dark-mode .vscode-tab {
    color: #969696;
    border-right: 1px solid #1e1e1e;
}

.dark-mode .vscode-tab-active {
    background: #1e1e1e;
    color: #ffffff;
}

.dark-mode .vscode-tab-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dark-mode .vscode-main {
    background: #1e1e1e;
}

.dark-mode .vscode-sidebar {
    background: #333333;
    border-right: 1px solid #1e1e1e;
}

.dark-mode .vscode-sidebar-icon:hover {
    color: #ffffff;
}

.dark-mode .vscode-sidebar-icon-active {
    color: #ffffff;
}

.dark-mode .vscode-explorer {
    background: #252526;
    border-right: 1px solid #1e1e1e;
}

.dark-mode .vscode-explorer-header {
    color: #cccccc;
}

.dark-mode .vscode-folder {
    color: #cccccc;
}

.dark-mode .vscode-file {
    color: #cccccc;
}

.dark-mode .vscode-file:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dark-mode .vscode-file-active {
    background: #37373d;
}

.dark-mode .vscode-editor {
    background: #1e1e1e;
}

.dark-mode .vscode-line-numbers {
    background: #1e1e1e;
    color: #858585;
}

.dark-mode .vscode-code {
    color: #d4d4d4;
}

.dark-mode .vscode-keyword {
    color: #569cd6;
}

.dark-mode .vscode-function {
    color: #dcdcaa;
}

.dark-mode .vscode-string {
    color: #ce9178;
}

.dark-mode .vscode-number {
    color: #b5cea8;
}

.dark-mode .vscode-comment {
    color: #6a9955;
}

.dark-mode .vscode-operator {
    color: #d4d4d4;
}

.dark-mode .vscode-class {
    color: #4ec9b0;
}

.dark-mode .vscode-param {
    color: #9cdcfe;
}

.dark-mode .vscode-cursor {
    background: #ffffff;
}

.dark-mode .vscode-minimap {
    display: none;
}

.dark-mode .vscode-minimap-content {
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(255, 255, 255, 0.02) 2px,
        rgba(255, 255, 255, 0.02) 4px
    );
}

.dark-mode .vscode-editor::-webkit-scrollbar {
    background: #1e1e1e;
}

.dark-mode .vscode-editor::-webkit-scrollbar-thumb {
    background: #424242;
    border: 3px solid #1e1e1e;
}

.dark-mode .vscode-editor::-webkit-scrollbar-thumb:hover {
    background: #4e4e4e;
}

.dark-mode .vscode-editor::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    text-decoration: none;
    animation: fadeIn 1s ease-out 1s both, bounce 2s infinite ease-in-out 2s;
    cursor: pointer;
}

.mouse-scroll {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.hero-scroll-indicator:hover .mouse {
    opacity: 1;
    border-color: var(--primary);
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    animation: mouse-wheel 1.5s infinite;
}

.hero-scroll-indicator:hover .mouse-wheel {
    background: var(--primary);
}

@keyframes mouse-wheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

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

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 80px 0 40px 0;
    }

    .hero-layout {
        gap: 40px;
        grid-template-columns: 45% 55%;
    }

    .hero-title {
        font-size: 2.3rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 95%;
    }

    .hero-visual {
        height: 480px;
    }

    .hero-stat {
        min-width: 110px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 100vh;
        max-height: 100vh;
        padding: 90px 20px 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .container {
        padding: 0 20px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.15;
        margin-bottom: 1rem;
    }

    .hero-title-line {
        display: block;
    }

    .hero-title-gradient::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        margin-bottom: 1.8rem;
        opacity: 0.9;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 2rem;
        width: 100%;
    }

    .btn-hero {
        padding: 14px 32px;
        font-size: 1rem;
        width: auto;
        min-width: 180px;
    }

    .hero-stats {
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
    }

    .hero-stat {
        flex-direction: column;
        padding: 10px 8px;
        min-width: 0;
        flex: 1;
        text-align: center;
        background: rgba(67, 97, 238, 0.06);
        border: 1px solid rgba(67, 97, 238, 0.12);
        border-radius: 10px;
    }

    .hero-stat-icon {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }

    .hero-stat-content {
        flex-direction: column;
        gap: 2px;
        align-items: center;
    }

    .hero-stat-value {
        font-size: 1rem;
        font-weight: 700;
    }

    .hero-stat-label {
        font-size: 0.6rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .hero-visual {
        display: none;
    }

    .hero-scroll-indicator {
        bottom: 20px;
    }

    .hero-gradient-orb {
        opacity: 0.4;
    }

    .hero-grid {
        opacity: 0.3;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 85px 18px 55px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.9rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.6rem;
    }

    .hero-buttons {
        margin-bottom: 1.8rem;
    }

    .hero-stats {
        gap: 0.4rem;
    }

    .hero-stat {
        padding: 9px 6px;
    }

    .hero-stat-icon {
        font-size: 1rem;
    }

    .hero-stat-value {
        font-size: 0.95rem;
    }

    .hero-stat-label {
        font-size: 0.58rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 16px 60px;
        height: 100vh;
        max-height: 100vh;
    }

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.9rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        margin-bottom: 1.5rem;
        gap: 0.6rem;
    }

    .btn-hero {
        width: 100%;
        max-width: 240px;
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 0.4rem;
    }

    .hero-stat {
        padding: 8px 5px;
        border-radius: 10px;
    }

    .hero-stat-icon {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }

    .hero-stat-value {
        font-size: 0.9rem;
    }

    .hero-stat-label {
        font-size: 0.55rem;
    }

    .hero-scroll-indicator {
        bottom: 15px;
    }

    .mouse {
        width: 20px;
        height: 32px;
    }

    .mouse-wheel {
        width: 2.5px;
        height: 5px;
    }
}

@media (max-width: 360px) {
    .hero {
        padding: 75px 12px 55px;
        height: 100vh;
        max-height: 100vh;
    }

    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.2;
        margin-bottom: 0.7rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.45;
        margin-bottom: 1.3rem;
    }

    .hero-buttons {
        margin-bottom: 1.3rem;
    }

    .btn-hero {
        max-width: 100%;
        padding: 11px 24px;
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 0.3rem;
    }

    .hero-stat {
        padding: 7px 4px;
    }

    .hero-stat-icon {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .hero-stat-value {
        font-size: 0.85rem;
    }

    .hero-stat-label {
        font-size: 0.5rem;
    }

    .hero-scroll-indicator {
        bottom: 12px;
    }

    .mouse {
        width: 18px;
        height: 28px;
    }

    .mouse-wheel {
        width: 2px;
        height: 4px;
    }
}

.dark-mode .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e293b 100%);
}

.dark-mode .hero-gradient-orb-1 {
    background: radial-gradient(circle, rgba(72, 149, 239, 0.3) 0%, transparent 70%);
}

.dark-mode .hero-gradient-orb-2 {
    background: radial-gradient(circle, rgba(76, 201, 240, 0.25) 0%, transparent 70%);
}

.dark-mode .hero-gradient-orb-3 {
    background: radial-gradient(circle, rgba(67, 97, 238, 0.2) 0%, transparent 70%);
}

.dark-mode .hero-grid {
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
}

.dark-mode .hero-title-line {
    color: var(--text-primary);
}

.dark-mode .hero-subtitle {
    color: var(--text-secondary);
}

.dark-mode .hero-stat {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
}

.dark-mode .hero-stat:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.35);
}

.dark-mode .hero-stat-icon {
    color: var(--accent);
}

.dark-mode .hero-stat-value {
    color: var(--text-primary);
}

.dark-mode .hero-stat-label {
    color: var(--text-secondary);
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    background-size: 200% 200%;
    animation: gradientPulse 3s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.5);
    animation: gradientPulse 1.5s ease infinite;
}

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

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

.btn-outline::before {
    background: rgba(67, 97, 238, 0.1);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
    border-color: var(--primary);
}

.mission {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.mission-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.mission-particles::before,
.mission-particles::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: floatMission 20s ease-in-out infinite;
}

.mission-particles::before {
    background: radial-gradient(circle, rgba(76, 201, 240, 0.5), transparent);
    top: -200px;
    right: -200px;
}

.mission-particles::after {
    background: radial-gradient(circle, rgba(67, 97, 238, 0.4), transparent);
    bottom: -200px;
    left: -200px;
    animation-delay: 10s;
}

@keyframes floatMission {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, -40px) scale(1.1);
    }
}

.mission .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--accent) 50%, var(--gradient-end) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    animation: gradientShift 8s ease infinite;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(67, 97, 238, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.value-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.value-card .value-card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(37, 150, 190, 0.3), transparent 70%);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(37, 150, 190, 0.2);
    border-color: rgba(37, 150, 190, 0.25);
}

.value-card:hover .value-card-glow {
    opacity: 1;
}

.value-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(76, 201, 240, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: var(--primary);
    transition: all 0.4s ease;
    border: 2px solid rgba(67, 97, 238, 0.15);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
    border-color: transparent;
}

.value-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--accent) 50%, var(--gradient-end) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

.value-description {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.courses {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.courses-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.courses-particles::before,
.courses-particles::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.courses-particles::before {
    background: radial-gradient(circle, rgba(67, 97, 238, 0.4), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.courses-particles::after {
    background: radial-gradient(circle, rgba(76, 201, 240, 0.3), transparent);
    bottom: -200px;
    right: -200px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.courses .container {
    position: relative;
    z-index: 1;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(67, 97, 238, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.course-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(67, 97, 238, 0.2);
    border-color: rgba(67, 97, 238, 0.25);
}

.course-card:hover .course-card-glow {
    opacity: 1;
}

.course-card .course-card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(67, 97, 238, 0.25), transparent 70%);
}

.course-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(76, 201, 240, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: var(--primary);
    transition: all 0.4s ease;
    border: 2px solid rgba(67, 97, 238, 0.15);
}

.course-card:hover .course-icon-wrapper {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
    border-color: transparent;
}

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

.course-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--accent) 50%, var(--gradient-end) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

.course-description {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.course-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.course-feature {
    padding: 10px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.course-feature:nth-child(1) {
    animation-delay: 0.1s;
}

.course-feature:nth-child(2) {
    animation-delay: 0.2s;
}

.course-feature:nth-child(3) {
    animation-delay: 0.3s;
}

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

.course-feature:hover {
    transform: translateX(5px);
}

.course-feature i {
    color: #48bb78;
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(72, 187, 120, 0.1);
    border-radius: 50%;
    padding: 4px;
    transition: all 0.3s ease;
}

.course-feature:hover i {
    background: rgba(72, 187, 120, 0.2);
    transform: scale(1.1);
}

.course-feature span {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.course-button {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    background-size: 200% 200%;
    animation: gradientPulse 3s ease infinite;
}

.course-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.5);
    animation: gradientPulse 1.5s ease infinite;
}

.course-button i {
    transition: transform 0.4s ease;
}

.course-button:hover i {
    transform: translateX(5px);
}


.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(67, 97, 238, 0.05) 100%);
    color: var(--dark);
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at 50% 0%, rgba(67, 97, 238, 0.1), transparent 50%);
    animation: footerPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--gradient-start) 50%,
        transparent 100%);
    animation: footerLineShine 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes footerPulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

@keyframes footerLineShine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(67, 97, 238, 0.15);
    box-shadow: 0 8px 32px rgba(67, 97, 238, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.footer-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.1), transparent);
    animation: footerLogoShine 3s ease-in-out infinite;
}

@keyframes footerLogoShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.footer-logo-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(67, 97, 238, 0.2);
    border-color: rgba(67, 97, 238, 0.3);
}

.footer-logo-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(67, 97, 238, 0.3));
}

.footer-logo-icon .logo-bg-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-logo-icon:hover .logo-bg-layer {
    opacity: 1;
}

.footer-logo-icon .code-symbol {
    position: absolute;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Fira Code', monospace;
    transition: all 0.3s ease;
    z-index: 0;
}

.footer-logo-icon .code-symbol-left {
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.footer-logo-icon .code-symbol-right {
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.footer-logo-icon:hover .code-symbol {
    color: rgba(255, 255, 255, 0.9);
}

.footer-logo-icon .rocket-icon {
    font-size: 2rem;
    color: white;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.footer-logo-icon:hover .rocket-icon {
    transform: rotate(-45deg) scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-logo-icon .trail-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: trailFade 1.5s ease-out infinite;
}

.footer-logo-icon .trail-dot-1 {
    bottom: 12px;
    right: 12px;
    animation-delay: 0s;
}

.footer-logo-icon .trail-dot-2 {
    bottom: 18px;
    right: 18px;
    animation-delay: 0.3s;
}

.footer-logo-icon .trail-dot-3 {
    bottom: 24px;
    right: 24px;
    animation-delay: 0.6s;
}

.footer-logo-icon:hover .trail-dot {
    animation: trailBurst 1s ease-out infinite;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo-main {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--accent) 50%, var(--gradient-end) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

.footer-logo-sub {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.footer-text {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
    padding: 0 20px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-social-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 5px;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 1px solid rgba(67, 97, 238, 0.1);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-link i {
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-link span {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.social-link:hover {
    transform: translateX(8px) translateY(-3px);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
    border-color: transparent;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover i {
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
}

.social-link:hover span {
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 5px;
}

.footer-contact-text {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 0;
}

.footer-contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 1px solid rgba(67, 97, 238, 0.1);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-contact-email::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer-contact-email i {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.footer-contact-email span {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.footer-contact-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
    border-color: transparent;
}

.footer-contact-email:hover::before {
    opacity: 1;
}

.footer-contact-email:hover i,
.footer-contact-email:hover span {
    color: white;
}

.footer-bottom {
    grid-column: 1 / -1;
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid rgba(67, 97, 238, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.footer-author {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.footer-author a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.footer-author a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.footer-author a:hover {
    color: var(--accent);
}

.footer-author a:hover::after {
    width: 100%;
}

.heart {
    color: #ff6b6b;
    display: inline-block;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
}


.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
    transform: translateY(-3px);
}

.scroll-to-top:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.scroll-to-top i {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
}

.dark-mode .scroll-to-top {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.dark-mode .scroll-to-top:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

.theme-toggle {
    background: rgba(67, 97, 238, 0.08);
    border: 2px solid rgba(67, 97, 238, 0.15);
    cursor: pointer;
    font-size: 1rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--primary);
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-left: 12px;
}

.theme-toggle:hover {
    background: rgba(67, 97, 238, 0.15);
    border-color: rgba(67, 97, 238, 0.3);
    transform: scale(1.05);
}

.theme-toggle i {
    position: absolute;
    transition: all 0.3s ease;
}

.theme-toggle .fa-sun {
    opacity: 0;
    transform: rotate(90deg);
}

.dark-mode .theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(-90deg);
}

.dark-mode .theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0);
}

.dark-mode .theme-toggle {
    background: rgba(72, 149, 239, 0.15);
    border-color: rgba(72, 149, 239, 0.25);
    color: var(--accent);
}

.dark-mode .theme-toggle:hover {
    background: rgba(72, 149, 239, 0.25);
    border-color: rgba(72, 149, 239, 0.4);
}


.dark-mode {
    --primary: #4895ef;
    --secondary: #4361ee;
    --accent: #4cc9f0;
    --dark: #f8f9fa;
    --light: #121212;
    --gradient-start: #4cc9f0;
    --gradient-end: #4361ee;
    --gray: #adb5bd;
    --light-gray: #1e1e1e;
    --bg-primary: #121212;
    --bg-secondary: #0d1b2a;
    --bg-tertiary: #1a1a1a;
    --card-bg: #1a2332;
    --text-primary: #f8f9fa;
    --text-secondary: #b8c5d3;
    --border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode body {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.dark-mode .header {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(72, 149, 239, 0.15);
}

.dark-mode .header.scrolled {
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    padding: 8px 0;
}

.dark-mode .logo:hover {
    background: rgba(72, 149, 239, 0.08);
}

.dark-mode .logo-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    box-shadow: 0 2px 8px rgba(72, 149, 239, 0.3);
}

.dark-mode .logo:hover .logo-icon {
    box-shadow: 0 4px 16px rgba(72, 149, 239, 0.45);
}

.dark-mode .logo-bg-layer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.dark-mode .logo-sub {
    color: var(--text-secondary);
}

.dark-mode .logo-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .nav-link {
    color: var(--dark);
}

.dark-mode .nav-link:hover {
    color: var(--accent);
    background: rgba(72, 149, 239, 0.1);
}

.dark-mode .footer {
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(72, 149, 239, 0.05) 100%);
}

.dark-mode .footer::before {
    background: radial-gradient(circle at 50% 0%, rgba(72, 149, 239, 0.15), transparent 50%);
}

.dark-mode .footer::after {
    background: linear-gradient(90deg,
        transparent 0%,
        #4895ef 50%,
        transparent 100%);
}

.dark-mode .footer-logo-wrapper {
    background: rgba(26, 35, 50, 0.7);
    border-color: rgba(72, 149, 239, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.dark-mode .footer-logo-wrapper:hover {
    box-shadow: 0 12px 40px rgba(72, 149, 239, 0.3);
    border-color: rgba(72, 149, 239, 0.4);
}

.dark-mode .footer-logo-wrapper::before {
    background: linear-gradient(90deg, transparent, rgba(72, 149, 239, 0.15), transparent);
}

.dark-mode .footer-logo-main {
    background: linear-gradient(135deg, #4895ef 0%, #4cc9f0 50%, #4facfe 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .footer-logo-sub,
.dark-mode .footer-text,
.dark-mode .footer-contact-text {
    color: var(--text-secondary);
}

.dark-mode .footer-social-title,
.dark-mode .footer-contact-title {
    color: var(--text-primary);
}

.dark-mode .social-link {
    background: rgba(26, 35, 50, 0.6);
    border-color: rgba(72, 149, 239, 0.15);
    color: var(--text-primary);
}

.dark-mode .social-link i {
    background: linear-gradient(135deg, #4895ef, #4cc9f0, #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .social-link span {
    background: linear-gradient(135deg, #4895ef, #4cc9f0, #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .social-link::before {
    background: linear-gradient(135deg, #4895ef, #4cc9f0);
}

.dark-mode .social-link:hover {
    box-shadow: 0 10px 30px rgba(72, 149, 239, 0.4);
}

.dark-mode .social-link:hover i {
    background: linear-gradient(135deg, #ffffff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .social-link:hover span {
    background: linear-gradient(135deg, #ffffff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .footer-contact-email {
    background: rgba(26, 35, 50, 0.6);
    border-color: rgba(72, 149, 239, 0.15);
    color: #4895ef;
}

.dark-mode .footer-contact-email::before {
    background: linear-gradient(135deg, #4895ef, #4cc9f0);
}

.dark-mode .footer-contact-email:hover {
    box-shadow: 0 10px 30px rgba(72, 149, 239, 0.4);
}

.dark-mode .footer-bottom {
    border-top-color: rgba(72, 149, 239, 0.15);
}

.dark-mode .copyright,
.dark-mode .footer-author {
    color: var(--text-secondary);
}

.dark-mode .footer-author a {
    color: #4895ef;
}

.dark-mode .footer-author a:hover {
    color: #4cc9f0;
}

.dark-mode .footer-author a::after {
    background: linear-gradient(90deg, #4895ef, #4cc9f0);
}

.dark-mode .mission {
    background: var(--bg-secondary);
}

.dark-mode .mission-particles::before {
    background: radial-gradient(circle, rgba(72, 149, 239, 0.3), transparent);
}

.dark-mode .mission-particles::after {
    background: radial-gradient(circle, rgba(76, 201, 240, 0.25), transparent);
}

.dark-mode .section-title {
    background: linear-gradient(135deg, var(--dark) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .section-description {
    color: var(--text-secondary);
}

.dark-mode .value-card {
    background: rgba(26, 35, 50, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(72, 149, 239, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.dark-mode .value-card:hover {
    box-shadow: 0 20px 50px rgba(72, 149, 239, 0.25);
    border-color: rgba(72, 149, 239, 0.3);
}

.dark-mode .value-icon {
    background: linear-gradient(135deg, rgba(72, 149, 239, 0.1), rgba(79, 172, 254, 0.1));
    color: #4895ef;
    border-color: rgba(72, 149, 239, 0.15);
}

.dark-mode .value-card:hover .value-icon {
    background: linear-gradient(135deg, #4895ef, #4cc9f0);
    box-shadow: 0 8px 20px rgba(72, 149, 239, 0.3);
}

.dark-mode .value-title {
    color: var(--text-primary);
}

.dark-mode .value-description {
    color: var(--text-secondary);
}

.dark-mode .courses {
    background: var(--bg-primary);
}

.dark-mode .courses-particles::before {
    background: radial-gradient(circle, rgba(72, 149, 239, 0.3), transparent);
}

.dark-mode .courses-particles::after {
    background: radial-gradient(circle, rgba(76, 201, 240, 0.2), transparent);
}

.dark-mode .course-card {
    background: rgba(26, 35, 50, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(72, 149, 239, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.dark-mode .course-card:hover {
    box-shadow: 0 20px 50px rgba(72, 149, 239, 0.25);
    border-color: rgba(72, 149, 239, 0.3);
}

.dark-mode .course-card .course-card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(72, 149, 239, 0.3), transparent 70%);
}

.dark-mode .course-icon-wrapper {
    background: linear-gradient(135deg, rgba(72, 149, 239, 0.1), rgba(79, 172, 254, 0.1));
    border-color: rgba(72, 149, 239, 0.15);
    color: #4895ef;
}

.dark-mode .course-card:hover .course-icon-wrapper {
    background: linear-gradient(135deg, #4895ef, #4cc9f0);
    box-shadow: 0 8px 20px rgba(72, 149, 239, 0.3);
}

.dark-mode .course-title {
    color: var(--text-primary);
}

.dark-mode .course-description {
    color: var(--text-secondary);
}

.dark-mode .course-feature span {
    color: var(--text-primary);
}

.dark-mode .course-feature i {
    background: rgba(72, 187, 120, 0.15);
}

.dark-mode .course-feature:hover i {
    background: rgba(72, 187, 120, 0.25);
}

.dark-mode .hero {
    background: linear-gradient(135deg, #0a1628 0%, #0d1b2a 50%, #162033 100%);
}

.dark-mode .hero::before {
    background: radial-gradient(circle at 30% 50%, rgba(72, 149, 239, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(76, 201, 240, 0.1) 0%, transparent 50%);
    filter: blur(80px);
}

.dark-mode .hero::after {
    background: linear-gradient(135deg, rgba(72, 149, 239, 0.2), rgba(76, 201, 240, 0.15), rgba(58, 12, 163, 0.1));
    filter: blur(50px);
}

.dark-mode .hero .container::before {
    background: radial-gradient(circle, rgba(72, 149, 239, 0.1) 0%, transparent 70%);
}

.dark-mode .hero .container::after {
    background: radial-gradient(circle, rgba(76, 201, 240, 0.08) 0%, transparent 70%);
}

.dark-mode .code-rain {
    opacity: 0.2;
}

.dark-mode .code-rain span {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(72, 149, 239, 0.8);
}

.dark-mode .code-snippet {
    color: rgba(72, 149, 239, 0.8);
    background: rgba(72, 149, 239, 0.08);
    border-color: rgba(72, 149, 239, 0.3);
    box-shadow: 0 4px 6px rgba(72, 149, 239, 0.2);
}


.dark-mode .btn-outline {
    border-color: var(--dark);
    color: var(--dark);
}

.dark-mode .btn-outline:hover {
    background: var(--dark);
    color: var(--light);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes orbit {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-50px, 30px) scale(1.1);
    }
    50% {
        transform: translate(-30px, -40px) scale(0.9);
    }
    75% {
        transform: translate(40px, -20px) scale(1.05);
    }
}

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

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.5s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal-left,
    .scroll-reveal-right,
    .scroll-reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.3rem;
    }
    .code-rain {
        opacity: 0.1;
    }
    .code-snippet {
        font-size: 10px;
        padding: 6px 10px;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-social,
    .footer-contact {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .btn-mobile-hide {
        display: none;
    }

    .code-rain {
        opacity: 0.08;
    }
    .code-snippet {
        font-size: 10px;
        padding: 6px 8px;
    }

    .logo {
        padding: 4px 8px;
        gap: 8px;
    }

    .footer {
        padding: 60px 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-brand,
    .footer-social,
    .footer-contact {
        padding: 30px;
    }

    .footer-logo-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .footer-logo-icon {
        width: 60px;
        height: 60px;
    }

    .footer-logo-icon .rocket-icon {
        font-size: 1.7rem;
    }

    .footer-logo-icon .code-symbol {
        font-size: 1rem;
    }

    .footer-logo-icon .code-symbol-left {
        left: 3px;
    }

    .footer-logo-icon .code-symbol-right {
        right: 3px;
    }

    .footer-logo-icon .trail-dot {
        width: 4px;
        height: 4px;
    }

    .footer-logo-main {
        font-size: 1.4rem;
    }

    .footer-logo-sub {
        font-size: 0.85rem;
    }

    .footer-text {
        font-size: 0.95rem;
        text-align: center;
    }

    .footer-social-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .social-link {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    .social-link i {
        font-size: 1.3rem;
    }

    .footer-contact-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .footer-contact-text {
        font-size: 0.9rem;
        text-align: center;
    }

    .footer-contact-email {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .footer-contact-email i {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .rocket-icon {
        font-size: 1.15rem;
    }

    .code-symbol {
        font-size: 0.8rem;
    }

    .code-symbol-left {
        left: 2px;
    }

    .code-symbol-right {
        right: 2px;
    }

    .trail-dot {
        width: 3px;
        height: 3px;
    }

    .logo-main {
        font-size: 1.1rem;
    }

    .logo-sub {
        font-size: 0.65rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 7px 12px;
    }

    .nav-button {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        border-top: 1px solid rgba(67, 97, 238, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav.active {
        max-height: 350px;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        padding: 25px 20px;
        gap: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(67, 97, 238, 0.08);
        animation: slideInLeft 0.3s ease forwards;
        opacity: 0;
    }

    .nav.active .nav-list li {
        opacity: 1;
    }

    .nav.active .nav-list li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav.active .nav-list li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav.active .nav-list li:nth-child(3) {
        animation-delay: 0.2s;
    }

    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-list li:last-child {
        border: none;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(67, 97, 238, 0.15);
    }

    #theme-switch {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        border: none;
    }

    .nav-icon-mobile {
        display: none;
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 16px 12px;
        text-align: left;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-link i {
        font-size: 1rem;
        color: var(--primary);
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(67, 97, 238, 0.08);
        transform: translateX(5px);
    }

    .nav-link:hover i {
        transform: scale(1.1);
        color: var(--secondary);
    }

    .nav-button {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .theme-toggle {
        width: 42px;
        height: 42px;
        margin-left: 0;
        flex-shrink: 0;
    }
    
    .hero-content {
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .theme-toggle {
        margin-left: 20px;
    }

    .dark-mode .nav {
        background: rgba(30, 30, 30, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(72, 149, 239, 0.15);
    }
    
    .dark-mode .nav-list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dark-mode .nav-link {
        color: #f0f0f0;
    }

    .dark-mode .nav-link i {
        color: var(--accent);
    }

    .dark-mode .nav-link:hover i {
        color: var(--primary);
    }
    
    .dark-mode .menu-toggle {
        background: rgba(72, 149, 239, 0.1);
        border-color: rgba(72, 149, 239, 0.2);
    }

    .dark-mode .menu-toggle:hover {
        background: rgba(72, 149, 239, 0.15);
        border-color: rgba(72, 149, 239, 0.3);
    }

    .dark-mode .menu-toggle i {
        color: var(--accent);
    }
    
    .dark-mode .nav-button {
        background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
        color: white !important;
    }

    .mission {
        padding: 60px 0;
    }

    .mission-particles::before,
    .mission-particles::after {
        width: 300px;
        height: 300px;
        filter: blur(60px);
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-description {
        font-size: 1.05rem;
    }

    .values {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }

    .value-card {
        padding: 35px 25px;
    }

    .value-icon {
        width: 85px;
        height: 85px;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .value-title {
        font-size: 1.5rem;
    }

    .value-description {
        font-size: 1rem;
    }

    .courses {
        padding: 60px 0;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }

    .course-card {
        border-radius: 20px;
        padding: 35px 25px;
    }

    .course-icon-wrapper {
        width: 90px;
        height: 90px;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .course-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .course-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .course-features {
        margin-bottom: 25px;
    }

    .course-feature {
        padding: 8px 0;
    }

    .course-feature i {
        font-size: 0.9rem;
        width: 18px;
        height: 18px;
    }

    .course-feature span {
        font-size: 0.9rem;
    }

    .course-button {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .courses-particles::before,
    .courses-particles::after {
        width: 250px;
        height: 250px;
        filter: blur(60px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .logo {
        padding: 3px 6px;
        gap: 6px;
    }

    .footer {
        padding: 50px 0 0;
    }

    .footer-content {
        gap: 35px;
    }

    .footer-logo-icon {
        width: 55px;
        height: 55px;
    }

    .footer-logo-icon .rocket-icon {
        font-size: 1.5rem;
    }

    .footer-logo-icon .code-symbol {
        font-size: 0.9rem;
    }

    .footer-logo-icon .trail-dot {
        width: 4px;
        height: 4px;
    }

    .footer-logo-main {
        font-size: 1.3rem;
    }

    .footer-logo-sub {
        font-size: 0.8rem;
    }

    .footer-text {
        font-size: 0.9rem;
    }

    .footer-social-title {
        font-size: 1.1rem;
    }

    .social-link {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .social-link i {
        font-size: 1.2rem;
    }

    .footer-bottom {
        padding: 25px 0;
    }

    .copyright,
    .footer-author {
        font-size: 0.85rem;
    }

    .footer-contact-title {
        font-size: 1.1rem;
    }

    .footer-contact-text {
        font-size: 0.88rem;
    }

    .footer-contact-email {
        padding: 11px 18px;
        font-size: 0.9rem;
    }

    .footer-contact-email i {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .rocket-icon {
        font-size: 1rem;
    }

    .code-symbol {
        font-size: 0.75rem;
    }

    .code-symbol-left {
        left: 2px;
    }

    .code-symbol-right {
        right: 2px;
    }

    .trail-dot {
        width: 3px;
        height: 3px;
    }

    .logo-main {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.6rem;
    }

    .nav-button {
        padding: 7px 16px;
        font-size: 0.8rem;
        gap: 5px;
    }

    .nav-button i {
        font-size: 0.85rem;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        margin-left: 8px;
    }

    .mission {
        padding: 50px 0;
    }

    .mission-particles::before,
    .mission-particles::after {
        width: 250px;
        height: 250px;
        filter: blur(50px);
    }

    .section-title {
        font-size: 1.9rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .values {
        gap: 20px;
        padding: 0 5px;
    }

    .value-card {
        padding: 30px 20px;
    }

    .value-icon {
        width: 75px;
        height: 75px;
        font-size: 1.8rem;
        margin-bottom: 18px;
    }

    .value-title {
        font-size: 1.35rem;
    }

    .value-description {
        font-size: 0.95rem;
    }

    .courses {
        padding: 50px 0;
    }

    .courses-grid {
        gap: 20px;
        padding: 0 5px;
    }

    .course-card {
        padding: 30px 20px;
    }

    .course-icon-wrapper {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
        margin-bottom: 18px;
    }

    .course-title {
        font-size: 1.35rem;
    }

    .course-description {
        font-size: 0.9rem;
    }

    .course-feature span {
        font-size: 0.85rem;
    }

    .course-button {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .courses-particles::before,
    .courses-particles::after {
        width: 200px;
        height: 200px;
        filter: blur(50px);
    }
}

.courses-page {
    padding: 100px 0;
}

.filter-container {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 50px;
    border: 2px solid var(--light-gray);
    background: transparent;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--light-gray);
    color: var(--dark);
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tag:hover, .filter-tag.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.dark-mode .tag {
    background: rgba(72, 149, 239, 0.2);
    color: var(--accent);
}

.course-grid-empty {
    text-align: center;
    padding: 50px;
    color: var(--gray);
    font-size: 1.2rem;
}

.posts {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.posts-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.posts-particles::before,
.posts-particles::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: floatPosts 18s ease-in-out infinite;
}

.posts-particles::before {
    background: radial-gradient(circle, rgba(67, 97, 238, 0.5), transparent);
    top: -180px;
    left: -180px;
}

.posts-particles::after {
    background: radial-gradient(circle, rgba(76, 201, 240, 0.4), transparent);
    bottom: -180px;
    right: -180px;
    animation-delay: 9s;
}

@keyframes floatPosts {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.posts .container {
    position: relative;
    z-index: 1;
}

.posts-slider-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.posts-dots,
.video-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    padding: 25px 0 15px 0;
}

.posts-dots .dot,
.video-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.posts-dots .dot:hover,
.video-dots .dot:hover {
    background: rgba(67, 97, 238, 0.4);
    transform: scale(1.2);
}

.posts-dots .dot.active,
.video-dots .dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(67, 97, 238, 0.3);
}

.dark-mode .posts-dots .dot,
.dark-mode .video-dots .dot {
    background: rgba(72, 149, 239, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dark-mode .posts-dots .dot:hover,
.dark-mode .video-dots .dot:hover {
    background: rgba(72, 149, 239, 0.5);
}

.dark-mode .posts-dots .dot.active,
.dark-mode .video-dots .dot.active {
    background: var(--accent);
    box-shadow: 0 4px 8px rgba(72, 149, 239, 0.4);
}

.dark-mode .video-slider-wrapper::after {
    background: linear-gradient(to left, var(--light) 0%, transparent 100%);
}

.posts-slider {
    flex: 1;
    overflow: hidden;
    padding: 20px 0 40px 0;
}

.posts-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: stretch;
}

@media (min-width: 1024px) {
    .posts-track .post-card {
        min-width: calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 1023px) {
    .posts-track .post-card {
        min-width: 100%;
        max-width: 100%;
    }
}

.post-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(67, 97, 238, 0.12);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
        var(--gradient-start),
        var(--accent),
        var(--gradient-end)
    );
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.post-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle at center, rgba(67, 97, 238, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.post-card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(67, 97, 238, 0.03) 0%,
        transparent 40%,
        rgba(58, 12, 163, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 15px 35px rgba(67, 97, 238, 0.15),
        0 5px 15px rgba(67, 97, 238, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(67, 97, 238, 0.25);
}

.post-card:hover .post-card-glow {
    opacity: 1;
}

.post-card:hover .post-card-gradient {
    opacity: 1;
}

.post-card:active {
    transform: translateY(-8px) scale(1.01);
}

/* Post Header */
.post-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px 0;
    z-index: 1;
}

.post-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(67, 97, 238, 0.08);
    color: var(--gradient-start);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(67, 97, 238, 0.15);
    transition: all 0.3s ease;
}

.post-badge i {
    font-size: 0.9rem;
}

.post-card:hover .post-badge {
    background: rgba(67, 97, 238, 0.12);
    border-color: rgba(67, 97, 238, 0.25);
    transform: translateY(-2px);
}

.post-bookmark {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 97, 238, 0.08);
    border-radius: 12px;
    color: var(--gradient-start);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0;
}

.post-card:hover .post-bookmark {
    opacity: 1;
    background: rgba(67, 97, 238, 0.12);
}

.post-bookmark:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    transform: scale(1.1);
}

/* Post Body */
.post-body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.post-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 16px 0;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--accent) 50%, var(--gradient-end) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    animation: gradientShift 8s ease infinite;
}

.post-description {
    color: var(--gray);
    margin: 0 0 24px 0;
    line-height: 1.7;
    font-size: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post Footer */
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-top: auto;
}

.post-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.post-author,
.post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.post-author i,
.post-date i {
    font-size: 0.85rem;
    opacity: 0.7;
}

.post-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(67, 97, 238, 0.08);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gradient-start);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid rgba(67, 97, 238, 0.15);
}

.post-card:hover .post-read-more {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.25);
}

.post-read-more i {
    transition: transform 0.3s ease;
}

.post-card:hover .post-read-more i {
    transform: translateX(4px);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.post-meta i {
    color: var(--primary);
    font-size: 0.9rem;
}

.no-posts {
    text-align: center;
    padding: 50px;
    color: var(--gray);
    font-size: 1.1rem;
}

.posts-nav {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.posts-nav:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
    transform: translateY(-2px);
}

.posts-nav:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(67, 97, 238, 0.2);
}

.posts-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.posts-nav i {
    pointer-events: none;
}

.blog-post-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--light-gray);
}

.blog-post-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    gap: 30px;
    font-size: 1rem;
    color: var(--gray);
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-post-meta i {
    color: var(--accent);
}

.dark-mode .posts {
    background: var(--bg-primary);
}

.dark-mode .posts-particles::before {
    background: radial-gradient(circle, rgba(72, 149, 239, 0.3), transparent);
}

.dark-mode .posts-particles::after {
    background: radial-gradient(circle, rgba(76, 201, 240, 0.25), transparent);
}

.dark-mode .post-card {
    background: linear-gradient(145deg, rgba(26, 35, 50, 0.95), rgba(20, 28, 40, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    border-color: rgba(67, 97, 238, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dark-mode .post-card:hover {
    border-color: rgba(67, 97, 238, 0.35);
    box-shadow:
        0 15px 35px rgba(67, 97, 238, 0.25),
        0 5px 15px rgba(67, 97, 238, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dark-mode .post-card-glow {
    background: radial-gradient(circle at center, rgba(67, 97, 238, 0.2), transparent 60%);
}

.dark-mode .post-card-gradient {
    background: linear-gradient(135deg,
        rgba(67, 97, 238, 0.05) 0%,
        transparent 40%,
        rgba(58, 12, 163, 0.05) 100%
    );
}

.dark-mode .post-badge {
    background: rgba(67, 97, 238, 0.15);
    border-color: rgba(67, 97, 238, 0.25);
    color: rgba(99, 163, 253, 1);
}

.dark-mode .post-card:hover .post-badge {
    background: rgba(67, 97, 238, 0.25);
    border-color: rgba(67, 97, 238, 0.4);
}

.dark-mode .post-bookmark {
    background: rgba(67, 97, 238, 0.15);
    color: rgba(67, 97, 238, 1);
}

.dark-mode .post-card:hover .post-bookmark {
    background: rgba(67, 97, 238, 0.25);
}

.dark-mode .post-bookmark:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.dark-mode .post-title {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--accent) 50%, var(--gradient-end) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

.dark-mode .post-description {
    color: rgba(255, 255, 255, 0.7);
}

.dark-mode .post-author,
.dark-mode .post-date {
    color: rgba(255, 255, 255, 0.6);
}

.dark-mode .post-read-more {
    background: rgba(67, 97, 238, 0.15);
    border-color: rgba(67, 97, 238, 0.25);
    color: rgba(99, 163, 253, 1);
    font-weight: 700;
}

.dark-mode .post-card:hover .post-read-more {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.35);
}

.dark-mode .post-meta {
    border-top-color: rgba(72, 149, 239, 0.1);
    color: var(--text-secondary);
}

.dark-mode .post-meta i {
    color: var(--accent);
}

.dark-mode .blog-post-header {
    border-bottom-color: var(--border-color);
}

.dark-mode .blog-post-header h1 {
    color: #f8f9fa;
}

.dark-mode .posts-nav {
    background: var(--card-bg);
    color: var(--accent);
    border-color: var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.dark-mode .posts-nav:hover:not(:disabled) {
    background: var(--accent);
    color: #0d1b2a;
    box-shadow: 0 6px 20px rgba(72, 149, 239, 0.4);
}

.dark-mode .posts-nav:active:not(:disabled) {
    box-shadow: 0 2px 10px rgba(72, 149, 239, 0.3);
}

.dark-mode .posts-nav:disabled {
    background: var(--card-bg);
    color: var(--accent);
    border-color: var(--border-color);
    opacity: 0.3;
}

@media (max-width: 1024px) {
    .posts-slider-wrapper {
        gap: 25px;
    }

    .posts-nav {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .post-read-more {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .posts,
    .video-courses {
        padding: 60px 0;
    }

    .posts-nav,
    .video-nav {
        display: none !important;
    }

    .posts-dots,
    .video-dots {
        display: flex !important;
    }

    .posts-slider-wrapper,
    .video-slider-wrapper {
        flex-direction: column;
        gap: 0;
        padding: 0;
        position: relative;
    }

    .post-header {
        padding: 20px 24px 0;
    }

    .post-body {
        padding: 24px;
    }

    .post-title {
        font-size: 1.35rem;
    }

    .post-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .post-bookmark {
        opacity: 1;
        width: 32px;
        height: 32px;
    }

    .post-author,
    .post-date {
        font-size: 0.85rem;
    }

    .post-card:hover {
        transform: translateY(-6px);
    }

    .video-card:hover {
        transform: translateY(-6px);
    }

    .video-body {
        padding: 26px 22px;
    }

    .video-title {
        font-size: 1.4rem;
        margin-bottom: 14px;
        line-height: 1.35;
    }

    .video-thumbnail {
        padding-bottom: 56.25%;
        height: auto;
    }

    .video-description {
        font-size: 0.95rem;
        -webkit-line-clamp: 3;
        line-height: 1.6;
    }

    .video-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .video-platform {
        display: none !important;
    }

    .video-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .video-cta {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 0.92rem;
        border-radius: 11px;
    }

    .video-card {
        border-radius: 22px;
    }

    .video-overlay {
        padding: 16px 24px;
        font-size: 0.92rem;
    }

    .video-slider-wrapper::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 60px;
        width: 60px;
        background: linear-gradient(to left, var(--bg-secondary) 0%, transparent 100%);
        pointer-events: none;
        z-index: 1;
    }

    .posts-slider,
    .video-slider {
        width: 100%;
        padding: 20px 0 15px 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-behavior: smooth;
        scroll-padding: 0 5%;
    }

    .posts-slider::-webkit-scrollbar,
    .video-slider::-webkit-scrollbar {
        display: none;
    }

    .posts-track,
    .video-track {
        display: flex;
        gap: 20px;
        padding: 0 5%;
        transform: none !important;
        transition: none !important;
        align-items: stretch;
    }

    .posts-track .post-card,
    .video-track .video-card {
        min-width: 92%;
        max-width: 92%;
        flex-shrink: 0;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .posts-track .post-card:active,
    .video-track .video-card:active {
        transform: scale(0.98);
    }

    .post-header {
        padding: 28px 25px 20px 25px;
    }

    .post-body {
        padding: 22px 25px 28px 25px;
    }

    .post-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .posts,
    .video-courses {
        padding: 50px 0;
    }

    .posts-slider-wrapper,
    .video-slider-wrapper {
        padding: 0;
    }

    .video-slider-wrapper::after {
        width: 40px;
    }

    .posts-track,
    .video-track {
        gap: 15px;
        padding: 0 3%;
    }

    .posts-track .post-card,
    .video-track .video-card {
        min-width: 96%;
        max-width: 96%;
    }

    .posts-dots,
    .video-dots {
        padding: 20px 0 10px 0;
        gap: 8px;
    }

    .posts-dots .dot,
    .video-dots .dot {
        width: 8px;
        height: 8px;
    }

    .posts-dots .dot.active,
    .video-dots .dot.active {
        width: 28px;
    }

    .video-body {
        padding: 22px 18px;
    }

    .video-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
        line-height: 1.35;
    }

    .video-thumbnail {
        padding-bottom: 56.25%;
        height: auto;
    }

    .video-description {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 18px;
        -webkit-line-clamp: 3;
    }

    .video-platform {
        display: none !important;
    }

    .video-cta {
        padding: 11px 18px;
        font-size: 0.88rem;
        border-radius: 10px;
        width: 100%;
        justify-content: center;
    }

    .video-footer {
        gap: 0;
        align-items: stretch;
    }

    .video-card {
        border-radius: 20px;
    }

    .post-header {
        padding: 25px 20px 18px 20px;
    }

    .post-body {
        padding: 20px 20px 25px 20px;
    }

    .post-title {
        font-size: 1.25rem;
    }

    .post-description {
        font-size: 0.93rem;
        line-height: 1.65;
    }

    .post-meta {
        font-size: 0.82rem;
        gap: 15px;
        padding-top: 18px;
    }

    .video-overlay {
        padding: 14px 20px;
        font-size: 0.88rem;
    }

    .video-card {
        box-shadow:
            0 6px 24px rgba(0, 0, 0, 0.1),
            0 2px 8px rgba(0, 0, 0, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
}

.video-courses {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.video-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-particles::before,
.video-particles::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: floatVideo 18s ease-in-out infinite;
}

.video-particles::before {
    background: radial-gradient(circle, rgba(79, 172, 254, 0.5), transparent);
    top: -180px;
    right: -180px;
}

.video-particles::after {
    background: radial-gradient(circle, rgba(37, 150, 190, 0.4), transparent);
    bottom: -180px;
    left: -180px;
    animation-delay: 9s;
}

@keyframes floatVideo {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.video-courses .container {
    position: relative;
    z-index: 1;
}

.video-slider-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

@media (min-width: 769px) {
    .video-slider {
        flex: 1;
        overflow: hidden;
        padding: 20px 0 40px 0;
    }

    .video-track {
        display: flex;
        gap: 30px;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: stretch;
    }
}

@media (min-width: 1024px) {
    .video-track .video-card {
        min-width: calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 1023px) {
    .video-track .video-card {
        min-width: 100%;
        max-width: 100%;
    }
}

.video-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(67, 97, 238, 0.12);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.video-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle at center, rgba(67, 97, 238, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.video-card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(67, 97, 238, 0.03) 0%,
        transparent 40%,
        rgba(58, 12, 163, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 15px 35px rgba(67, 97, 238, 0.15),
        0 5px 15px rgba(67, 97, 238, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(67, 97, 238, 0.25);
}

.video-card:hover .video-card-glow {
    opacity: 1;
}

.video-card:hover .video-card-gradient {
    opacity: 1;
}

.video-card:active {
    transform: translateY(-6px);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

/* Gradient Overlay on thumbnail */
.video-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
    z-index: 1;
}

/* YouTube Badge */
.video-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.4);
    z-index: 2;
    transition: all 0.3s ease;
}

.video-badge i {
    font-size: 1rem;
}

.video-card:hover .video-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(67, 97, 238, 0.5);
}

/* Hover Overlay */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 3;
}

.video-card:hover .video-overlay {
    opacity: 1;
    transform: translateY(0);
}

.video-overlay-text {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.video-overlay i {
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.video-card:hover .video-overlay i {
    transform: translateX(5px);
}

.video-body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.video-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 16px 0;
    line-height: 1.3;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--accent) 50%, var(--gradient-end) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

.video-description {
    color: var(--gray);
    margin: 0 0 24px 0;
    line-height: 1.7;
    font-size: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Video Footer */
.video-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.video-platform {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(67, 97, 238, 0.08);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gradient-start);
    border: 1px solid rgba(67, 97, 238, 0.15);
    transition: all 0.3s ease;
}

.video-platform i {
    font-size: 1.1rem;
}

.video-card:hover .video-platform {
    background: rgba(67, 97, 238, 0.12);
    border-color: rgba(67, 97, 238, 0.25);
    transform: translateY(-2px);
}

.video-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(67, 97, 238, 0.08);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gradient-start);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid rgba(67, 97, 238, 0.15);
}

.video-card:hover .video-cta {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.25);
}

.video-cta i {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.video-card:hover .video-cta i {
    transform: translateX(4px);
}

.no-videos {
    text-align: center;
    padding: 50px;
    color: var(--gray);
    font-size: 1.1rem;
}

.video-nav {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-nav:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
    transform: translateY(-2px);
}

.video-nav:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(67, 97, 238, 0.2);
}

.video-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.video-nav i {
    pointer-events: none;
}

.dark-mode .video-courses {
    background: var(--bg-secondary);
}

.dark-mode .video-particles::before {
    background: radial-gradient(circle, rgba(79, 172, 254, 0.3), transparent);
}

.dark-mode .video-particles::after {
    background: radial-gradient(circle, rgba(37, 150, 190, 0.25), transparent);
}

.dark-mode .video-card {
    background: linear-gradient(145deg, rgba(26, 35, 50, 0.95), rgba(20, 28, 40, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    border-color: rgba(67, 97, 238, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dark-mode .video-card:hover {
    border-color: rgba(67, 97, 238, 0.35);
    box-shadow:
        0 15px 35px rgba(67, 97, 238, 0.25),
        0 5px 15px rgba(67, 97, 238, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dark-mode .video-card-glow {
    background: radial-gradient(circle at center, rgba(67, 97, 238, 0.2), transparent 60%);
}

.dark-mode .video-card-gradient {
    background: linear-gradient(135deg,
        rgba(67, 97, 238, 0.05) 0%,
        transparent 40%,
        rgba(58, 12, 163, 0.05) 100%
    );
}

.dark-mode .video-title {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--accent) 50%, var(--gradient-end) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .video-description {
    color: rgba(255, 255, 255, 0.7);
}

.dark-mode .video-platform {
    background: rgba(67, 97, 238, 0.15);
    border-color: rgba(67, 97, 238, 0.25);
    color: rgba(99, 163, 253, 1);
}

.dark-mode .video-card:hover .video-platform {
    background: rgba(67, 97, 238, 0.25);
    border-color: rgba(67, 97, 238, 0.4);
}

.dark-mode .video-cta {
    background: rgba(67, 97, 238, 0.15);
    border-color: rgba(67, 97, 238, 0.25);
    color: rgba(99, 163, 253, 1);
}

.dark-mode .video-card:hover .video-cta {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.35);
}

.dark-mode .video-description {
    color: var(--text-secondary);
}

.dark-mode .video-nav {
    background: var(--card-bg);
    color: var(--accent);
    border-color: var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.dark-mode .video-nav:hover:not(:disabled) {
    background: var(--accent);
    color: #0d1b2a;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(72, 149, 239, 0.4);
}

.dark-mode .video-nav:active:not(:disabled) {
    box-shadow: 0 2px 10px rgba(72, 149, 239, 0.3);
}

.dark-mode .video-nav:disabled {
    background: var(--card-bg);
    color: var(--accent);
    border-color: var(--border-color);
    opacity: 0.3;
}

@media (max-width: 1024px) {
    .video-slider-wrapper {
        gap: 25px;
    }

    .video-nav {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .video-overlay i {
        font-size: 2.5rem;
    }

    .video-overlay span {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .video-body {
        padding: 22px 25px 28px 25px;
    }

    .video-title {
        font-size: 1.35rem;
    }

    .video-overlay i {
        font-size: 2rem;
    }

    .video-overlay span {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .video-body {
        padding: 20px 20px 25px 20px;
    }

    .video-title {
        font-size: 1.25rem;
    }

    .video-description {
        font-size: 0.93rem;
        line-height: 1.65;
    }

    .video-overlay i {
        font-size: 1.8rem;
    }

    .video-overlay span {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 30px;
    }

    .footer {
        padding: 80px 0 0;
    }

    .footer-bottom {
        margin-top: 30px;
        padding: 25px 0;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 0;
    }

    .footer-content {
        gap: 40px;
        padding: 0 20px;
    }

    .footer-logo-wrapper {
        padding: 18px;
    }

    .footer-logo-icon {
        width: 55px;
        height: 55px;
    }

    .footer-logo-main {
        font-size: 1.4rem;
    }

    .footer-text {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .social-link,
    .footer-contact-email {
        padding: 13px 18px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        margin-top: 25px;
        padding: 20px 0;
    }

    .copyright,
    .footer-author {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 50px 0 0;
    }

    .footer-content {
        gap: 35px;
        padding: 0 15px;
    }

    .footer-logo-wrapper {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }

    .footer-logo-icon {
        width: 50px;
        height: 50px;
    }

    .footer-logo-main {
        font-size: 1.3rem;
    }

    .footer-logo-sub {
        font-size: 0.8rem;
    }

    .footer-text {
        font-size: 0.9rem;
        padding: 0 10px;
        text-align: center;
    }

    .footer-social-title,
    .footer-contact-title {
        font-size: 1.1rem;
        text-align: center;
    }

    .footer-contact-text {
        text-align: center;
        font-size: 0.85rem;
    }

    .social-link,
    .footer-contact-email {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .footer-bottom {
        margin-top: 20px;
        padding: 18px 0;
    }

    .copyright,
    .footer-author {
        font-size: 0.8rem;
    }
}




/* ============================================
   Scroll to Top Button
   ============================================ */


/* ============================================
   Scroll Progress Bar
   ============================================ */

.scroll-progress-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

body.dark-mode .scroll-progress-container {
    background: rgba(255, 255, 255, 0.1);
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(67, 97, 238, 0.5);
    position: relative;
}

.scroll-progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

