/* 🛡️ OmniGuard Cyber-Aesthetic Stylesheet */

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

:root {
    --bg-dark: #050a12;
    --bg-card: rgba(8, 16, 30, 0.75);
    --bg-card-hover: rgba(12, 28, 50, 0.85);
    --neon-cyan: #00f0ff;
    --neon-blue: #0072ff;
    --neon-purple: #bd00ff;
    --text-primary: #ffffff;
    --text-secondary: #8c9ba5;
    --text-muted: #4e5d68;
    --border-color: rgba(0, 240, 255, 0.15);
    --border-hover: rgba(0, 240, 255, 0.4);
    --font-header: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --success: #00ff66;
    --warning: #ffb700;
    --danger: #ff0055;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Canvas Particles & Traces */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.35;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Glassmorphism Panel Utilities */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-panel:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px 0 rgba(0, 240, 255, 0.1);
}

/* Navigation Menu */
header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 10, 18, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: 40px;
    filter: drop-shadow(0 0 8px var(--neon-cyan));
    transition: transform 0.5s ease;
}

.logo-link:hover .logo-img {
    transform: rotate(360deg);
}

.logo-text {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
    background: linear-gradient(45deg, #fff, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-header);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--neon-cyan);
    color: #020710;
    font-weight: 700;
    border: none;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    background: #00d4ff;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
    transform: translateY(-2px);
}

.btn-discord {
    background: #5865F2;
    color: #ffffff;
    font-weight: 700;
    border: none;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: #4752c4;
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--neon-cyan);
    box-shadow: inset 0 0 5px rgba(0, 240, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    transform: translateY(-2px);
}

.btn-danger {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--danger);
}

.btn-danger:hover {
    background: rgba(255, 0, 85, 0.1);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.3);
}

/* Profile Section on Navbar */
.nav-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 5px var(--neon-cyan);
}

.username {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        margin: 2rem auto;
    }
    .hero-content {
        max-width: 100% !important;
    }
}

.hero-content {
    max-width: 60%;
}

.hero-tagline {
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.hero-title {
    font-family: var(--font-header);
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, #fff 40%, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .hero-actions {
        justify-content: center;
    }
}

.hero-showcase {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-logo-large {
    width: 320px;
    height: 320px;
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
    animation: float 6s ease-in-out infinite, pulse 8s ease-in-out infinite;
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 50px rgba(0, 240, 255, 0.6)); }
}

/* Features Grid Section */
.section-title {
    text-align: center;
    font-family: var(--font-header);
    font-size: 2.2rem;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
    border-radius: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

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

.feature-card {
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.feature-card h3 {
    font-family: var(--font-header);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

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

/* Stats Section */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem auto;
    text-align: center;
}

.stat-item h2 {
    font-family: var(--font-header);
    font-size: 2.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.stat-item p {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
}

.pricing-card.premium {
    border-color: var(--neon-cyan);
    box-shadow: 0 8px 32px 0 rgba(0, 240, 255, 0.15);
}

.premium-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--neon-cyan);
    color: #000;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--neon-cyan);
}

.price {
    font-size: 3rem;
    font-family: var(--font-header);
    font-weight: 900;
    margin: 1.5rem 0;
    color: var(--text-primary);
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--neon-cyan);
}

/* Dashboard Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box input {
    width: 100%;
    background: rgba(8, 16, 30, 0.5);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

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

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

.guild-card {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 220px;
}

.guild-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.guild-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #1a2c42;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    background-size: cover;
    background-position: center;
}

.guild-details {
    flex: 1;
    overflow: hidden;
}

.guild-name {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.guild-status {
    font-size: 0.8rem;
    font-family: var(--font-header);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.status-active {
    color: var(--success);
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.3);
}

.status-inactive {
    color: var(--text-secondary);
}

.guild-expiry {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.guild-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.guild-actions .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 0.6rem;
}

/* Success Page Styles */
.success-card {
    max-width: 600px;
    margin: 4rem auto;
    padding: 4rem 3rem;
    text-align: center;
}

.success-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--success);
    color: var(--success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.success-card h1 {
    font-family: var(--font-header);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.success-card p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Footer styling */
footer {
    width: 100%;
    margin-top: auto;
    padding: 3rem 2rem 2rem 2rem;
    border-top: 1px solid rgba(0, 240, 255, 0.05);
    background: rgba(5, 10, 18, 0.95);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo img {
    height: 24px;
    width: 24px;
    opacity: 0.5;
}

.footer-logo span {
    font-family: var(--font-header);
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
