/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    display:flex;
    align-items:center;
    gap:0.6rem;
    font-size:1.5rem;
    font-weight:700;
    color:var(--primary-color);
    text-decoration:none;
    transition:var(--transition);
}

.logo:hover{
    transform:translateY(-2px);
}

.logo-img{
height:36px;
width:auto;
border-radius:6px;
}

.logo span{
    line-height:1;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===========================
   Hero Section
   =========================== */
/* HERO SECTION */

.hero{
    position:relative;
    min-height:90vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:80px 20px;
    overflow:hidden;

    background:url("../img/voxel.png") center/cover no-repeat;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

/* dark overlay */

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.35)
    );
    z-index:1;
    pointer-events:none;
}

/* content above overlay */

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
    color:#fff;
}

/* TITLE */

.hero-title{
    font-size:3.4rem;
    font-weight:800;
    margin-bottom:16px;
    line-height:1.2;
    letter-spacing:-0.5px;
    animation:fadeInUp 0.8s ease;
}

/* DESCRIPTION */

.hero-description{
    font-size:1.2rem;
    max-width:680px;
    margin:0 auto 32px;
    color:rgba(255,255,255,0.9);
    font-weight:500;
    animation:fadeInUp 0.8s ease 0.2s backwards;
}

/* BUTTON AREA */

.hero-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:28px;
    animation:fadeInUp 0.8s ease 0.35s backwards;
}

/* BUTTON STYLE */

.hero-buttons .btn{
    padding:12px 26px;
    font-weight:600;
    border-radius:10px;
    transition:all .25s ease;
}

/* BLUE BUTTON COLOR */

.hero-buttons .btn-primary{
    background:#3b82f6;
    border:none;
}

.hero-buttons .btn-primary:hover{
    background:#2563eb;
}

/* button hover */

.hero-buttons .btn:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,0.25);
}

/* ANIMATION */

@keyframes fadeInUp{

    from{
        opacity:0;
        transform:translateY(35px);
    }

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

}

/* RESPONSIVE */

@media (max-width:768px){

.hero{
    padding:70px 20px;
}

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

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

.hero-buttons{
    gap:10px;
}

.hero-buttons .btn{
    padding:10px 20px;
}

}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================
   Showcase Section
   =========================== */
.showcase {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.showcase-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.feature-list i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.showcase-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

/* ===========================
   Video Demo Section
   =========================== */
.video-demo {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-container video {
    width: 100%;
    display: block;
}

/* ===========================
   Stats Section
   =========================== */
.stats {
    padding: 5rem 0;
    background: var(--gradient-2);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* ===========================
   CTA Section
   =========================== */
.cta {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.cta-buttons .btn{
    padding:12px 26px;
    border-radius:10px;
    font-weight:600;
}

/* outline button */

.btn-outline-primary{
    border:2px solid #3b82f6;
    color:#3b82f6;
    background:transparent;
}

.btn-outline-primary:hover{
    background:#3b82f6;
    color:#fff;
}

.btn-outline{
    border:2px solid #3b82f6;
    color:#3b82f6;
    background:transparent;
    padding:12px 26px;
    border-radius:10px;
    font-weight:600;
}

.btn-outline:hover{
    background:#3b82f6;
    color:white;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ===========================
   Page Header (for sub-pages)
   =========================== */
.page-header{
    position:relative;
    padding:120px 0;
    text-align:center;
    color:#fff;

    background:url("../img/voxel1.png") center/cover no-repeat;
}

/* dark overlay so text is readable */

.page-header::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
}

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

/* ===========================
   Download Page Styles
   =========================== */
.download-section {
    padding: 4rem 0;
}

.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.platform-content {
    display: none;
}

.platform-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.download-card {
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.download-header i {
    font-size: 3rem;
    color: var(--primary-color);
}

.download-header h2 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.version {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.option-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.option-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.option-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.option-card > p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.option-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.option-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.option-card ul li i {
    color: var(--success-color);
}

.file-info {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-family: monospace;
}

.system-requirements {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.system-requirements h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.system-requirements ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.system-requirements ul li {
    padding-left: 1.5rem;
    position: relative;
}

.system-requirements ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.alert {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
}

.alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.code-block {
    background: var(--text-primary);
    color: #10b981;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.code-block h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.code-block pre {
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
}

.security-notice {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 2px solid var(--success-color);
}

.notice-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.notice-content i {
    font-size: 3rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.notice-content h3 {
    margin-bottom: 0.5rem;
}

.notice-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.download-header{
    display:flex;
    align-items:center;
    gap:14px;
}

.download-header .fa-apple{
    font-size:40px;
    color:#000;
}

.download-header i{
    font-size:40px;
}

/* Apple */
.download-header .fa-apple{
    color:#000;
}

/* Linux */
.download-header .fa-linux{
    color:#000;
}

/* ===========================
   Get Started Page Styles
   =========================== */
.content-section {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-menu {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.sidebar-menu h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.sidebar-menu ul {
    list-style: none;
}

.sidebar-link {
    display: block;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.25rem;
    border-radius: 0.375rem;
    transition: var(--transition);
    color: var(--text-secondary);
}

.sidebar-link:hover,
.sidebar-link.active {
    background: var(--primary-color);
    color: white;
}

.main-content {
    max-width: 800px;
}

.content-block {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-block h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.content-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.step-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 0.75rem 0;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.check-list i {
    color: var(--success-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.platform-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.platform-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.platform-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.requirements-box {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.requirements-box ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.requirements-box ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.requirements-box i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.info-box,
.tip-box,
.warning-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.info-box {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
}

.tip-box {
    background: #d1fae5;
    border-left: 4px solid #10b981;
}

.warning-box {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
}

.info-box i,
.tip-box i,
.warning-box i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-box h4,
.tip-box h4,
.warning-box h4 {
    margin-bottom: 0.5rem;
}

.screenshot-placeholder {
    background: var(--bg-tertiary);
    padding: 4rem 2rem;
    border-radius: 0.75rem;
    text-align: center;
    margin: 1.5rem 0;
    border: 2px dashed var(--border-color);
}

.screenshot-placeholder i {
    font-size: 4rem;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.config-section {
    margin: 2rem 0;
}

.theme-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.theme-card {
    text-align: center;
}

.theme-preview {
    width: 100px;
    height: 80px;
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.theme-preview:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.theme-preview.light {
    background: white;
}

.theme-preview.dark {
    background: #1e293b;
}

.theme-preview.auto {
    background: linear-gradient(90deg, white 50%, #1e293b 50%);
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.usage-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: var(--transition);
}

.usage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.usage-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.usage-card h3 {
    font-size: 1.125rem;
    margin: 0 0 0.5rem 0;
}

.shortcuts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

kbd {
    background: #1e293b;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.accordion {
    margin-top: 1.5rem;
}

.accordion-item {
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg-tertiary);
}

.accordion-header i {
    transition: var(--transition);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content ul {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

.accordion-content li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.accordion-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.next-steps {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 3rem;
}

.next-steps h3 {
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.next-step-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.next-step-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.next-step-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.next-step-card h4 {
    margin-bottom: 0.5rem;
}

.next-step-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* ===========================
   Tutorial Page Styles
   =========================== */
.tutorial-search {
    padding: 2rem 0;
    background: var(--bg-secondary);
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.25rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border: 2px solid var(--border-color);
    border-radius: 3rem;
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.tutorial-categories {
    padding: 2rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 3rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tutorials-section {
    padding: 4rem 0;
}

.tutorial-category-section {
    margin-bottom: 4rem;
}

.tutorial-category-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.tutorial-card {
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tutorial-card .tutorial-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.tutorial-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tutorial-content > p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tutorial-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.duration {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.level {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.75rem;
}

.level.beginner {
    background: #d1fae5;
    color: #065f46;
}

.level.intermediate {
    background: #dbeafe;
    color: #1e40af;
}

.level.advanced {
    background: #fce7f3;
    color: #9f1239;
}

.tutorial-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.tutorial-link:hover {
    gap: 0.75rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: var(--text-primary);
}

.video-thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.play-overlay i {
    font-size: 4rem;
    color: white;
    transition: var(--transition);
}

.video-card:hover .play-overlay i {
    transform: scale(1.2);
}

.video-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.video-info > p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.video-meta span:first-child {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.faq-section {
    margin: 4rem 0;
}

.faq-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

.faq-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.faq-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.resources-section {
    margin: 4rem 0;
}

.resources-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.resource-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-card h3 {
    margin-bottom: 0.5rem;
}

.resource-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 1rem;
    }

    .nav-links.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .showcase-content {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .page-header h1 {
        font-size: 2rem;
    }

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

    .tutorial-category-section h2,
    .faq-section h2,
    .resources-section h2 {
        font-size: 1.5rem;
    }
}

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

    .platform-tabs,
    .category-tabs {
        flex-direction: column;
    }

    .download-options,
    .usage-grid,
    .next-steps-grid,
    .tutorial-grid,
    .video-grid,
    .faq-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
}
