@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

/* ============================================
   PHASE 1: AKEMI DESIGN SYSTEM FOUNDATION
   ============================================ */

:root {
    /* Legacy Colors (kept for backwards compatibility) */
    --bg-color: #121212;
    --main-color: rgb(0, 121, 219);
    --main-hover-color: rgb(1, 83, 151);
    --second-color: #1a1a1a;
    --third-color: #2c2c2c;
    --nav-text-color: #98999b;
    --nav-text-hover-color: #fffce4;
    --heading-color: #fffce4;
    --small-text-color: #c7c7c7;
    --very-small-text-color: #999999;

    /* Akemi Color Palette */
    --akemi-bg-primary: #0a0a0a;
    --akemi-bg-secondary: #111111;
    --akemi-bg-card: #161616;
    --akemi-accent-purple: #8b5cf6;
    --akemi-accent-purple-hover: #7c3aed;
    --akemi-accent-purple-glow: rgba(139, 92, 246, 0.4);
    --akemi-text-primary: #ffffff;
    --akemi-text-secondary: #a1a1aa;
    --akemi-text-muted: #71717a;
    --akemi-border: #27272a;
    --akemi-border-light: #3f3f46;

    /* Neo-Brutalism Elements */
    --brutalism-shadow: 4px 4px 0px var(--akemi-accent-purple);
    --brutalism-shadow-hover: 6px 6px 0px var(--akemi-accent-purple);
    --brutalism-border: 3px solid #ffffff;

    /* Gradients */
    --akemi-gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    --akemi-gradient-dark: linear-gradient(180deg, var(--akemi-bg-primary) 0%, var(--akemi-bg-secondary) 100%);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--akemi-bg-primary);
    color: var(--akemi-text-primary);
    overflow-x: hidden;
}

::selection {
    color: #fff;
    background: var(--akemi-accent-purple);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    background-color: var(--akemi-bg-primary);
}

::-webkit-scrollbar-thumb {
    background-color: var(--akemi-accent-purple);
    border-radius: 15px;
    transition: 0.35s;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--akemi-accent-purple-hover);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
    color: var(--akemi-text-primary);
    font-weight: 700;
}

h2 {
    color: var(--akemi-text-primary);
    font-weight: 600;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.825rem;
    margin: 1.3rem 0;
    margin-top: 8px;
    color: var(--akemi-text-secondary);
}

p {
    color: var(--akemi-text-secondary);
    font-size: 1rem;
    margin: 1rem 0;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: var(--akemi-text-secondary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--akemi-text-primary);
}

/* Accent Text Class */
.accent {
    color: var(--akemi-accent-purple);
    background: var(--akemi-gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BUTTON COMPONENTS
   ============================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--akemi-accent-purple);
    color: var(--akemi-text-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: var(--brutalism-shadow);
}

.btn-primary:hover {
    background: var(--akemi-accent-purple-hover);
    transform: translateY(-2px);
    box-shadow: var(--brutalism-shadow-hover);
    color: var(--akemi-text-primary);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 2px 2px 0px var(--akemi-accent-purple);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--akemi-text-primary);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--akemi-border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
}

.btn-outline:hover {
    border-color: var(--akemi-accent-purple);
    background: rgba(139, 92, 246, 0.1);
    color: var(--akemi-text-primary);
}

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

.btn-outline:hover i {
    transform: translateX(4px);
}

/* ============================================
   FEATURE TAG COMPONENT
   ============================================ */

.feature-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.15);
    color: var(--akemi-accent-purple);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   PARTICLES BACKGROUND
   ============================================ */

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

.particles-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(139, 92, 246, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(139, 92, 246, 0.5), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 230px 80px, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 380px 60px, rgba(139, 92, 246, 0.4), transparent),
        radial-gradient(2px 2px at 450px 180px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 520px 90px, rgba(139, 92, 246, 0.5), transparent),
        radial-gradient(2px 2px at 600px 140px, rgba(255, 255, 255, 0.2), transparent);
    background-size: 650px 200px;
    animation: particlesFloat 20s linear infinite;
}

.particles-bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 50px 100px, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(2px 2px at 120px 50px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 200px 160px, rgba(139, 92, 246, 0.4), transparent),
        radial-gradient(2px 2px at 280px 90px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 350px 130px, rgba(139, 92, 246, 0.5), transparent),
        radial-gradient(2px 2px at 420px 70px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 500px 170px, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(2px 2px at 570px 110px, rgba(255, 255, 255, 0.2), transparent);
    background-size: 600px 200px;
    animation: particlesFloat 25s linear infinite reverse;
    opacity: 0.7;
}

@keyframes particlesFloat {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(-200px) translateX(100px);
    }
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.gradient-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--akemi-accent-purple);
    top: -100px;
    right: -100px;
    animation: orbFloat 8s ease-in-out infinite;
}

.gradient-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--akemi-accent-purple-hover);
    bottom: -50px;
    left: -100px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

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

/* ============================================
   NAVBAR
   ============================================ */

header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 70px;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--akemi-border);
}

.logo {
    cursor: pointer;
    margin-top: 0;
}

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

.nav-area {
    list-style: none;
    display: flex;
    gap: 5px;
}

.nav-area li {
    display: inline-block;
    padding: 0 12px;
}

.nav-area li a {
    transition: all 0.3s ease;
    color: var(--akemi-text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.nav-area li a:hover {
    color: var(--akemi-accent-purple);
}

.btn-area {
    cursor: pointer;
    color: var(--akemi-text-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    padding: 10px 24px;
    border-radius: 10px;
    background-color: var(--akemi-accent-purple);
    transition: all 0.3s ease;
}

.btn-area:hover {
    background-color: var(--akemi-accent-purple-hover);
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
    background: var(--akemi-bg-primary);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--akemi-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--akemi-accent-purple);
    box-shadow: 0 0 60px var(--akemi-accent-purple-glow);
    animation: heroImageFloat 4s ease-in-out infinite;
}

@keyframes heroImageFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ============================================
   TRUST STATS SECTION
   ============================================ */

.trust-stats {
    padding: 100px 20px;
    background: var(--akemi-bg-secondary);
    text-align: center;
    position: relative;
}

.trust-stats h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 60px;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: var(--akemi-bg-card);
    border-radius: 16px;
    border: 1px solid var(--akemi-border);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--akemi-accent-purple);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--akemi-accent-purple);
    line-height: 1;
    margin-bottom: 8px;
}

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

/* ============================================
   AKEMI-STYLE FEATURE CARDS
   ============================================ */

.akemi-features {
    padding: 100px 20px;
    background: var(--akemi-bg-primary);
}

.akemi-features .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.akemi-features .section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.akemi-features .section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--akemi-text-secondary);
}

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

.feature-card {
    background: var(--akemi-bg-card);
    border: 1px solid var(--akemi-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--akemi-accent-purple);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.15);
}

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

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 14px;
    font-size: 1.5rem;
    color: var(--akemi-accent-purple);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card-icon {
    background: var(--akemi-accent-purple);
    color: white;
    transform: scale(1.1);
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--akemi-text-primary);
}

.feature-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-card-description {
    color: var(--akemi-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ============================================
   AKEMI-STYLE FOOTER
   ============================================ */

.akemi-footer {
    background: var(--akemi-bg-secondary);
    border-top: 1px solid var(--akemi-border);
    padding: 80px 20px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--akemi-text-primary);
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--akemi-text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--akemi-bg-card);
    border: 1px solid var(--akemi-border);
    border-radius: 10px;
    color: var(--akemi-text-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--akemi-accent-purple);
    border-color: var(--akemi-accent-purple);
    color: white;
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--akemi-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--akemi-text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--akemi-accent-purple);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--akemi-border);
}

.footer-bottom p {
    color: var(--akemi-text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--akemi-text-muted);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--akemi-accent-purple);
}

/* ============================================
   LEGACY STYLES (kept for compatibility)
   ============================================ */

.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all 2s ease;
}

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

.wrapper {
    margin: 100px auto;
    max-width: 1100px;
    padding: 0 20px;
}

.title {
    margin-top: 30px;
    text-align: center;
    width: 100%;
    height: 65px;
    margin-bottom: 20px;
}

.th1 {
    display: flex;
    justify-content: center;
}

.thr {
    width: 180px;
    justify-content: center;
}

.thr hr {
    background: var(--akemi-gradient-purple);
    height: 5px;
    border: none;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

svg {
    display: block;
}

.curve {
    background-color: var(--akemi-bg-primary);
    margin: 0;
    display: block;
    fill: var(--akemi-bg-secondary);
}

.curved {
    background-color: var(--akemi-bg-secondary);
    margin: 0;
    display: block;
    fill: var(--akemi-bg-primary);
}

/* Legacy Home Section (for backwards compatibility) */
.home {
    margin-top: 150px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.bot-description {
    margin-right: 150px;
}

.home-btn {
    margin-top: 10px;
    width: auto;
    padding: 12px 40px;
    border-radius: 12px;
    border: none;
    background: var(--akemi-accent-purple);
    color: white;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--brutalism-shadow);
}

.home-btn:hover {
    background-color: var(--akemi-accent-purple-hover);
    transform: translateY(-2px);
    box-shadow: var(--brutalism-shadow-hover);
}

.home-img img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 4px solid var(--akemi-accent-purple);
    box-shadow: 0 0 40px var(--akemi-accent-purple-glow);
}

/* Features Section */
.features {
    background-color: var(--akemi-bg-secondary);
}

.feature h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    margin: 1rem 0 0.6rem;
}

.features-grid {
    display: flex;
    align-items: center;
}

.feature {
    background: var(--akemi-bg-card);
    margin: 20px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    border: 2px solid var(--akemi-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.feature i {
    font-size: 3.45rem;
    margin: 1rem 0;
    transition: transform 0.3s ease;
}

.feature:hover i {
    transform: scale(1.2);
}

.feature h4 {
    transition: all 0.3s ease;
    position: relative;
}

.feature1 i, .feature1 h4, .feature1 .cta { color: #42b7ca; }
.feature1:hover { border: 2px solid #42b7ca; }

.feature2 i, .feature2 h4, .feature2 .cta { color: #425fca; }
.feature2:hover { border: 2px solid #425fca; }

.feature3 i, .feature3 h4, .feature3 .cta { color: #9c42ca; }
.feature3:hover { border: 2px solid #9c42ca; }

.feature4 i, .feature4 h4, .feature4 .cta { color: #ca8a42; }
.feature4:hover { border: 2px solid #ca8a42; }

.feature5 i, .feature5 h4, .feature5 .cta { color: #4bca42; }
.feature5:hover { border: 2px solid #4bca42; }

.feature6 i, .feature6 h4, .feature6 .cta { color: #ca4242; }
.feature6:hover { border: 2px solid #ca4242; }

.feature7 i, .feature7 h4, .feature7 .cta { color: #6742ca; }
.feature7:hover { border: 2px solid #6742ca; }

.feature8 i, .feature8 h4, .feature8 .cta { color: #ca42b0; }
.feature8:hover { border: 2px solid #ca42b0; }

.feature9 i, .feature9 h4, .feature9 .cta { color: #42cabe; }
.feature9:hover { border: 2px solid #42cabe; }

.feature .cta span {
    font-size: 0.6rem;
}

.feature > * {
    flex: 1 1 100%;
}

.feature .cta {
    align-self: flex-end;
}

/* Feature glow effects */
.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature1:hover::before { opacity: 1; box-shadow: 0 0 40px 10px rgba(66, 183, 202, 0.4); }
.feature2:hover::before { opacity: 1; box-shadow: 0 0 40px 10px rgba(66, 95, 202, 0.4); }
.feature3:hover::before { opacity: 1; box-shadow: 0 0 40px 10px rgba(156, 66, 202, 0.4); }
.feature4:hover::before { opacity: 1; box-shadow: 0 0 40px 10px rgba(202, 138, 66, 0.4); }
.feature5:hover::before { opacity: 1; box-shadow: 0 0 40px 10px rgba(75, 202, 66, 0.4); }
.feature6:hover::before { opacity: 1; box-shadow: 0 0 40px 10px rgba(202, 66, 66, 0.4); }
.feature7:hover::before { opacity: 1; box-shadow: 0 0 40px 10px rgba(103, 66, 202, 0.4); }
.feature8:hover::before { opacity: 1; box-shadow: 0 0 40px 10px rgba(202, 66, 176, 0.4); }
.feature9:hover::before { opacity: 1; box-shadow: 0 0 40px 10px rgba(66, 202, 190, 0.4); }

.features-grid + .features-grid {
    margin-top: 20px;
}

/* Commands Section */
.wrapper nav {
    display: flex;
    justify-content: center;
}

.wrapper .categorys {
    display: flex;
    max-width: 720px;
    width: 100%;
    justify-content: space-between;
}

.categorys span {
    padding: 7px 25px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    color: var(--akemi-accent-purple);
    border-radius: 50px;
    border: 2px solid var(--akemi-accent-purple);
    transition: all 0.3s ease;
}

.categorys span.active,
.categorys span:hover {
    color: #fff;
    background: var(--akemi-accent-purple);
}

.commands {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-top: 30px;
}

.commands .command {
    width: 100%;
    color: #fff;
    margin-bottom: 15px;
    padding: 7px;
    height: auto;
    border-radius: 15px;
    background-color: var(--akemi-bg-secondary);
}

.commands .command span {
    flex-direction: column;
    position: relative;
    display: flex;
    height: auto;
    margin-top: 5px;
    margin-left: 1%;
    width: 98%;
    border-radius: 15px;
    background-color: var(--akemi-bg-card);
    margin-bottom: 1%;
}

.cmdinfo {
    margin-top: 1%;
    margin-left: 1%;
    justify-content: center;
}

.cmdinfo p {
    font-size: 1.25rem;
    color: var(--akemi-text-secondary);
}

.cmdali {
    margin-left: 1%;
    margin-bottom: 1%;
    justify-content: center;
    margin-top: -2.75%;
    color: var(--akemi-text-muted);
}

.cmdali p {
    font-size: 1.1rem;
}

.commands .command.hide {
    display: none;
}

.commands .command.show {
    animation: animate 0.4s ease;
}

/* FAQ Section */
.faq {
    background-color: var(--akemi-bg-secondary);
}

main#questions {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    margin-top: 50px;
}

.live-search-box {
    background: var(--akemi-bg-primary);
    width: 100%;
    margin: 50px 0px;
    font-size: 16px !important;
    display: block;
    padding: 1em;
    box-sizing: border-box;
    border: 1px solid var(--akemi-border) !important;
    border-radius: 10px;
    color: var(--akemi-text-secondary);
    transition: all 0.3s ease;
}

.live-search-box:focus {
    border: 1px solid var(--akemi-accent-purple) !important;
    outline: none;
}

.topic {
    padding: 20px;
    padding-top: 0px;
    padding-bottom: 0px;
    background: var(--akemi-bg-primary);
    margin: 5px 0px;
    border-radius: 10px;
    border: 1px solid var(--akemi-border);
    transition: all 0.3s ease;
}

.topic:hover {
    border-color: var(--akemi-accent-purple);
}

.topic h2.question {
    padding-bottom: 20px;
}

.open {
    cursor: pointer;
    display: block;
    padding: 0px;
}

.open:hover {
    opacity: 0.7;
}

.expanded {
    background-color: var(--akemi-bg-card);
    transition: all .3s ease-in-out;
}

.ptag {
    display: none;
}

.question {
    padding-top: 30px;
    padding-right: 40px;
    font-size: 18px;
    font-weight: 500;
    color: var(--akemi-text-secondary);
}

.answer {
    font-size: 16px;
    line-height: 16px;
    display: none;
    margin-bottom: 30px;
    text-align: justify;
    padding-bottom: 20px !important;
}

.faq-t {
    transform: rotate(-45deg);
    display: block;
    float: right;
    position: relative;
    top: -55px;
    right: 10px;
    width: 10px;
    height: 10px;
    background: transparent;
    border-left: 2px solid var(--akemi-accent-purple);
    border-bottom: 2px solid var(--akemi-accent-purple);
    transition: all .3s ease-in-out;
}

.faq-o {
    top: -50px;
    transform: rotate(-224deg);
}

/* Video Section */
.video-in-wave {
    margin-bottom: 60px;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--akemi-border);
    transition: all 0.3s ease;
}

.video-wrapper:hover {
    border: 2px solid var(--akemi-accent-purple);
    box-shadow: 0 15px 40px var(--akemi-accent-purple-glow);
    transform: translateY(-5px);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* Legacy Footer */
footer {
    display: flex;
    width: auto;
    min-height: 250px;
    background-color: var(--akemi-bg-secondary);
    align-items: center;
    border-top: 1px solid var(--akemi-border);
}

.foot {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-height: 250px;
    color: white;
    padding: 40px 0;
}

.foot h1 {
    color: var(--akemi-text-primary);
}

.foot h4 {
    color: var(--akemi-text-muted);
}

.bottom-nav li a {
    color: var(--akemi-text-secondary);
}

.bottom-nav li a:hover {
    color: var(--akemi-accent-purple);
}

/* Animated Wave */
.curve, .curved {
    overflow: hidden;
    position: relative;
}

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

.curve svg path,
.curved svg path {
    animation: waveFlow 3s ease-in-out infinite;
    transform-origin: center;
}

.curve:nth-of-type(2) svg path {
    animation-delay: -2s;
}

.curved svg path {
    animation-delay: -3s;
}

/* Keyframes */
@keyframes animate {
    0% {
        transform: scale(0.5);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 20px 3px rgba(var(--glow-color), 0.5);
    }
    50% {
        box-shadow: 0 0 40px 8px rgba(var(--glow-color), 0.8);
    }
    100% {
        box-shadow: 0 0 20px 3px rgba(var(--glow-color), 0.5);
    }
}

.feature1:active { --glow-color: 66, 183, 202; animation: glow-pulse 1.5s infinite; }
.feature2:active { --glow-color: 66, 95, 202; animation: glow-pulse 1.5s infinite; }
.feature3:active { --glow-color: 156, 66, 202; animation: glow-pulse 1.5s infinite; }
.feature4:active { --glow-color: 202, 138, 66; animation: glow-pulse 1.5s infinite; }
.feature5:active { --glow-color: 75, 202, 66; animation: glow-pulse 1.5s infinite; }
.feature6:active { --glow-color: 202, 66, 66; animation: glow-pulse 1.5s infinite; }
.feature7:active { --glow-color: 103, 66, 202; animation: glow-pulse 1.5s infinite; }
.feature8:active { --glow-color: 202, 66, 176; animation: glow-pulse 1.5s infinite; }
.feature9:active { --glow-color: 66, 202, 190; animation: glow-pulse 1.5s infinite; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .wrapper nav .categorys {
        max-width: 600px;
    }

    .wrapper {
        max-width: 695px;
        margin: 30px auto;
    }

    nav .categorys span {
        padding: 7px 15px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media all and (max-width: 900px) {
    .features-grid {
        display: flex;
        flex-direction: column;
    }

    .features-grid + .features-grid {
        margin-top: 0;
    }

    .video-wrapper {
        max-width: 90%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 20px;
    }

    .nav-area.top-nav {
        display: none;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 280px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 710px) {
    .wrapper nav .categorys {
        max-width: 600px;
    }

    .wrapper {
        max-width: 450px;
        margin: 30px auto;
    }

    nav .categorys span {
        padding: 7px 15px;
    }

    header {
        padding: 10px 25px;
    }

    .top-nav {
        display: none;
    }

    .home {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: center;
    }

    .home-text {
        text-align: center;
    }

    .bot-description {
        margin-right: 0;
    }

    .nav-area li a {
        font-size: 12.25px;
    }
}

@media (max-width: 600px) {
    .wrapper {
        margin: 30px auto;
    }

    .wrapper nav .categorys {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav .categorys span {
        margin: 5px;
    }

    .video-wrapper {
        max-width: 95%;
        border-radius: 10px;
    }

    .video-wrapper iframe {
        border-radius: 10px;
    }

    .video-in-wave {
        margin-bottom: 40px;
    }

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

@media (max-width: 480px) {
    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ============================================
   PHASE 3: COMMANDS PAGE - AKEMI STYLE
   ============================================ */

/* Main Commands Page Layout */
.commands-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    padding-top: 80px;
}

/* Commands Sidebar */
.commands-sidebar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 280px;
    height: calc(100vh - 80px);
    background: var(--akemi-bg-secondary);
    border-right: 1px solid var(--akemi-border);
    padding: 24px;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header {
    margin-bottom: 24px;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--akemi-text-primary);
    margin-bottom: 8px;
}

.command-count {
    font-size: 0.875rem;
    color: var(--akemi-text-muted);
}

.command-count span {
    color: var(--akemi-accent-purple);
    font-weight: 600;
}

/* Sidebar Search */
.sidebar-search {
    position: relative;
    margin-bottom: 24px;
}

.sidebar-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--akemi-text-muted);
    font-size: 0.875rem;
}

.sidebar-search input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    background: var(--akemi-bg-card);
    border: 1px solid var(--akemi-border);
    border-radius: 10px;
    color: var(--akemi-text-primary);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.sidebar-search input::placeholder {
    color: var(--akemi-text-muted);
}

.sidebar-search input:focus {
    outline: none;
    border-color: var(--akemi-accent-purple);
    box-shadow: 0 0 0 3px var(--akemi-accent-purple-glow);
}

/* Category List */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 4px;
}

.category-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--akemi-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-list li a:hover {
    background: var(--akemi-bg-card);
    color: var(--akemi-text-primary);
}

.category-list li a.active {
    background: rgba(139, 92, 246, 0.15);
    color: var(--akemi-accent-purple);
}

.category-list li a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.category-count {
    margin-left: auto;
    background: var(--akemi-bg-card);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--akemi-text-muted);
}

.category-list li a.active .category-count {
    background: var(--akemi-accent-purple);
    color: white;
}

/* Commands Main Content */
.commands-main {
    grid-column: 2;
    padding: 32px 40px;
    background: var(--akemi-bg-primary);
    min-height: calc(100vh - 80px);
}

/* Info Bar */
.info-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    margin-bottom: 24px;
}

.info-bar i {
    color: var(--akemi-accent-purple);
    font-size: 1.25rem;
}

.info-bar p {
    margin: 0;
    color: var(--akemi-text-secondary);
    font-size: 0.9rem;
}

.info-bar code {
    background: var(--akemi-bg-card);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--akemi-accent-purple);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.85rem;
}

/* Main Search Bar */
.main-search {
    position: relative;
    margin-bottom: 32px;
}

.main-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--akemi-text-muted);
    font-size: 1rem;
}

.main-search input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: var(--akemi-bg-card);
    border: 1px solid var(--akemi-border);
    border-radius: 14px;
    color: var(--akemi-text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.main-search input::placeholder {
    color: var(--akemi-text-muted);
}

.main-search input:focus {
    outline: none;
    border-color: var(--akemi-accent-purple);
    box-shadow: 0 0 0 4px var(--akemi-accent-purple-glow);
}

/* Category Section */
.category-section {
    margin-bottom: 40px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--akemi-border);
}

.category-header i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    color: var(--akemi-accent-purple);
    font-size: 1.1rem;
}

.category-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--akemi-text-primary);
    margin: 0;
}

/* Command Items */
.commands-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.command-item {
    display: flex;
    flex-direction: column;
    background: var(--akemi-bg-card);
    border: 1px solid var(--akemi-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.command-item:hover {
    border-color: var(--akemi-border-light);
}

.command-item.expanded {
    border-color: var(--akemi-accent-purple);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

.command-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.command-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.command-name {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--akemi-accent-purple);
    min-width: 180px;
}

.command-dash {
    color: var(--akemi-text-muted);
    margin: 0 16px;
}

.command-description {
    color: var(--akemi-text-secondary);
    font-size: 0.9rem;
    flex: 1;
}

.command-header i.fa-chevron-down {
    color: var(--akemi-text-muted);
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.command-item.expanded .command-header i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--akemi-accent-purple);
}

/* Command Details (Expandable) */
.command-details {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid var(--akemi-border);
    background: rgba(0, 0, 0, 0.2);
}

.command-item.expanded .command-details {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.command-details > div {
    padding-top: 16px;
}

.command-details h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--akemi-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.command-details code {
    display: inline-block;
    background: var(--akemi-bg-primary);
    padding: 8px 14px;
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.875rem;
    color: var(--akemi-text-primary);
    border: 1px solid var(--akemi-border);
}

.command-permissions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.permission-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--akemi-accent-purple);
}

.command-examples code {
    display: block;
    margin-bottom: 6px;
}

.command-examples code:last-child {
    margin-bottom: 0;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--akemi-text-muted);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--akemi-border-light);
}

.no-results h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--akemi-text-secondary);
    margin-bottom: 8px;
}

.no-results p {
    margin: 0;
}

/* ============================================
   COMMANDS PAGE RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .commands-page {
        grid-template-columns: 1fr;
    }

    .commands-sidebar {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--akemi-border);
    }

    .commands-main {
        grid-column: 1;
        padding: 24px 20px;
    }

    .command-name {
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .commands-sidebar {
        padding: 20px;
    }

    .category-list li a {
        padding: 10px 12px;
    }

    .commands-main {
        padding: 20px 16px;
    }

    .command-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .command-name {
        min-width: auto;
        width: 100%;
    }

    .command-dash {
        display: none;
    }

    .command-description {
        width: 100%;
        order: 3;
    }

    .command-header i.fa-chevron-down {
        position: absolute;
        right: 20px;
        top: 18px;
    }

    .command-header {
        position: relative;
        padding-right: 40px;
    }

    .info-bar {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .commands-sidebar {
        padding: 16px;
    }

    .sidebar-header h2 {
        font-size: 1.25rem;
    }

    .category-list li a {
        padding: 10px;
        font-size: 0.85rem;
    }

    .commands-main {
        padding: 16px 12px;
    }

    .command-item {
        border-radius: 10px;
    }

    .command-header {
        padding: 14px 16px;
    }

    .command-name {
        font-size: 0.9rem;
    }

    .command-description {
        font-size: 0.85rem;
    }

    .command-details {
        padding: 0 16px 16px;
    }

    .command-details code {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* ============================================
   COMMANDS PAGE - ALTERNATE ELEMENT STYLES
   (For compatibility with different HTML structures)
   ============================================ */

/* Category Item (li-based instead of a-based) */
.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--akemi-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    list-style: none;
}

.category-item:hover {
    background: var(--akemi-bg-card);
    color: var(--akemi-text-primary);
}

.category-item.active {
    background: rgba(139, 92, 246, 0.15);
    color: var(--akemi-accent-purple);
}

.category-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.category-item.active .category-count {
    background: var(--akemi-accent-purple);
    color: white;
}

/* Commands Info Bar (alternate class name) */
.commands-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    margin-bottom: 24px;
}

.commands-info-bar .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.commands-info-bar .info-item i {
    color: var(--akemi-accent-purple);
    font-size: 1rem;
}

.commands-info-bar .info-item span {
    color: var(--akemi-text-secondary);
    font-size: 0.9rem;
}

.commands-info-bar code {
    background: var(--akemi-bg-card);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--akemi-accent-purple);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.85rem;
}

/* Commands Search Bar (alternate class name) */
.commands-search-bar {
    position: relative;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
}

.commands-search-bar i.fa-search {
    position: absolute;
    left: 20px;
    color: var(--akemi-text-muted);
    font-size: 1rem;
    pointer-events: none;
}

.commands-search-bar input {
    width: 100%;
    padding: 16px 50px 16px 50px;
    background: var(--akemi-bg-card);
    border: 1px solid var(--akemi-border);
    border-radius: 14px;
    color: var(--akemi-text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.commands-search-bar input::placeholder {
    color: var(--akemi-text-muted);
}

.commands-search-bar input:focus {
    outline: none;
    border-color: var(--akemi-accent-purple);
    box-shadow: 0 0 0 4px var(--akemi-accent-purple-glow);
}

.commands-search-bar .clear-search {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--akemi-text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.commands-search-bar .clear-search:hover {
    color: var(--akemi-text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Sidebar Title */
.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--akemi-text-primary);
    margin-bottom: 8px;
}

/* Category Nav */
.category-nav {
    margin-top: 8px;
}

/* Responsive adjustments for alternate elements */
@media (max-width: 768px) {
    .commands-info-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .commands-info-bar .info-item {
        justify-content: center;
    }

    .category-item {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .category-item {
        padding: 10px;
        font-size: 0.85rem;
    }

    .commands-search-bar input {
        padding: 14px 45px 14px 45px;
        font-size: 0.9rem;
    }
}
