/* 
 * Vaeltharis Bot Landing Page Styles
 * Modern, MEE6-inspired, high-end feel.
 */

:root {
    --bg-dark: #0a0e1a;
    --bg-card: #0f1525;
    --bg-surface: #141c30;
    --primary: #22d3ee;
    --primary-dim: rgba(34, 211, 238, 0.1);
    --secondary: #a78bfa;
    --secondary-dim: rgba(167, 139, 250, 0.1);
    --gold: #fbbf24;
    --gold-dim: rgba(251, 191, 36, 0.1);
    --red: #f87171;
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-alt: 'Outfit', sans-serif;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: calc(var(--nav-height) + 20px);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Navigation --- */
.navbar {
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-alt);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.brand-logo {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-login {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: 50px;
    color: #fff !important;
}

.btn-login:hover {
    border-color: var(--primary);
    background: var(--primary-dim);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding: calc(var(--nav-height) + 60px) 24px 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 10%, #111827 0%, #0a0e1a 100%), 
                linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px), 
                linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    overflow: hidden;
}

.hero-container.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    grid-template-columns: 1fr;
    max-width: 1000px;
}

.hero-container.centered .hero-content {
    align-items: center;
}

.hero-container.centered .hero-content h1 {
    font-size: 5rem;
    max-width: 900px;
}

.hero-container.centered .hero-content p {
    margin-bottom: 20px;
}

/* --- Hero Info Grid --- */
.hero-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
    width: 100%;
}

.info-card {
    background: rgba(15, 21, 37, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(15, 21, 37, 0.7);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bg-cyan-dim { background: rgba(34, 211, 238, 0.1); color: var(--primary); }
.bg-violet-dim { background: rgba(167, 139, 250, 0.1); color: var(--secondary); }
.bg-gold-dim { background: rgba(251, 191, 36, 0.1); color: var(--gold); }

.info-text h3 {
    font-family: var(--font-alt);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    pointer-events: none;
}

.hero-glow-1 {
    background: var(--primary);
    top: -200px;
    left: 20%;
}

.hero-glow-2 {
    background: var(--secondary);
    bottom: -100px;
    right: 15%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-cols: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge {
    align-self: flex-start;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--primary-dim);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.0;
    font-family: var(--font-alt);
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-line-2 {
    display: block;
    font-size: 3.2rem;
    margin-top: 10px;
    color: var(--text-white);
}

.cursor {
    display: inline-block;
    color: var(--primary);
    margin-left: 2px;
    animation: blink 0.8s infinite;
    font-weight: 300;
    vertical-align: middle;
}

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

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

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 580px;
}

.hero-actions {
    margin-top: 16px;
    display: flex;
    gap: 16px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
}

.btn-secondary {
    background: var(--bg-card);
    color: #fff;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--primary-dim);
}

/* --- Stats Bar --- */
.stats-bar {
    background: rgba(15, 21, 37, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
    margin-bottom: 40px;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item h3 {
    font-family: var(--font-alt);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* --- Features Section --- */
.features {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: var(--font-alt);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Feature Toggle --- */
.feature-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.toggle-control {
    display: inline-flex;
    background: var(--bg-surface);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.toggle-btn {
    padding: 12px 28px;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.feature-card.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.5s ease forwards;
}

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

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    background: var(--primary-dim);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.bg-cyan { background: #22d3ee; color: #0a0e1a; }
.bg-violet { background: #a78bfa; color: #0a0e1a; }
.bg-gold { background: #fbbf24; color: #0a0e1a; }
.bg-red { background: #f87171; color: #0a0e1a; }

.feature-card h3 {
    font-family: var(--font-alt);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* --- Discord Preview --- */
.discord-preview {
    padding: 100px 24px;
    background: #080b13;
}

.preview-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.preview-text h2 {
    font-family: var(--font-alt);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.preview-text p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #fff;
}

.check-list li i {
    color: var(--primary);
    font-size: 1.4rem;
}

.preview-window {
    background: #2b2d31;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    border: 1px solid rgba(0,0,0,0.2);
}

.window-header {
    background: #1e1f22;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dot { width: 12px; height: 12px; border-radius: 50%; opacity: 0.5; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.window-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chat-msg, .bot-msg {
    display: flex;
    gap: 16px;
}

.avatar { width: 44px; height: 44px; border-radius: 50%; background: #313338; }

.msg-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user { font-weight: 700; color: #fff; font-size: 0.95rem; }
.command { color: #00a8fc; }

.user.bot { font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.tag { font-size: 0.65rem; background: var(--primary); color: #000; padding: 1px 4px; border-radius: 3px; font-weight: 900; }

.embed {
    background: #232428;
    border-radius: 4px;
    display: flex;
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

.embed-border { width: 4px; background: var(--primary); }
.embed-inner { padding: 16px; flex: 1; }
.embed-inner h4 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.embed-inner p { font-size: 0.9rem; color: #dbdee1; margin-bottom: 12px; }

.embed-stats { display: flex; gap: 20px; }
.e-stat { font-size: 0.8rem; color: #dbdee1; font-weight: 700; }
.e-stat span { color: var(--text-muted); text-transform: uppercase; font-size: 0.7rem; margin-right: 4px; }

.msg-btns { display: flex; gap: 8px; margin-top: 8px; }
.msg-btn { 
    padding: 6px 16px; 
    border-radius: 4px; 
    font-size: 0.85rem; 
    font-weight: 600; 
    cursor: default;
}
.msg-btn.blue { background: #5865f2; color: #fff; }
.msg-btn.gray { background: #4e5058; color: #fff; }

/* --- CTA Box --- */
.cta-final {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, #1e1b4b 100%);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
}

.cta-box h2 {
    font-family: var(--font-alt);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

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

.btn-link {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    padding: 18px 30px;
}

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

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border);
    padding: 80px 24px 40px;
    background: #05070c;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 60px;
}

.footer-brand p {
    margin-top: 20px;
    color: var(--text-muted);
    font-weight: 600;
}

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

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Docs Section --- */
.docs-section {
    padding: 120px 24px;
    background: #080b13;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

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

.docs-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-card:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--primary-dim) 100%);
    transform: translateY(-5px);
}

.docs-icon {
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.docs-text h3 {
    font-family: var(--font-alt);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.docs-text p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.docs-text code {
    background: rgba(0,0,0,0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--primary);
    font-size: 0.9em;
}

/* --- Hero Image Floating Effect --- */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.floating-img {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.visual-card {
    position: absolute;
    background: rgba(15, 21, 37, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: float-alt 8s ease-in-out infinite;
}

.card-1 { top: 10%; right: -10%; }
.card-2 { bottom: 20%; left: -10%; animation-delay: 1s; }

.visual-card i { color: var(--primary); font-size: 1.4rem; }

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

@keyframes float-alt {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container, .preview-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { align-items: center; }
    .hero-content h1 { font-size: 3.5rem; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 400px; }
    .stats-container { flex-wrap: wrap; gap: 32px; }
    .stat-divider { display: none; }
    .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 2.8rem; }
}
