@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
    --bg-deep: #000000;
    --bg-glass: rgba(0, 0, 0, 0.6);
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-glass-hover: rgba(255, 255, 255, 0.4);
    
    --primary: #ffffff;
    --secondary: #cccccc;
    --accent: #999999;
    
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-deep);
}

body {
    background-color: transparent;
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    z-index: 0;
}

/* --- Atmospheric Orbs --- */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.4;
    animation: pulseOrb 10s infinite alternate;
}

body::before {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

body::after {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    animation-delay: -5s;
}

@keyframes pulseOrb {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    100% { transform: scale(1.2) translate(50px, 50px); opacity: 0.5; }
}

/* --- Global Elements --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary), var(--primary), var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientFlow 5s ease infinite;
    display: inline-block;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 140px 0;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: -1px;
}

/* --- Pill Nav (Floating Island) --- */
.pill-nav-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 800px;
    display: flex;
    justify-content: center;
}

.pill-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    padding: 8px 12px 8px 24px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pill-nav:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.1);
}

.pill-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pill-logo img {
    height: 56px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.pill-logo span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
}

.pill-links {
    display: flex;
    gap: 24px;
}

.pill-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.pill-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.pill-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- Magnetic / Glow Buttons --- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    z-index: 1;
}

.btn-primary {
    background: var(--text-main);
    color: #000;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: var(--text-main);
    z-index: -1;
    transition: inset 0.3s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 300% 100%;
    border-radius: inherit;
    z-index: -2;
    animation: btnGlow 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover::before {
    background: var(--text-main);
}

.btn-primary:hover::after {
    opacity: 0;
}

@keyframes btnGlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 300% 0%; }
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.sys-tag {
    font-family: var(--font-mono);
    color: var(--secondary);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 100px;
    background: rgba(0, 229, 255, 0.05);
}

.lang-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-huge-text {
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 32px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.hero-huge-text.typing::after {
    content: '|';
    animation: blink 0.7s infinite;
    margin-left: 5px;
    color: var(--secondary);
    vertical-align: middle;
}

/* --- Bento Box Grid (Features) --- */


.bento-item {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.bento-item:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: auto;
    transition: all 0.3s ease;
}

.bento-item:hover .bento-icon {
    background: var(--text-main);
    color: #000;
    transform: scale(1.1);
}

.bento-item h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Specific Bento Sizes */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-large .bento-icon {
    width: 80px;
    height: 80px;
    font-size: 32px;
}

.bento-large h3 {
    font-size: 2.5rem;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

/* --- Swiper 3D Gallery --- */
.gallery-3d-wrapper {
    width: 100%;
    padding: 60px 0;
}

.swiper-container-3d {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-container-3d .swiper-slide {
    width: 650px;
    max-width: 80vw;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible;
}

.swiper-container-3d .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    pointer-events: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.swiper-slide-shadow-left,
.swiper-slide-shadow-right,
.swiper-slide-shadow-top,
.swiper-slide-shadow-bottom,
.swiper-slide-shadow-coverflow {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    background: none !important;
}

/* --- Showcase & Discord Glass Panels --- */
.glass-panel {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.showcase-video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.showcase-video iframe {
    width: 100%;
    height: 100%;
}

.discord-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* --- Footer --- */
.footer-extreme {
    padding: 80px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 100px;
}

.footer-logo {
    width: 60px;
    opacity: 0.3;
    margin-bottom: 20px;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-text {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    
    .bento-wide { grid-column: span 2; }
    .swiper-container-3d .swiper-slide { width: 500px; height: 281px; }
}

@media (max-width: 900px) {
    .pill-links { display: none; }
    .showcase-grid { grid-template-columns: 1fr; }
    .hero-huge-text { font-size: 3.5rem; }
}

@media (max-width: 600px) {
    
    .bento-large, .bento-wide, .bento-tall { grid-column: span 1; grid-row: span 1; }
    .swiper-container-3d .swiper-slide { width: 300px; height: 168px; }
    .pill-nav { padding: 8px 16px; }
    .bento-item { padding: 24px; }
    .section-title { font-size: 2.5rem; }
}

/* Added for 2-top 3-bottom bento layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
}
.bento-2-col {
    grid-column: span 3;
}
.bento-3-col {
    grid-column: span 2;
}
.bento-icon-active {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}
@media (max-width: 600px) {
    .bento-2-col, .bento-3-col {
        grid-column: span 6;
    }
}

/* --- Pricing Plans --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.plan-card {
    padding: 30px;
    justify-content: space-between;
}
.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0px;
}
.plan-duration {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}
.plan-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 20px 0;
    width: 100%;
}
.plan-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}
.plan-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}
.plan-features li {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}
.plan-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.plan-price h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-align: left;
}
.plan-price p {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
}
.plan-action {
    display: flex;
    align-items: center;
    gap: 15px;
}
.plan-action-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; }
}


.lang-icon { cursor: pointer; transition: transform 0.2s; }
.lang-icon:hover { transform: scale(1.1); }

.typed-cursor { color: var(--secondary); margin-left: 5px; font-weight: bold; }


@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-desc { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 48px; z-index: 2; position: relative; text-align: left; }
.hero-huge-text span { display: inline; }
.caos-gradient { color: #ffffff; text-shadow: 0 0 15px rgba(255, 255, 255, 0.3); }



.hero-extreme { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-top: 100px; position: relative; }
.hero-extreme .container { display: flex; flex-direction: column; align-items: center; text-align: center; }

