:root {
    --bg-color: #050505;
    --bg-card: rgba(10, 10, 10, 0.4);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.5);
    --accent-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent: #0071e3;
    --accent-blue: #0071e3;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.1;
    z-index: 9999;
}

.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.blob-1, .blob-2, .blob-3 {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    animation: blob 10s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%;
    left: 30%;
    width: 500px;
    height: 500px;
    background: #2997ff;
    animation-delay: 0s;
}

.blob-2 {
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: #a855f7;
    animation-delay: 2.5s;
}

.blob-3 {
    bottom: 10%;
    left: 20%;
    width: 450px;
    height: 450px;
    background: #06b6d4;
    animation-delay: 5s;
}

@keyframes blob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2.5rem 0;
    z-index: 1000;
    transition: all 0.4s var(--transition);
}

.navbar.scrolled {
    padding: 1.2rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 4px;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: white;
    color: black !important;
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: transform 0.3s var(--transition) !important;
    border: none;
    cursor: pointer;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--glass-border);
    transition: all 0.5s var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.text-apple-subtext {
    color: var(--text-secondary);
}

.text-apple-blue {
    color: var(--accent-blue);
}

.bg-apple-blue {
    background-color: var(--accent-blue);
}

.cloud-dashboard-container {
    max-width: 1200px;
    margin: 6.5rem auto 5rem;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-header {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.dashboard-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.user-profile-summary {
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 1;
}

.profile-avatar-wrapper {
    position: relative;
}

.profile-avatar {
    width: 85px;
    height: 85px;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    display: block;
}

.status-indicator {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #000;
}

.status-indicator.online { background: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }

.user-info .welcome-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin: 0;
    line-height: 1.2;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.6rem;
}

.role-badge {
    background: rgba(41, 151, 255, 0.1);
    color: var(--accent);
    border: 1px solid rgba(41, 151, 255, 0.2);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.logout-link {
    color: #ff4757;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.logout-link:hover { opacity: 1; }

.header-stats {
    display: flex;
    gap: 2.5rem;
    z-index: 1;
    margin-left: 2rem;
}

.stat-mini {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.dashboard-nav {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 0.5rem;
}

.nav-scroll-wrapper {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.6rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 18px;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-item i {
    font-size: 1rem;
    transition: transform 0.3s;
}

.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.nav-item:hover i { transform: translateY(-2px); }

.nav-item.active {
    background: rgba(41, 151, 255, 0.1);
    color: var(--accent);
    box-shadow: inset 0 0 0 1px rgba(41, 151, 255, 0.1);
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0.5rem;
}

.admin-item { color: #8a8a8a; }
.admin-item:hover { color: var(--accent); }

.dashboard-content-area {
    min-height: 600px;
    margin-top: 0.5rem;
}

@media (max-width: 900px) {
    .dashboard-header {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }
    .user-profile-summary { flex-direction: column; gap: 1rem; }
    .header-stats { width: 100%; justify-content: center; gap: 4rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.5rem; }
    .stat-mini { align-items: center; }
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    position: relative;
}

.her.docs-main h2 {
    text-align: center;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 150px 20px;
}

.auth-card {
    max-width: 450px;
    width: 100%;
    padding: 3.5rem;
}

.form-group {
    margin-bottom: 2rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    opacity: 0.6;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    opacity: 0.4;
}

.input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.1rem 1.2rem 1.1rem 3rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s var(--transition);
}

.input-field:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(41, 151, 255, 0.1);
}

.auth-footer {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.status-box {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid transparent;
}

.status-box.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-box.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-box.loading {
    background: rgba(41, 151, 155, 0.1);
    border-color: rgba(41, 151, 155, 0.2);
    color: var(--accent);
}

.cloud-layout {
    min-height: 100vh;
    background: #000;
    position: relative;
    padding-bottom: 2rem;
    padding: 100px 20px 20px;
    gap: 20px;
}

.cloud-sidebar {
    width: 280px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.sidebar-header {
    padding: 3rem 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.sidebar-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    margin-bottom: 1.2rem;
    object-fit: cover;
    display: inline-block;
    box-shadow: 0 0 20px rgba(41, 151, 255, 0.2);
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.9rem 1.2rem;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.4s var(--transition);
    border: 1px solid transparent;
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    transform: translateX(5px);
}

.sidebar-link.active {
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(41, 151, 255, 0.3);
}

.sidebar-link.active i {
    color: #fff;
    opacity: 1;
}

.cloud-main {
    flex: 1;
    background: rgba(10, 10, 10, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cloud-content-header {
    padding: 1.8rem 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
}

.script-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 1.8rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.script-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(41, 151, 255, 0.08), transparent);
    pointer-events: none;
}

.script-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(41, 151, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.script-card img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.script-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.2em;
}

.glass-select:focus {
    border-color: var(--accent);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
}

.glass-select option {
    background: #0a0a0a;
    color: #fff;
}

.cloud-scroll-area {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.welcome-banner {
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.1), rgba(162, 89, 255, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 3.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.welcome-banner h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .cloud-layout {
        flex-direction: column;
        height: auto;
        padding-top: 120px;
    }
    .cloud-sidebar {
        width: 100%;
        height: auto;
    }
}

.cloud-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s var(--transition);
}

.cloud-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.cloud-table-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.cloud-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.cloud-table th {
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.cloud-table td {
    padding: 1.2rem 1.5rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.cloud-table tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.tab-content {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge {
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success { background: rgba(46, 213, 115, 0.1); color: #2ed573; border: 1px solid rgba(46, 213, 115, 0.2); }
.badge-warning { background: rgba(255, 165, 2, 0.1); color: #ffa502; border: 1px solid rgba(255, 165, 2, 0.2); }
.badge-danger { background: rgba(255, 71, 87, 0.1); color: #ff4757; border: 1px solid rgba(255, 71, 87, 0.2); }

#monaco-container {
    box-shadow: 0 0 0 1px var(--glass-border);
}

.code-field {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    resize: vertical;
}
.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 2;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    color: #22c55e;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.status-pill .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 10rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -6px;
    z-index: 10;
    text-transform: uppercase;
    color: #fff;
}

.text-gradient-animated {
    background: linear-gradient(to right, #ffffff 20%, #888888 40%, #ffffff 60%, #888888 80%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer 4s linear infinite;
    display: inline-block;
}

@keyframes text-shimmer {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #000;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.about {
    padding: 15rem 2rem;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.02), transparent);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.about-text p {
    font-size: 1.6rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.features {
    padding: 10rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    padding: 3.5rem;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(50px) saturate(120%);
    transition: all 0.5s var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(40, 40, 45, 0.5);
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

.cta-section {
    padding: 10rem 2rem;
    display: flex;
    justify-content: center;
}

.cta-content {
    width: 100%;
    max-width: 1000px;
    padding: 8rem 4rem;
    text-align: center;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    margin: 0;
    line-height: 1.1;
}

.cta-content p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-discord {
    background: #5865F2;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-5px);
}

.btn.large {
    font-size: 1.2rem;
    padding: 1.5rem 4rem;
}

footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.reveal-text {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    animation: reveal 1.5s var(--transition) forwards;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--transition);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.floating-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    animation: rotate 60s linear infinite;
}

.floating-ring.second {
    width: 1200px;
    height: 1200px;
    border: 1px solid rgba(255, 255, 255, 0.01);
    animation: rotate 90s linear infinite reverse;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4rem;
    z-index: 10;
    animation: modalPop 0.6s var(--transition);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover { color: #fff; }

.modal-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.choice-card {
    background: rgba(40, 40, 40, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.card-header h3 { font-size: 1.5rem; font-weight: 700; }

.status-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #22c55e;
    padding: 0.3rem 0.8rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 100px;
}

.status-tag.soon {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.card-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn.full { width: 100%; text-align: center; }

.executor-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.exec-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: var(--text-secondary);
}

.exec-option.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.badge {
    font-size: 0.7rem;
    background: var(--glass-border);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.exec-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

.legal-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 6rem;
    backdrop-filter: blur(50px);
    margin-top: 4rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.legal-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .legal-container { padding: 3rem 2rem; }
    .hero h1 { font-size: 6rem; letter-spacing: -4px; }
    .choice-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 3rem 1.5rem; }
    .modal-title { font-size: 2.2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .about-text h2 { font-size: 2.5rem; }
    .about-text p { font-size: 1.2rem; }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s var(--transition);
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        display: flex; 
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3.5rem;
        z-index: 1050;
        opacity: 0;
        pointer-events: none;
        transition: all 0.5s var(--transition);
        transform: translateY(-20px);
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 2rem;
        font-family: var(--font-heading);
        font-weight: 700;
        color: #fff;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s var(--transition);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.4s; }

    .hero h1 { font-size: 4.5rem; letter-spacing: -3px; }
    .hero-subtitle { font-size: 1.1rem; padding: 0 1rem; }
    .cta-content h2 { font-size: 3rem; }
    .cta-content { padding: 5rem 1.5rem; }
    
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 3.5rem; letter-spacing: -2px; }
    .hero-subtitle { font-size: 1rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 3rem; }
    .logo { font-size: 1.2rem; }
    .btn.large { padding: 1.2rem 2.5rem; font-size: 1rem; }
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 6rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .download-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        padding: 0 1rem;
    }
}

.docs-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    border-left: 2px solid transparent;
    transition: all 0.3s var(--transition);
    border-radius: 0 10px 10px 0;
    display: block;
}

.docs-nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.docs-nav-link.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: rgba(41, 151, 255, 0.05);
    font-weight: 600;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent, rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}